Class: ActiveFacts::CQL::Compiler::Vocabulary

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

Instance Attribute Summary

Attributes inherited from Definition

#constellation, #source, #vocabulary

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Vocabulary

Returns a new instance of Vocabulary.



77
78
79
# File 'lib/activefacts/cql/compiler/shared.rb', line 77

def initialize name
  @name = name
end

Instance Method Details

#compileObject



81
82
83
# File 'lib/activefacts/cql/compiler/shared.rb', line 81

def compile
  @constellation.Vocabulary @name
end