enum KDL::Tokenizer::Context

Defined in:

kdl/tokenizer.cr

Enum Members

Ident = 0
Keyword = 1
String = 2
Rawstring = 3
MultiLineString = 4
MultiLineRawstring = 5
Binary = 6
Octal = 7
Hexadecimal = 8
Decimal = 9
SingleLineComment = 10
MultiLineComment = 11
Whitespace = 12
Equals = 13

Instance Method Summary

Instance methods inherited from struct Value

==(other : KDL::Value) ==

Instance methods inherited from class Object

===(other : KDL::Value) ===

Instance Method Detail

def binary? #

Returns true if this enum value equals Binary


[View source]
def decimal? #

Returns true if this enum value equals Decimal


[View source]
def equals? #

Returns true if this enum value equals Equals


[View source]
def hexadecimal? #

Returns true if this enum value equals Hexadecimal


[View source]
def ident? #

Returns true if this enum value equals Ident


[View source]
def keyword? #

Returns true if this enum value equals Keyword


[View source]
def multi_line_comment? #

Returns true if this enum value equals MultiLineComment


[View source]
def multi_line_rawstring? #

Returns true if this enum value equals MultiLineRawstring


[View source]
def multi_line_string? #

Returns true if this enum value equals MultiLineString


[View source]
def octal? #

Returns true if this enum value equals Octal


[View source]
def rawstring? #

Returns true if this enum value equals Rawstring


[View source]
def single_line_comment? #

Returns true if this enum value equals SingleLineComment


[View source]
def string? #

Returns true if this enum value equals String


[View source]
def whitespace? #

Returns true if this enum value equals Whitespace


[View source]