Class: Stone::AST::Expression
- Inherits:
-
Stone::AST
- Object
- Stone::AST
- Stone::AST::Expression
- Defined in:
- lib/stone/ast/expression.rb
Direct Known Subclasses
Block, BooleanLiteral, ConstantDefinition, FunctionCall, IntegerLiteral, Lambda, NullLiteral, PropertyAccess, RecordDefinition, RecordInstantiation, Reference, StringLiteral, TypeOfExpression, TypeReference
Instance Attribute Summary
Attributes inherited from Stone::AST
Instance Method Summary collapse
Methods inherited from Stone::AST
Constructor Details
This class inherits a constructor from Stone::AST
Instance Method Details
#type(_context = nil) ⇒ Object
8 |
# File 'lib/stone/ast/expression.rb', line 8 def type(_context = nil) = fail NotImplementedError, "#{self.class} must implement #type" |