Class: IV::Phonic::AST::Expression
Direct Known Subclasses
ArrayHole, Assignment, BinaryOperation, ConditionalExpression, ConstructorCall, FunctionCall, IdentifierAccess, IndexAccess, Literal, PostfixExpression, UnaryOperation
Class Method Summary collapse
Methods inherited from Node
#begin_position, #end_position, #initialize, #program, #source
Constructor Details
This class inherits a constructor from IV::Phonic::AST::Node
Class Method Details
.as(parent, expr) ⇒ Object
303 304 305 |
# File 'lib/iv/phonic/ast.rb', line 303 def self.as parent, expr return ExpressionType2Class[expr[:type]].new parent, expr end |