class HCL::AST::Literal

Defined in:

hcl/ast/literal.cr

Constant Summary

FALSE_STR = "false"
NULL_STR = "null"
TRUE_STR = "true"

Instance Method Summary

Instance methods inherited from class HCL::AST::Node

accept(visitor) accept, evaluate(ctx : ExpressionContext) evaluate, inspect(io) inspect, source : String source, to_s(io : IO) to_s, value(ctx : ExpressionContext) : Any value

Constructor methods inherited from class HCL::AST::Node

new(source : String = "", token : Pegmatite::Token | Nil = nil) new

Instance methods inherited from class Reference

==(other : HCL::Any) ==

Instance methods inherited from class Object

===(other : HCL::Any) ===

Class methods inherited from class Object

from_hcl(string_or_io : String | IO, ctx : HCL::ExpressionContext = HCL::ExpressionContext.default_context) from_hcl

Instance Method Detail

def false? #

[View source]
def null? #

[View source]
def string? #

[View source]
def true? #

[View source]
def value #

[View source]