Class: Piggly::Parser::Nodes::Branch
- Defined in:
- lib/piggly/parser/nodes.rb
Overview
Branches with child ‘cond’ (Expression) will get a ConditionalBranchTag
Instance Attribute Summary
Attributes inherited from NodeClass
Instance Method Summary collapse
Methods inherited from Statement
Methods inherited from NodeClass
#assignment?, #block?, #comment?, #datatype?, #else?, #expression?, #for?, #identifier?, #if?, #indent, #keyword?, #label?, #loop?, #named?, #sql?, #statement?, #string?, #stub?, #style, #tag, #tag_id, #tagged?, #token?, #while?, #whitespace?
Methods included from Traversal
#count, #find, #flatten, #inject, #select
Instance Method Details
#branch? ⇒ Boolean
134 135 136 |
# File 'lib/piggly/parser/nodes.rb', line 134 def branch? true end |