Class MemoryFactory
- java.lang.Object
-
- ru.ispras.microtesk.translator.nml.antlrex.WalkerFactoryBase
-
- ru.ispras.microtesk.translator.nml.antlrex.MemoryFactory
-
- All Implemented Interfaces:
WalkerContext
public final class MemoryFactory extends WalkerFactoryBase
-
-
Constructor Summary
Constructors Constructor Description MemoryFactory(WalkerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryAlias
createAlias(Where where, java.lang.String memoryId, Expr min, Expr max)
MemoryResource
createMemory(Where where, Memory.Kind kind, java.lang.String name, Type type, Expr sizeExpr, boolean shared, MemoryAlias alias)
-
Methods inherited from class ru.ispras.microtesk.translator.nml.antlrex.WalkerFactoryBase
getIr, getReporter, getSymbols, getThisArgs, raiseError, raiseError
-
-
-
-
Constructor Detail
-
MemoryFactory
public MemoryFactory(WalkerContext context)
-
-
Method Detail
-
createMemory
public MemoryResource createMemory(Where where, Memory.Kind kind, java.lang.String name, Type type, Expr sizeExpr, boolean shared, MemoryAlias alias) throws SemanticException
- Throws:
SemanticException
-
createAlias
public MemoryAlias createAlias(Where where, java.lang.String memoryId, Expr min, Expr max) throws SemanticException
- Throws:
SemanticException
-
-