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, #assert_literal_value, #build_all_steps, #build_step, #build_variables, #compile, #source

Constructor Details

#initialize(name) ⇒ ObjectType

Returns a new instance of ObjectType.



164
165
166
# File 'lib/activefacts/cql/compiler/shared.rb', line 164

def initialize name
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



162
163
164
# File 'lib/activefacts/cql/compiler/shared.rb', line 162

def name
  @name
end

Instance Method Details

#to_sObject



168
169
170
# File 'lib/activefacts/cql/compiler/shared.rb', line 168

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