Sha256: 038ac6f34365009a2af89586228a2db1090422b61b5216d2849d9d8651dae82a
Contents?: true
Size: 335 Bytes
Versions: 2
Compression:
Stored size: 335 Bytes
Contents
module Finitio module Syntax module TypeDef def compile(system) t = type.compile(system) t.name = type_name.to_s system.add_type(t) t end def to_ast [:type_def, type_name.to_s, type.to_ast] end end # module TypeDef end # module Syntax end # module Finitio
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
finitio-0.4.1 | lib/finitio/syntax/type_def.rb |
finitio-0.4.0 | lib/finitio/syntax/type_def.rb |