Class StringLiteral
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.StringLiteral
- All Implemented Interfaces:
- FromSourceLocation,- ToNode,- TypeCheck,- ToCondition,- ToExpression
A string literal value, containing a template.
- 
Method SummaryMethods inherited from class software.amazon.smithy.rulesengine.language.syntax.expressions.literal.Literalaccept, asBooleanLiteral, asIntegerLiteral, asRecordLiteral, asTupleLiteral, booleanLiteral, evaluate, fromNode, integerLiteral, recordLiteral, stringLiteral, tupleLiteral, typeCheckLocalMethods inherited from class software.amazon.smithy.rulesengine.language.syntax.expressions.ExpressiongetLiteral, getReference, getSourceLocation, of, of, of, parseShortform, toConditionBuilder, toExpression, type, typeCheckMethods inherited from class software.amazon.smithy.rulesengine.language.syntax.SyntaxElementbooleanEqual, getAttr, getAttr, isSet, isValidHostLabel, not, parseUrl, stringEqual, substring, templateMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.smithy.rulesengine.language.syntax.ToConditiontoCondition, toCondition
- 
Method Details- 
valueGets the template for this literal value.- Returns:
- the literal's value template.
 
- 
accept
- 
asStringLiteral- Overrides:
- asStringLiteralin class- Literal
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein class- Expression
 
- 
equals- Specified by:
- equalsin class- Expression
 
- 
toString
- 
toNodeDescription copied from interface:ToNodeConverts a value to aNode.- Returns:
- Returns the creates Node.
 
 
-