Class: Oselvar::Var::Core::ListItem

Inherits:
Data
  • Object
show all
Defined in:
lib/oselvar/var/core/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#marker_spanObject (readonly)

Returns the value of attribute marker_span

Returns:

  • (Object)

    the current value of marker_span



22
23
24
# File 'lib/oselvar/var/core/ast.rb', line 22

def marker_span
  @marker_span
end

#orderedObject (readonly)

Returns the value of attribute ordered

Returns:

  • (Object)

    the current value of ordered



22
23
24
# File 'lib/oselvar/var/core/ast.rb', line 22

def ordered
  @ordered
end

#segment_mapObject (readonly)

Returns the value of attribute segment_map

Returns:

  • (Object)

    the current value of segment_map



22
23
24
# File 'lib/oselvar/var/core/ast.rb', line 22

def segment_map
  @segment_map
end

#spanObject (readonly)

Returns the value of attribute span

Returns:

  • (Object)

    the current value of span



22
23
24
# File 'lib/oselvar/var/core/ast.rb', line 22

def span
  @span
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



22
23
24
# File 'lib/oselvar/var/core/ast.rb', line 22

def text
  @text
end

Instance Method Details

#kindObject



23
# File 'lib/oselvar/var/core/ast.rb', line 23

def kind = 'list_item'