Class: Fdlint::Parser::JS::PrimaryExpression
- Inherits:
-
Expression
- Object
- Element
- Expression
- Fdlint::Parser::JS::PrimaryExpression
- Defined in:
- lib/fdlint/parser/js/struct.rb
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(type, expr, position = nil) ⇒ PrimaryExpression
constructor
A new instance of PrimaryExpression.
- #node ⇒ Object
- #text ⇒ Object
Methods inherited from Expression
Methods inherited from Element
Constructor Details
#initialize(type, expr, position = nil) ⇒ PrimaryExpression
Returns a new instance of PrimaryExpression.
217 218 219 |
# File 'lib/fdlint/parser/js/struct.rb', line 217 def initialize(type, expr, position = nil) super type, expr, nil, position end |