Class GetAttr.Part.Key
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.syntax.expressions.functions.GetAttr.Part.Key
-
- All Implemented Interfaces:
GetAttr.Part
- Enclosing interface:
- GetAttr.Part
public static final class GetAttr.Part.Key extends java.lang.Object implements GetAttr.Part
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.amazon.smithy.rulesengine.language.syntax.expressions.functions.GetAttr.Part
GetAttr.Part.Index, GetAttr.Part.Key
-
-
Constructor Summary
Constructors Constructor Description Key(Identifier key)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Value
eval(Value container)
int
hashCode()
Identifier
key()
static GetAttr.Part.Key
of(java.lang.String key)
java.lang.String
toString()
Type
typeCheck(Type container)
-
-
-
Constructor Detail
-
Key
public Key(Identifier key)
-
-
Method Detail
-
of
public static GetAttr.Part.Key of(java.lang.String key)
-
typeCheck
public Type typeCheck(Type container) throws InnerParseError
- Specified by:
typeCheck
in interfaceGetAttr.Part
- Throws:
InnerParseError
-
eval
public Value eval(Value container)
- Specified by:
eval
in interfaceGetAttr.Part
-
key
public Identifier key()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-