Class: ActiveFacts::CQL::Compiler::ObjectType

Inherits:
Definition
  • Object
show all
Defined in:
lib/activefacts/cql/compiler/shared.rb

Direct Known Subclasses

EntityType, Query, ValueType

Instance Attribute Summary collapse

Attributes inherited from Definition

#constellation, #tree, #vocabulary

Instance Method Summary collapse

Methods inherited from Definition

#all_bindings_in_clauses, #build_all_steps, #build_step, #build_variables, #compile, #source

Constructor Details

#initialize(name) ⇒ ObjectType

Returns a new instance of ObjectType.



146
147
148
# File 'lib/activefacts/cql/compiler/shared.rb', line 146

def initialize name
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



144
145
146
# File 'lib/activefacts/cql/compiler/shared.rb', line 144

def name
  @name
end

Instance Method Details

#to_sObject



150
151
152
# File 'lib/activefacts/cql/compiler/shared.rb', line 150

def to_s
  "#{super}#{@name}"
end