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.



154
155
156
# File 'lib/activefacts/cql/compiler/shared.rb', line 154

def initialize name
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



152
153
154
# File 'lib/activefacts/cql/compiler/shared.rb', line 152

def name
  @name
end

Instance Method Details

#to_sObject



158
159
160
# File 'lib/activefacts/cql/compiler/shared.rb', line 158

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