Class: Fdlint::Parser::JS::ExpressionStatement

Inherits:
Statement show all
Defined in:
lib/fdlint/parser/js/struct.rb

Instance Attribute Summary

Attributes inherited from Element

#left, #right, #type

Instance Method Summary collapse

Methods inherited from Statement

#end_with_semicolon=, #end_with_semicolon?

Methods inherited from Element

#contains?, #position, #text

Constructor Details

#initialize(expression) ⇒ ExpressionStatement

Returns a new instance of ExpressionStatement.



200
201
202
# File 'lib/fdlint/parser/js/struct.rb', line 200

def initialize(expression)
  super 'expression', expression
end