Class: Rubycc::Front::AST::ExpressionStmt

Inherits:
Data
  • Object
show all
Defined in:
lib/rubycc/front/ast.rb

Overview

An expression evaluated for its side effects; the value is discarded.

Instance Attribute Summary collapse

Instance Attribute Details

#exprObject (readonly)

Returns the value of attribute expr

Returns:

  • (Object)

    the current value of expr



230
231
232
# File 'lib/rubycc/front/ast.rb', line 230

def expr
  @expr
end

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



230
231
232
# File 'lib/rubycc/front/ast.rb', line 230

def token
  @token
end