class Fig::Statement::SyntheticRawText

Some raw text that we want emitted as part of unparsing.

Attributes

text[R]

Public Class Methods

new(line_column, source_description, text) click to toggle source
Calls superclass method Fig::Statement::new
# File lib/fig/statement/synthetic_raw_text.rb, line 11
def initialize(line_column, source_description, text)
  super(line_column, source_description)

  @text = text
end

Public Instance Methods

deparse_as_version(deparser) click to toggle source
# File lib/fig/statement/synthetic_raw_text.rb, line 21
def deparse_as_version(deparser)
  return deparser.synthetic_raw_text(self)
end
minimum_grammar_for_emitting_input() click to toggle source
# File lib/fig/statement/synthetic_raw_text.rb, line 25
def minimum_grammar_for_emitting_input()
  return [0]
end
minimum_grammar_for_publishing() click to toggle source
# File lib/fig/statement/synthetic_raw_text.rb, line 29
def minimum_grammar_for_publishing()
  return [0]
end
statement_type() click to toggle source
# File lib/fig/statement/synthetic_raw_text.rb, line 17
def statement_type()
  return nil
end