Class WalkerFactoryBase
- java.lang.Object
-
- ru.ispras.microtesk.translator.nml.antlrex.WalkerFactoryBase
-
- All Implemented Interfaces:
WalkerContext
- Direct Known Subclasses:
ExprFactory
,LetFactory
,LocationFactory
,MemoryFactory
,PrimitiveFactory
,StatementFactory
,TypeFactory
public class WalkerFactoryBase extends java.lang.Object implements WalkerContext
-
-
Constructor Summary
Constructors Constructor Description WalkerFactoryBase(WalkerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ir
getIr()
ErrorReporter
getReporter()
SymbolTable
getSymbols()
java.util.Map<java.lang.String,Primitive>
getThisArgs()
protected void
raiseError(Where where, java.lang.String what)
protected void
raiseError(Where where, ISemanticError what)
-
-
-
Constructor Detail
-
WalkerFactoryBase
public WalkerFactoryBase(WalkerContext context)
-
-
Method Detail
-
getReporter
public ErrorReporter getReporter()
- Specified by:
getReporter
in interfaceWalkerContext
-
getSymbols
public SymbolTable getSymbols()
- Specified by:
getSymbols
in interfaceWalkerContext
-
getIr
public Ir getIr()
- Specified by:
getIr
in interfaceWalkerContext
-
getThisArgs
public java.util.Map<java.lang.String,Primitive> getThisArgs()
- Specified by:
getThisArgs
in interfaceWalkerContext
-
raiseError
protected final void raiseError(Where where, java.lang.String what) throws SemanticException
- Throws:
SemanticException
-
raiseError
protected final void raiseError(Where where, ISemanticError what) throws SemanticException
- Throws:
SemanticException
-
-