Class: WhyClasses::Parser::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/why_classes/parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#astObject (readonly)

Returns the value of attribute ast

Returns:

  • (Object)

    the current value of ast



13
14
15
# File 'lib/why_classes/parser.rb', line 13

def ast
  @ast
end

#bufferObject (readonly)

Returns the value of attribute buffer

Returns:

  • (Object)

    the current value of buffer



13
14
15
# File 'lib/why_classes/parser.rb', line 13

def buffer
  @buffer
end

#commentsObject (readonly)

Returns the value of attribute comments

Returns:

  • (Object)

    the current value of comments



13
14
15
# File 'lib/why_classes/parser.rb', line 13

def comments
  @comments
end

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



13
14
15
# File 'lib/why_classes/parser.rb', line 13

def error
  @error
end