Interface ScmLiteral
- All Superinterfaces:
ImpScmNode
- All Known Implementing Classes:
ScmLiteral.ScmBool, ScmLiteral.ScmFloat, ScmLiteral.ScmInt, ScmLiteral.ScmString
public sealed interface ScmLiteral
extends ImpScmNode
permits ScmLiteral.ScmInt, ScmLiteral.ScmFloat, ScmLiteral.ScmBool, ScmLiteral.ScmString
Literal constants in ImpScheme (int64, float64, boolean, string).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final recordstatic final record -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ScmLiteral.ScmBoolofBool(boolean value) static ScmLiteral.ScmFloatofFloat(double value) static ScmLiteral.ScmIntofInt(long value) static ScmLiteral.ScmStringstatic ScmLiteral.ScmStringMethods inherited from interface ImpScmNode
accept, toScmString
-
Method Details
-
ofInt
-
ofFloat
-
ofBool
-
ofString
-
ofStr
-