Uses of Class
org.ourgrid.common.spec.grammar.Symbol

Packages that use Symbol
org.ourgrid.common.spec.grammar   
org.ourgrid.common.spec.syntactical   
 

Uses of Symbol in org.ourgrid.common.spec.grammar
 

Fields in org.ourgrid.common.spec.grammar declared as Symbol
static Symbol Symbol.EMPTY
           
static Symbol Symbol.EOF
           
 

Methods in org.ourgrid.common.spec.grammar that return Symbol
 Symbol[] Rule.getBody()
          Gets the body of the rule.
 Symbol Grammar.getEndOfSourceSymbol()
          Defines the last symbol from source.
 Symbol CommonGrammar.getEndOfSourceSymbol()
           
 Symbol Rule.getHead()
          Gets the head of the rule.
 Symbol Grammar.getInitialSymbol()
          Returns the initial symbol of the grammar.
 Symbol CommonGrammar.getInitialSymbol()
           
 Symbol Grammar.getSymbol(java.lang.String symbolName)
          Gets the symbol represented by the symbolName
 Symbol CommonGrammar.getSymbol(java.lang.String symbolName)
           
 

Methods in org.ourgrid.common.spec.grammar with parameters of type Symbol
 void Grammar.addSymbol(Symbol symbol)
          Adds a symbol in the grammar.
 void CommonGrammar.addSymbol(Symbol symbol)
           
 Rule Grammar.getRule(Symbol stackTop, Symbol nextSymbol)
          At a syntactical compilation ( considering a predictor LL(n) grammar) this is one of the principal operations, that is: at one certain moment, where the next symbol from source and the stack top are non-terminals, it is necessary to know what rule from grammar has to be used to continue with the process.
 Rule CommonGrammar.getRule(Symbol stackTop, Symbol nextSymbol)
           
 

Constructors in org.ourgrid.common.spec.grammar with parameters of type Symbol
Rule(int id, Symbol head, Symbol[] body)
          Constructor
Rule(int id, Symbol head, Symbol[] body)
          Constructor
 

Uses of Symbol in org.ourgrid.common.spec.syntactical
 

Methods in org.ourgrid.common.spec.syntactical that return Symbol
 Symbol SyntacticalDerivationTree.pop()
          Pops (removes) the symbol at the top of the derivation stack.
 Symbol SyntacticalDerivationTree.top()
          Returns the symbol at the top of the derivation stack.
 

Constructors in org.ourgrid.common.spec.syntactical with parameters of type Symbol
SyntacticalDerivationTree(Symbol endOfSourceSymbol, Symbol initialSymbol)
          Initializes the stack that will control the derivation.