Class: Peruby::Lexer::Quote

Inherits:
Struct
  • Object
show all
Defined in:
lib/peruby/lexer/quote_like.rb

Overview

Raw quote-like payload. Interpolation is compiled in P7.

Instance Attribute Summary collapse

Instance Attribute Details

#interpolateObject

Returns the value of attribute interpolate

Returns:

  • (Object)

    the current value of interpolate



6
7
8
# File 'lib/peruby/lexer/quote_like.rb', line 6

def interpolate
  @interpolate
end

#modifiersObject

Returns the value of attribute modifiers

Returns:

  • (Object)

    the current value of modifiers



6
7
8
# File 'lib/peruby/lexer/quote_like.rb', line 6

def modifiers
  @modifiers
end

#operatorObject

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



6
7
8
# File 'lib/peruby/lexer/quote_like.rb', line 6

def operator
  @operator
end

#partsObject

Returns the value of attribute parts

Returns:

  • (Object)

    the current value of parts



6
7
8
# File 'lib/peruby/lexer/quote_like.rb', line 6

def parts
  @parts
end