class TPPlus::Nodes::ArgumentNode

Attributes

comment[RW]
id[R]

Public Class Methods

new(id) click to toggle source
# File lib/tp_plus/nodes/argument_node.rb, line 6
def initialize(id)
  @id = id
  @comment = comment
end

Public Instance Methods

eval(context,options={}) click to toggle source
# File lib/tp_plus/nodes/argument_node.rb, line 15
def eval(context,options={})
  "AR[#{@id}]"
end
requires_mixed_logic?(context) click to toggle source
# File lib/tp_plus/nodes/argument_node.rb, line 11
def requires_mixed_logic?(context)
  true
end