Module: Fig::Grammar::V2::Package0

Defined in:
lib/fig/grammar/v2.rb

Instance Method Summary collapse

Instance Method Details

#grammar_versionObject



35
36
37
# File 'lib/fig/grammar/v2.rb', line 35

def grammar_version
  elements[1]
end

#optional_ws_or_comment1Object



31
32
33
# File 'lib/fig/grammar/v2.rb', line 31

def optional_ws_or_comment1
  elements[0]
end

#optional_ws_or_comment2Object



43
44
45
# File 'lib/fig/grammar/v2.rb', line 43

def optional_ws_or_comment2
  elements[3]
end

#statementsObject



39
40
41
# File 'lib/fig/grammar/v2.rb', line 39

def statements
  elements[2]
end