Class Value.Record
java.lang.Object
software.amazon.smithy.rulesengine.language.eval.Value
software.amazon.smithy.rulesengine.language.eval.Value.Record
- All Implemented Interfaces:
FromSourceLocation
,ToNode
- Enclosing class:
- Value
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.smithy.rulesengine.language.eval.Value
Value.Array, Value.Bool, Value.Endpoint, Value.Integer, Value.None, Value.Record, Value.String
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
forEach
(BiConsumer<Identifier, Value> fn) get
(Identifier key) getValue()
int
hashCode()
toNode()
Converts a value to aNode
.toString()
type()
Methods inherited from class software.amazon.smithy.rulesengine.language.eval.Value
array, bool, endpointFromNode, expectArray, expectBool, expectEndpoint, expectInteger, expectString, fromNode, getSourceLocation, integer, isNone, none, record, string
-
Method Details
-
type
-
expectRecord
- Overrides:
expectRecord
in classValue
-
get
-
get
-
forEach
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
.- Returns:
- Returns the creates Node.
-
hashCode
public int hashCode() -
equals
-
toString
-
getValue
-