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_steps, #build_variables, #compile, #source

Constructor Details

#initialize(name) ⇒ ObjectType

Returns a new instance of ObjectType.



133
134
135
# File 'lib/activefacts/cql/compiler/shared.rb', line 133

def initialize name
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



131
132
133
# File 'lib/activefacts/cql/compiler/shared.rb', line 131

def name
  @name
end

Instance Method Details

#to_sObject



137
138
139
# File 'lib/activefacts/cql/compiler/shared.rb', line 137

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