

Public Member Functions | |
| Object | getStart () |
| Object | getStop () |
Public Attributes | |
| Token | start |
| Token | stop |
Note text is not an actual property of the return value, it is computed from start and stop using the input stream's toString() method. I could add a ctor to this so that we can pass in and store the input stream, but I'm not sure we want to do that. It would seem to be undefined to get the .text property anyway if the rule matches tokens from multiple input streams.
I do not use getters for fields of objects that are used simply to group values such as this aggregate. The getters/setters are there to satisfy the superclass interface.
Definition at line 48 of file ParserRuleReturnScope.java.
| Object org.antlr.runtime.ParserRuleReturnScope.getStart | ( | ) |
Return the start token or tree
Reimplemented from org.antlr.runtime.RuleReturnScope.
Definition at line 50 of file ParserRuleReturnScope.java.
| Object org.antlr.runtime.ParserRuleReturnScope.getStop | ( | ) |
Return the stop token or tree
Reimplemented from org.antlr.runtime.RuleReturnScope.
Definition at line 51 of file ParserRuleReturnScope.java.
Definition at line 49 of file ParserRuleReturnScope.java.
Definition at line 49 of file ParserRuleReturnScope.java.
1.5.5