class Aspen::AST::Nodes::CustomStatement
Attributes
content[R]
Public Class Methods
new(content)
click to toggle source
I wonder: Should the AST
for CustomGrammar
be grouped into lib/ast? Should the CustomStatement
AST
node contain the Bare Segments and Capture Segments, along with variables with types and labels?
# File lib/aspen/ast/nodes/custom_statement.rb, line 12 def initialize(content) @content = Aspen::AST::Nodes::Content.new(content) end