enum

Slang::TokenKind

Inherits Enum < Comparable < Value < Object

Constants

Indent = 0

structural

Dedent = 1
Newline = 2
EOF = 3
Element = 4

line openers

Output = 5
Code = 6
TextBlock = 7
TextBlockSpace = 8
RawHtml = 9
CommentHidden = 10
CommentVisible = 11
Doctype = 12
TagName = 13

element-line fragments

ClassName = 14
IdName = 15
WsLeft = 16
WsRight = 17
AttrName = 18
AttrValue = 19
SplatExpr = 20
InlineColon = 21
OutputExpr = 22

output / code body fragments

CodeExpr = 23
TextLiteral = 24

text fragments

InterpExpr = 25

Instance methods

attr_name?

Returns true if this enum value equals AttrName

Source
attr_value?

Returns true if this enum value equals AttrValue

Source
class_name?

Returns true if this enum value equals ClassName

Source
code?

Returns true if this enum value equals Code

Source
code_expr?

Returns true if this enum value equals CodeExpr

Source
comment_hidden?

Returns true if this enum value equals CommentHidden

Source
comment_visible?

Returns true if this enum value equals CommentVisible

Source
dedent?

Returns true if this enum value equals Dedent

Source
doctype?

Returns true if this enum value equals Doctype

Source
element?

Returns true if this enum value equals Element

Source
eof?

Returns true if this enum value equals EOF

Source
id_name?

Returns true if this enum value equals IdName

Source
indent?

Returns true if this enum value equals Indent

Source
inline_colon?

Returns true if this enum value equals InlineColon

Source
interp_expr?

Returns true if this enum value equals InterpExpr

Source
newline?

Returns true if this enum value equals Newline

Source
output?

Returns true if this enum value equals Output

Source
output_expr?

Returns true if this enum value equals OutputExpr

Source
raw_html?

Returns true if this enum value equals RawHtml

Source
splat_expr?

Returns true if this enum value equals SplatExpr

Source
tag_name?

Returns true if this enum value equals TagName

Source
text_block?

Returns true if this enum value equals TextBlock

Source
text_block_space?

Returns true if this enum value equals TextBlockSpace

Source
text_literal?

Returns true if this enum value equals TextLiteral

Source
ws_left?

Returns true if this enum value equals WsLeft

Source
ws_right?

Returns true if this enum value equals WsRight

Source