Class: Astel::NodePattern::Token

Inherits:
Data
  • Object
show all
Defined in:
lib/astel/node_pattern.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



22
23
24
# File 'lib/astel/node_pattern.rb', line 22

def column
  @column
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



22
23
24
# File 'lib/astel/node_pattern.rb', line 22

def line
  @line
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



22
23
24
# File 'lib/astel/node_pattern.rb', line 22

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



22
23
24
# File 'lib/astel/node_pattern.rb', line 22

def value
  @value
end