Package eu.bandm.tools.ramus.runtime2
Class State
java.lang.Object
eu.bandm.tools.ramus.runtime2.State
- All Implemented Interfaces:
Environment
Immutable semantic parsing state for AST construction.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic State.Projection
getTable()
getValue()
pop()
<A> A
project
(AbstractExpression<?, ?, A> expr) push()
pushEntries
(Map<Object, ? extends Data> entries) removeAll
(Collection<? extends Object> keys) toString()
static State.Projection
value()
withEntries
(Map<Object, ? extends Data> entries)
-
Field Details
-
initial
-
-
Constructor Details
-
State
-
-
Method Details
-
withValue
-
map
-
withEntry
-
withEntries
-
push
-
pushEntry
-
pushEntries
-
pop
-
getTable
-
getValue
- Specified by:
getValue
in interfaceEnvironment
-
assign
-
add
-
add
-
remove
-
removeAll
-
get
- Specified by:
get
in interfaceEnvironment
-
access
-
toString
-
assigned
-
value
-
project
-