Class: Varar::Core::ListItem

Inherits:
Data
  • Object
show all
Defined in:
lib/varar/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



21
22
23
# File 'lib/varar/core/ast.rb', line 21

def marker_span
  @marker_span
end

#orderedObject (readonly)

Returns the value of attribute ordered

Returns:

  • (Object)

    the current value of ordered



21
22
23
# File 'lib/varar/core/ast.rb', line 21

def ordered
  @ordered
end

#segment_mapObject (readonly)

Returns the value of attribute segment_map

Returns:

  • (Object)

    the current value of segment_map



21
22
23
# File 'lib/varar/core/ast.rb', line 21

def segment_map
  @segment_map
end

#spanObject (readonly)

Returns the value of attribute span

Returns:

  • (Object)

    the current value of span



21
22
23
# File 'lib/varar/core/ast.rb', line 21

def span
  @span
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



21
22
23
# File 'lib/varar/core/ast.rb', line 21

def text
  @text
end

Instance Method Details

#kindObject



22
# File 'lib/varar/core/ast.rb', line 22

def kind = 'list_item'