Class: MilkTea::SexprParser::Token

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/tooling/sexpr_parser.rb

Overview

── tokenizer ─────────────────────────────────────────────────────

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



26
27
28
# File 'lib/milk_tea/tooling/sexpr_parser.rb', line 26

def column
  @column
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



26
27
28
# File 'lib/milk_tea/tooling/sexpr_parser.rb', line 26

def kind
  @kind
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



26
27
28
# File 'lib/milk_tea/tooling/sexpr_parser.rb', line 26

def line
  @line
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



26
27
28
# File 'lib/milk_tea/tooling/sexpr_parser.rb', line 26

def text
  @text
end