Class Scope<T>
java.lang.Object
software.amazon.awssdk.services.lexmodelsv2.endpoints.internal.Scope<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSearch the fact stack for an explicitly calculated value for [expr]expectValue
(Identifier name) getValue
(Identifier name) <U> U
void
void
insert
(Identifier name, T value) void
insertFact
(Expr name, T value) void
pop()
void
push()
toString()
-
Constructor Details
-
Scope
public Scope()
-
-
Method Details
-
push
public void push() -
pop
public void pop() -
insert
-
insert
-
insertFact
-
inScope
-
toString
-
eval
Search the fact stack for an explicitly calculated value for [expr]Currently, this is only impacted by the `isSet` function which will record `T`, rather than
Option<T>
for its arguments- Parameters:
expr
- The expression to evaluate- Returns:
- The value from the scope
-
expectValue
-
getValue
-