public final class BasicSyntaxAnalyzer extends Object implements SyntaxAnalyzer
Constructor and Description |
---|
BasicSyntaxAnalyzer() |
Modifier and Type | Method and Description |
---|---|
BuildableProgram |
analyze()
Perform the syntax analysis.
|
Factory |
getFactory() |
LexicalElement |
getLexicalElement() |
void |
setFactory(Factory factory)
When a factory creates an instance of a class implementing this interface
this method is called to register the factory that created the instance.
|
void |
setLexicalElement(LexicalElement lexicalElement) |
public Factory getFactory()
public void setFactory(Factory factory)
FactoryManaged
setFactory
in interface FactoryManaged
factory
- the factory that manages the instance.public LexicalElement getLexicalElement()
public void setLexicalElement(LexicalElement lexicalElement)
public BuildableProgram analyze() throws AnalysisException
SyntaxAnalyzer
analyze
in interface SyntaxAnalyzer
AnalysisException
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.