| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String[] | |
| public static final BitSet | |
| protected ASTExpr | |
| protected StringTemplateWriter | |
| protected StringTemplate |
| Access | Constructor and Description |
|---|---|
| public | ActionEvaluator(StringTemplate self, ASTExpr chunk, StringTemplateWriter out)
Create an evaluator using attributes from self |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final int | |
| public final Map | argList(AST _t, StringTemplate embedded, Map<K, V> initialContext)
self is assumed to be the enclosing context as foo(x=y) must find y in the template that encloses the ref to foo(x=y). |
| public final void | |
| public final Object | |
| public final Object | |
| public final Object | |
| public final Object | |
| public final boolean | |
| public final Object | |
| private static final long[] | |
| public void | reportError(RecognitionException e)
Overrides antlr. |
| public final Object | |
| public final void | |
| public final void | |
| public final Object | templateApplication(AST _t)
Apply template(s) to an attribute; can be applied to another apply result. |
| public final Object |
| _tokenNames | back to summary |
|---|---|
| public static final String[] _tokenNames | |
| _tokenSet_0 | back to summary |
|---|---|
| public static final BitSet _tokenSet_0 | |
| chunk | back to summary |
|---|---|
| protected ASTExpr chunk | |
| out | back to summary |
|---|---|
| protected StringTemplateWriter out | |
| self | back to summary |
|---|---|
| protected StringTemplate self | |
| ActionEvaluator | back to summary |
|---|---|
| public ActionEvaluator(StringTemplate self, ASTExpr chunk, StringTemplateWriter out) Create an evaluator using attributes from self | |
| ActionEvaluator | back to summary |
|---|---|
| public ActionEvaluator() | |
| action | back to summary |
|---|---|
| public final int action(AST _t) throws RecognitionException | |
| argList | back to summary |
|---|---|
| public final Map self is assumed to be the enclosing context as foo(x=y) must find y in the template that encloses the ref to foo(x=y). We must pass in the embedded template (the one invoked) so we can check formal args in rawSetArgumentAttribute. | |
| argumentAssignment | back to summary |
|---|---|
| public final void argumentAssignment(AST _t, StringTemplate embedded, Map<K, V> argumentContext) throws RecognitionException | |
| attribute | back to summary |
|---|---|
| public final Object attribute(AST _t) throws RecognitionException | |
| expr | back to summary |
|---|---|
| public final Object expr(AST _t) throws RecognitionException | |
| function | back to summary |
|---|---|
| public final Object function(AST _t) throws RecognitionException | |
| ifAtom | back to summary |
|---|---|
| public final Object ifAtom(AST _t) throws RecognitionException | |
| ifCondition | back to summary |
|---|---|
| public final boolean ifCondition(AST _t) throws RecognitionException | |
| list | back to summary |
|---|---|
| public final Object list(AST _t) throws RecognitionException create a new list of expressions as a new multi-value attribute | |
| mk_tokenSet_0 | back to summary |
|---|---|
| private static final long[] mk_tokenSet_0() | |
| reportError | back to summary |
|---|---|
| public void reportError(RecognitionException e) Overrides antlr. Doc from antlr. Parser error-reporting function can be overridden in subclass | |
| singleFunctionArg | back to summary |
|---|---|
| public final Object singleFunctionArg(AST _t) throws RecognitionException | |
| singleTemplateArg | back to summary |
|---|---|
| public final void singleTemplateArg(AST _t, StringTemplate embedded, Map<K, V> argumentContext) throws RecognitionException | |
| template | back to summary |
|---|---|
| public final void template(AST _t, Vector<E> templatesToApply) throws RecognitionException | |
| templateApplication | back to summary |
|---|---|
| public final Object templateApplication(AST _t) throws RecognitionException Apply template(s) to an attribute; can be applied to another apply result. | |
| templateInclude | back to summary |
|---|---|
| public final Object templateInclude(AST _t) throws RecognitionException | |
| Access | Constructor and Description |
|---|---|
| public |
| NameValuePair | back to summary |
|---|---|
| public NameValuePair() | |