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.



107
108
109
# File 'lib/maxy/gen/parser.rb', line 107

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



106
107
108
# File 'lib/maxy/gen/parser.rb', line 106

def args
  @args
end

#child_nodesObject

Returns the value of attribute child_nodes

Returns:

  • (Object)

    the current value of child_nodes



106
107
108
# File 'lib/maxy/gen/parser.rb', line 106

def child_nodes
  @child_nodes
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



106
107
108
# File 'lib/maxy/gen/parser.rb', line 106

def flags
  @flags
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



106
107
108
# File 'lib/maxy/gen/parser.rb', line 106

def name
  @name
end

#x_rankObject

Returns the value of attribute x_rank

Returns:

  • (Object)

    the current value of x_rank



106
107
108
# File 'lib/maxy/gen/parser.rb', line 106

def x_rank
  @x_rank
end

#y_rankObject

Returns the value of attribute y_rank

Returns:

  • (Object)

    the current value of y_rank



106
107
108
# File 'lib/maxy/gen/parser.rb', line 106

def y_rank
  @y_rank
end