protected final class MmuTreeWalkerBase.BufferBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MmuTreeWalkerBase.BufferBuilder(org.antlr.runtime.tree.CommonTree id,
org.antlr.runtime.tree.CommonTree addressArgId,
org.antlr.runtime.tree.CommonTree addressArgType,
org.antlr.runtime.tree.CommonTree parentBufferId,
java.util.List<java.lang.String> qualifiers)
Constructs a builder for a Buffer object.
|
| Modifier and Type | Method and Description |
|---|---|
Buffer |
build() |
void |
setEntry(org.antlr.runtime.tree.CommonTree attrId,
Type attr) |
void |
setGuard(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr) |
void |
setIndex(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr) |
void |
setMatch(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr) |
void |
setPolicyId(org.antlr.runtime.tree.CommonTree attrId,
org.antlr.runtime.tree.CommonTree attr) |
void |
setSets(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr) |
void |
setWays(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr) |
public MmuTreeWalkerBase.BufferBuilder(org.antlr.runtime.tree.CommonTree id,
org.antlr.runtime.tree.CommonTree addressArgId,
org.antlr.runtime.tree.CommonTree addressArgType,
org.antlr.runtime.tree.CommonTree parentBufferId,
java.util.List<java.lang.String> qualifiers)
throws SemanticException
id - Buffer identifier.addressArgId - Address argument identifier.addressArgType - Address argument type (identifier).SemanticException - if the specified address type is not defined.public void setWays(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr)
throws SemanticException
SemanticExceptionpublic void setSets(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr)
throws SemanticException
SemanticExceptionpublic void setEntry(org.antlr.runtime.tree.CommonTree attrId,
Type attr)
throws SemanticException
SemanticExceptionpublic void setIndex(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr)
throws SemanticException
SemanticExceptionpublic void setMatch(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr)
throws SemanticException
SemanticExceptionpublic void setGuard(org.antlr.runtime.tree.CommonTree attrId,
ru.ispras.fortress.expression.Node attr)
throws SemanticException
SemanticExceptionpublic void setPolicyId(org.antlr.runtime.tree.CommonTree attrId,
org.antlr.runtime.tree.CommonTree attr)
throws SemanticException
SemanticExceptionpublic Buffer build() throws SemanticException
SemanticException