public abstract class AstParameter extends AstRoot
| Constructor and Description |
|---|
AstParameter() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
columns(java.lang.String[] names) |
java.lang.String |
description()
Return the detailed description (help) for what this language construct
does or how it is supposed to be used.
|
java.lang.String |
example()
Return an example of how this Ast construct ought to be used.
|
java.lang.String |
toJavaString() |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSONpublic java.lang.String example()
AstRootReturn an example of how this Ast construct ought to be used. This
method is used to build documentation for the Rapids language. It is
different from AstRoot.str(), in particular it must provide a valid
example even in a static context. For example, an AstStr may
return "Hello, world!" as an example. At the same time,
for different AstPrimitives this method should generally provide
a typical example of how that function is to be used.
Return null to indicate that the object should not be
included in the documentation.
public java.lang.String description()
AstRootReturn the detailed description (help) for what this language construct
does or how it is supposed to be used. This method is used in conjunction
with AstRoot.example() to build the documentation of the Rapids
language.
If you need to include any formatting, then please use Markup language. Although it is up to the client to support it, Markup is one of the simplest and easiest alternatives.
Return null to indicate that the object should not be
included in the documentation.
description in class AstRootpublic java.lang.String toJavaString()
public int[] columns(java.lang.String[] names)