|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.common.spec.syntactical.CommonSyntacticalAnalyzer
public class CommonSyntacticalAnalyzer
Created on
21/05/2004
Field Summary | |
---|---|
static int |
MODE_NORMAL
|
static int |
MODE_READLINE
|
static int |
MODE_READSTRING
|
Constructor Summary | |
---|---|
CommonSyntacticalAnalyzer(LexicalAnalyzer lexical,
Grammar grammar,
SemanticAnalyzer semantic)
The constructor. |
Method Summary | |
---|---|
void |
startCompilation()
This is the "main" method then it will start the compilation process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MODE_NORMAL
public static final int MODE_READLINE
public static final int MODE_READSTRING
Constructor Detail |
---|
public CommonSyntacticalAnalyzer(LexicalAnalyzer lexical, Grammar grammar, SemanticAnalyzer semantic)
lexical
- A lexical analyzer from where will be gotten the tokens
from source.grammar
- The grammar entity that knows validat the language
sources.semantic
- A semantic analyzer that will handle the execution of the
semantic actions found as special token at grammar.Method Detail |
---|
public void startCompilation() throws SyntacticalException
SyntacticalAnalyzer
startCompilation
in interface SyntacticalAnalyzer
SyntacticalException
SyntacticalAnalyzer.startCompilation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |