Class: Piggly::Parser::Nodes::Statement
- Defined in:
- lib/piggly/parser/nodes.rb
Overview
…;
Direct Known Subclasses
Assignment, Block, Branch, Case, Cond, Loop, Raise, UnconditionalBranch
Instance Attribute Summary
Attributes inherited from NodeClass
Instance Method Summary collapse
Methods inherited from NodeClass
#assignment?, #block?, #branch?, #comment?, #datatype?, #else?, #expression?, #for?, #identifier?, #if?, #indent, #keyword?, #label?, #loop?, #named?, #sql?, #string?, #stub?, #style, #tag, #tag_id, #tagged?, #token?, #while?, #whitespace?
Methods included from Traversal
#count, #find, #flatten, #inject, #select
Instance Method Details
#statement? ⇒ Boolean
85 86 87 |
# File 'lib/piggly/parser/nodes.rb', line 85 def statement? true end |
#terminal? ⇒ Boolean
89 90 91 |
# File 'lib/piggly/parser/nodes.rb', line 89 def terminal? false end |