Class: Piggly::Parser::Nodes::Expression
Direct Known Subclasses
Sql
Instance Attribute Summary
Attributes inherited from NodeClass
#source_text
Instance Method Summary
collapse
Methods inherited from NodeClass
#assignment?, #block?, #branch?, #comment?, #datatype?, #else?, #for?, #identifier?, #if?, #indent, #keyword?, #label?, #loop?, #named?, #sql?, #statement?, #string?, #stub?, #style, #tag_id, #tagged?, #token?, #while?, #whitespace?
Methods included from Traversal
#count, #find, #flatten, #inject, #select
Instance Method Details
#expression? ⇒ Boolean
95
96
97
|
# File 'lib/piggly/parser/nodes.rb', line 95
def expression?
true
end
|
#tag(prefix = nil, id = nil) ⇒ Object
#terminal? ⇒ Boolean
120
121
122
|
# File 'lib/piggly/parser/nodes.rb', line 120
def terminal?
false
end
|