Package org.extendj.neobeaver
Interface Symbol
-
- All Known Implementing Classes:
IdSymbol,ListComponent,NamedToken,Nonterminal,OptionalComponent
public interface Symbol
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringactionName()java.util.Collection<? extends Rule>extraRules()intid()booleanisNamed()booleanisTerminal()java.lang.Stringname()Parser.SourcePositionpos()Get the source position where this symbol is declared.voidsetPosition(Parser.SourcePosition position)
-
-
-
Method Detail
-
actionName
java.lang.String actionName()
-
isTerminal
boolean isTerminal()
-
id
int id()
-
isNamed
boolean isNamed()
-
name
java.lang.String name()
-
extraRules
java.util.Collection<? extends Rule> extraRules()
-
pos
Parser.SourcePosition pos()
Get the source position where this symbol is declared.
-
setPosition
void setPosition(Parser.SourcePosition position)
-
-