Module: CEML::Instructions::SeedStmt1

Defined in:
lib/ceml/lang/tt/instructions.rb

Instance Method Summary collapse

Instance Method Details

#bytecodeObject



245
246
247
# File 'lib/ceml/lang/tt/instructions.rb', line 245

def bytecode
    [[roles, :seed, {:target => varname.text_value, :rolemap => rolemap.value}]]
end

#rolesObject



242
243
244
# File 'lib/ceml/lang/tt/instructions.rb', line 242

def roles
   rolemap.value.map do |x| x[:from].to_sym end
end