Class: Vertigo::Process

Inherits:
AstNode show all
Defined in:
lib/vertigo/ast_vertigo_rkgen.rb

Instance Attribute Summary collapse

Attributes inherited from AstNode

#label, #pos

Instance Method Summary collapse

Methods inherited from AstNode

#accept, #str

Constructor Details

#initialize(sensitivity = nil, decls = [], body = nil) ⇒ Process

Returns a new instance of Process.



134
135
136
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 134

def initialize sensitivity=nil,decls=[],body=nil
  @sensitivity,@decls,@body=sensitivity,decls,body
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



133
134
135
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 133

def body
  @body
end

#declsObject

Returns the value of attribute decls.



133
134
135
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 133

def decls
  @decls
end

#sensitivityObject

Returns the value of attribute sensitivity.



133
134
135
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 133

def sensitivity
  @sensitivity
end