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