Class: Dentaku::AST::Node
- Inherits:
-
Object
- Object
- Dentaku::AST::Node
show all
- Defined in:
- lib/dentaku/ast/node.rb
Direct Known Subclasses
Access, Array, Case, CaseConditional, CaseElse, CaseSwitchVariable, CaseThen, Function, Grouping, Identifier, Literal, Nil, Operation
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.arity ⇒ Object
8
9
10
|
# File 'lib/dentaku/ast/node.rb', line 8
def self.arity
nil
end
|
.peek ⇒ Object
12
13
|
# File 'lib/dentaku/ast/node.rb', line 12
def self.peek(*)
end
|
.precedence ⇒ Object
4
5
6
|
# File 'lib/dentaku/ast/node.rb', line 4
def self.precedence
0
end
|
Instance Method Details
#dependencies(context = {}) ⇒ Object
15
16
17
|
# File 'lib/dentaku/ast/node.rb', line 15
def dependencies(context = {})
[]
end
|
#type ⇒ Object
19
20
21
|
# File 'lib/dentaku/ast/node.rb', line 19
def type
nil
end
|