Last change
on this file since 265 was 261, checked in by Tatsukawa, Akimichi, 15 years ago |
renamed scanner.rb to adl_scanner.rb
|
File size:
859 bytes
|
Rev | Line | |
---|
[49] | 1 | # component: openEHR Ruby ADL parser implementation
|
---|
| 2 | # description:
|
---|
| 3 | # keywords: archetype, ADL, parser
|
---|
| 4 | # author: Akimichi TATSUKAWA, Shinji KOBAYASHI
|
---|
| 5 | # support: openEHR.jp
|
---|
| 6 | # license: openEHR open source license
|
---|
| 7 |
|
---|
| 8 | $:.unshift File.join(File.dirname(__FILE__))
|
---|
| 9 | require 'logger'
|
---|
[261] | 10 | require 'adl_scanner.rb'
|
---|
[49] | 11 |
|
---|
| 12 | module OpenEHR
|
---|
| 13 |
|
---|
| 14 | if $DEBUG
|
---|
| 15 | LOG = Logger.new('log/adl_parser.log','daily')
|
---|
| 16 | LOG.level = Logger::INFO
|
---|
| 17 | else
|
---|
| 18 | LOG = Logger.new(STDOUT)
|
---|
| 19 | LOG.level = Logger::WARN
|
---|
| 20 | end
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | module ADL
|
---|
| 24 | autoload :Parser, "parser.rb"
|
---|
| 25 | autoload :Validator, "validator.rb"
|
---|
[261] | 26 |
|
---|
[49] | 27 | module Scanner
|
---|
| 28 | module DADL
|
---|
[261] | 29 | autoload :RootScanner, "adl_scanner.rb"
|
---|
[49] | 30 | end
|
---|
[261] | 31 | module CADL
|
---|
| 32 | autoload :RootScanner, "adl_scanner.rb"
|
---|
| 33 | end
|
---|
[49] | 34 | end
|
---|
| 35 | end
|
---|
| 36 |
|
---|
| 37 | module Application
|
---|
| 38 | autoload :ADLValidator, "shell.rb"
|
---|
| 39 | end # of Application
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 | end # of OpenEHR
|
---|
Note:
See
TracBrowser
for help on using the repository browser.