Module: Qrb::Syntax::AnyType

Includes:
Support
Defined in:
lib/qrb/syntax/any_type.rb

Instance Method Summary collapse

Methods included from Support

#resolve_ruby_const

Instance Method Details

#compile(factory) ⇒ Object



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

def compile(factory)
  factory.any
end

#to_astObject



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

def to_ast
  [:any_type]
end