Sha256: cff2232b4be95b423b8de3e9e90a4cff41d81afbb105016b6caec251e748a15b
Contents?: true
Size: 318 Bytes
Versions: 2
Compression:
Stored size: 318 Bytes
Contents
module Finitio module Syntax module Attribute def compile(factory) factory.attribute(attribute_name.to_sym, type.compile(factory)) end def to_ast [:attribute, attribute_name.to_s, type.to_ast] end end # module BuiltinType 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/attribute.rb |
finitio-0.4.0 | lib/finitio/syntax/attribute.rb |