Class IntegerLiteral
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.SyntaxElement
software.amazon.smithy.rulesengine.language.syntax.expressions.Expression
software.amazon.smithy.rulesengine.language.syntax.expressions.literal.Literal
software.amazon.smithy.rulesengine.language.syntax.expressions.literal.IntegerLiteral
- All Implemented Interfaces:
FromSourceLocation,ToNode,TypeCheck,ToCondition,ToExpression
An integer literal value, containing integer values greater than or equal to 0.
-
Method Summary
Methods inherited from class software.amazon.smithy.rulesengine.language.syntax.expressions.literal.Literal
accept, asBooleanLiteral, asRecordLiteral, asStringLiteral, asTupleLiteral, booleanLiteral, evaluate, fromNode, integerLiteral, recordLiteral, stringLiteral, tupleLiteral, typeCheckLocalMethods inherited from class software.amazon.smithy.rulesengine.language.syntax.expressions.Expression
getLiteral, getReference, getSourceLocation, of, of, of, parseShortform, toConditionBuilder, toExpression, type, typeCheckMethods inherited from class software.amazon.smithy.rulesengine.language.syntax.SyntaxElement
booleanEqual, getAttr, getAttr, isSet, isValidHostLabel, not, parseUrl, stringEqual, substring, templateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.smithy.rulesengine.language.syntax.ToCondition
toCondition, toCondition
-
Method Details
-
accept
-
asIntegerLiteral
- Overrides:
asIntegerLiteralin classLiteral
-
toNode
Description copied from interface:ToNodeConverts a value to aNode.- Returns:
- Returns the creates Node.
-
equals
- Specified by:
equalsin classExpression
-
hashCode
public int hashCode()- Specified by:
hashCodein classExpression
-
toString
-