Class: Maxy::Gen::ObjectNode
- Inherits:
-
Struct
- Object
- Struct
- Maxy::Gen::ObjectNode
- Defined in:
- lib/maxy/gen/parser.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#child_nodes ⇒ Object
Returns the value of attribute child_nodes.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#name ⇒ Object
Returns the value of attribute name.
-
#x_rank ⇒ Object
Returns the value of attribute x_rank.
-
#y_rank ⇒ Object
Returns the value of attribute y_rank.
Instance Method Summary collapse
-
#initialize(name, args, child_nodes, x_rank = 0, y_rank = 0, flags = []) ⇒ ObjectNode
constructor
A new instance of ObjectNode.
Constructor Details
#initialize(name, args, child_nodes, x_rank = 0, y_rank = 0, flags = []) ⇒ ObjectNode
Returns a new instance of ObjectNode.
118 119 120 |
# File 'lib/maxy/gen/parser.rb', line 118 def initialize(name, args, child_nodes, x_rank=0, y_rank=0, flags=[]) super end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
117 118 119 |
# File 'lib/maxy/gen/parser.rb', line 117 def args @args end |
#child_nodes ⇒ Object
Returns the value of attribute child_nodes
117 118 119 |
# File 'lib/maxy/gen/parser.rb', line 117 def child_nodes @child_nodes end |
#flags ⇒ Object
Returns the value of attribute flags
117 118 119 |
# File 'lib/maxy/gen/parser.rb', line 117 def flags @flags end |
#name ⇒ Object
Returns the value of attribute name
117 118 119 |
# File 'lib/maxy/gen/parser.rb', line 117 def name @name end |
#x_rank ⇒ Object
Returns the value of attribute x_rank
117 118 119 |
# File 'lib/maxy/gen/parser.rb', line 117 def x_rank @x_rank end |
#y_rank ⇒ Object
Returns the value of attribute y_rank
117 118 119 |
# File 'lib/maxy/gen/parser.rb', line 117 def y_rank @y_rank end |