Class LocationFactory
- java.lang.Object
-
- ru.ispras.microtesk.translator.nml.antlrex.WalkerFactoryBase
-
- ru.ispras.microtesk.translator.nml.antlrex.LocationFactory
-
- All Implemented Interfaces:
WalkerContext
public final class LocationFactory extends WalkerFactoryBase
-
-
Constructor Summary
Constructors Constructor Description LocationFactory(WalkerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expr
bitfield(Where where, Expr variable, Expr pos)
Expr
bitfield(Where where, Expr variable, Expr from, Expr to)
Expr
location(Where where, java.lang.String name)
Expr
location(Where where, java.lang.String name, java.util.List<java.lang.String> fields)
Expr
location(Where where, java.lang.String name, Expr index, java.util.List<java.lang.String> fields)
Expr
location(Where where, Instance instance)
-
Methods inherited from class ru.ispras.microtesk.translator.nml.antlrex.WalkerFactoryBase
getIr, getReporter, getSymbols, getThisArgs, raiseError, raiseError
-
-
-
-
Constructor Detail
-
LocationFactory
public LocationFactory(WalkerContext context)
-
-
Method Detail
-
location
public Expr location(Where where, java.lang.String name) throws SemanticException
- Throws:
SemanticException
-
location
public Expr location(Where where, java.lang.String name, Expr index, java.util.List<java.lang.String> fields) throws SemanticException
- Throws:
SemanticException
-
location
public Expr location(Where where, java.lang.String name, java.util.List<java.lang.String> fields) throws SemanticException
- Throws:
SemanticException
-
location
public Expr location(Where where, Instance instance) throws SemanticException
- Throws:
SemanticException
-
bitfield
public Expr bitfield(Where where, Expr variable, Expr pos) throws SemanticException
- Throws:
SemanticException
-
bitfield
public Expr bitfield(Where where, Expr variable, Expr from, Expr to) throws SemanticException
- Throws:
SemanticException
-
-