Module: Finitio::Syntax::AnyType

Includes:
Node
Defined in:
lib/finitio/syntax/type/any_type.rb

Instance Method Summary collapse

Methods included from Node

included, #metadata, #resolve_ruby_const, #unique_names!

Instance Method Details

#compile(factory) ⇒ Object



6
7
8
# File 'lib/finitio/syntax/type/any_type.rb', line 6

def compile(factory)
  factory.any
end

#to_astObject



10
11
12
# File 'lib/finitio/syntax/type/any_type.rb', line 10

def to_ast
  [:any_type]
end