Class: Maxy::Gen::ObjectNode

Inherits:
Struct
  • Object
show all
Defined in:
lib/maxy/gen/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



117
118
119
# File 'lib/maxy/gen/parser.rb', line 117

def args
  @args
end

#child_nodesObject

Returns the value of attribute child_nodes

Returns:

  • (Object)

    the current value of child_nodes



117
118
119
# File 'lib/maxy/gen/parser.rb', line 117

def child_nodes
  @child_nodes
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



117
118
119
# File 'lib/maxy/gen/parser.rb', line 117

def flags
  @flags
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



117
118
119
# File 'lib/maxy/gen/parser.rb', line 117

def name
  @name
end

#x_rankObject

Returns the value of attribute x_rank

Returns:

  • (Object)

    the current value of x_rank



117
118
119
# File 'lib/maxy/gen/parser.rb', line 117

def x_rank
  @x_rank
end

#y_rankObject

Returns the value of attribute y_rank

Returns:

  • (Object)

    the current value of y_rank



117
118
119
# File 'lib/maxy/gen/parser.rb', line 117

def y_rank
  @y_rank
end