expressir 0.2.5 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.cross_rubies +30 -0
- data/.github/workflows/rake.yml +14 -15
- data/.github/workflows/release.yml +24 -16
- data/.gitignore +3 -1
- data/Gemfile +0 -2
- data/Rakefile +2 -8
- data/expressir.gemspec +7 -4
- data/ext/express-parser/express_parser.cpp +12 -10
- data/ext/express-parser/extconf.rb +48 -25
- data/lib/expressir/express_exp/formatter.rb +74 -23
- data/lib/expressir/express_exp/parser.rb +20 -2
- data/lib/expressir/express_exp/visitor.rb +201 -96
- data/lib/expressir/model.rb +3 -0
- data/lib/expressir/model/attribute.rb +3 -1
- data/lib/expressir/model/constant.rb +3 -1
- data/lib/expressir/model/entity.rb +12 -19
- data/lib/expressir/model/enumeration_item.rb +3 -1
- data/lib/expressir/model/expressions/aggregate_initializer.rb +2 -2
- data/lib/expressir/model/expressions/aggregate_item.rb +1 -1
- data/lib/expressir/model/expressions/attribute_reference.rb +1 -1
- data/lib/expressir/model/expressions/binary_expression.rb +1 -1
- data/lib/expressir/model/expressions/call.rb +2 -2
- data/lib/expressir/model/expressions/entity_constructor.rb +2 -2
- data/lib/expressir/model/expressions/group_reference.rb +1 -1
- data/lib/expressir/model/expressions/index_reference.rb +1 -1
- data/lib/expressir/model/expressions/interval.rb +1 -1
- data/lib/expressir/model/expressions/query_expression.rb +5 -3
- data/lib/expressir/model/expressions/simple_reference.rb +1 -1
- data/lib/expressir/model/expressions/unary_expression.rb +1 -1
- data/lib/expressir/model/function.rb +32 -38
- data/lib/expressir/model/identifier.rb +1 -0
- data/lib/expressir/model/informal_proposition.rb +13 -0
- data/lib/expressir/model/interface.rb +2 -2
- data/lib/expressir/model/literals/binary.rb +1 -1
- data/lib/expressir/model/literals/integer.rb +1 -1
- data/lib/expressir/model/literals/logical.rb +1 -1
- data/lib/expressir/model/literals/real.rb +1 -1
- data/lib/expressir/model/literals/string.rb +1 -1
- data/lib/expressir/model/model_element.rb +67 -0
- data/lib/expressir/model/parameter.rb +3 -1
- data/lib/expressir/model/procedure.rb +33 -39
- data/lib/expressir/model/renamed_ref.rb +1 -1
- data/lib/expressir/model/repository.rb +3 -3
- data/lib/expressir/model/rule.rb +35 -38
- data/lib/expressir/model/schema.rb +35 -46
- data/lib/expressir/model/scope.rb +49 -3
- data/lib/expressir/model/statements/alias.rb +4 -2
- data/lib/expressir/model/statements/assignment.rb +1 -1
- data/lib/expressir/model/statements/call.rb +2 -2
- data/lib/expressir/model/statements/case.rb +2 -2
- data/lib/expressir/model/statements/case_action.rb +2 -2
- data/lib/expressir/model/statements/compound.rb +2 -2
- data/lib/expressir/model/statements/escape.rb +1 -1
- data/lib/expressir/model/statements/if.rb +3 -3
- data/lib/expressir/model/statements/null.rb +1 -1
- data/lib/expressir/model/statements/repeat.rb +4 -2
- data/lib/expressir/model/statements/return.rb +1 -1
- data/lib/expressir/model/statements/skip.rb +1 -1
- data/lib/expressir/model/subtype_constraint.rb +3 -1
- data/lib/expressir/model/type.rb +13 -3
- data/lib/expressir/model/types/aggregate.rb +3 -1
- data/lib/expressir/model/types/array.rb +1 -1
- data/lib/expressir/model/types/bag.rb +1 -1
- data/lib/expressir/model/types/binary.rb +1 -1
- data/lib/expressir/model/types/boolean.rb +1 -1
- data/lib/expressir/model/types/enumeration.rb +3 -3
- data/lib/expressir/model/types/generic.rb +3 -1
- data/lib/expressir/model/types/generic_entity.rb +3 -1
- data/lib/expressir/model/types/integer.rb +1 -1
- data/lib/expressir/model/types/list.rb +1 -1
- data/lib/expressir/model/types/logical.rb +1 -1
- data/lib/expressir/model/types/number.rb +1 -1
- data/lib/expressir/model/types/real.rb +1 -1
- data/lib/expressir/model/types/select.rb +3 -3
- data/lib/expressir/model/types/set.rb +1 -1
- data/lib/expressir/model/types/string.rb +1 -1
- data/lib/expressir/model/unique.rb +4 -2
- data/lib/expressir/model/variable.rb +3 -1
- data/lib/expressir/model/where.rb +3 -1
- data/lib/expressir/version.rb +1 -1
- data/original/examples/syntax/remark.exp +64 -20
- data/original/examples/syntax/remark_formatted.exp +63 -24
- data/original/examples/syntax/simple.exp +3 -0
- data/original/examples/syntax/source.exp +16 -0
- data/original/examples/syntax/syntax.exp +194 -181
- data/original/examples/syntax/syntax_formatted.exp +354 -787
- data/rakelib/cross-ruby.rake +308 -0
- data/spec/expressir/express_exp/head_source_spec.rb +38 -0
- data/spec/expressir/express_exp/parse_multiple_spec.rb +32 -0
- data/spec/expressir/express_exp/parse_remark_spec.rb +122 -56
- data/spec/expressir/express_exp/parse_syntax_spec.rb +1619 -1569
- data/spec/expressir/express_exp/source_spec.rb +29 -0
- data/spec/expressir/model/model_element_spec.rb +59 -0
- data/spec/expressir/model/{find_spec.rb → scope_spec.rb} +20 -7
- metadata +45 -21
@@ -0,0 +1,29 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
require "expressir/express_exp/parser"
|
3
|
+
|
4
|
+
RSpec.describe Expressir::ExpressExp::Parser do
|
5
|
+
describe ".source" do
|
6
|
+
it "contains original source" do
|
7
|
+
input = File.read(sample_file)
|
8
|
+
repo = Expressir::ExpressExp::Parser.from_exp(sample_file)
|
9
|
+
|
10
|
+
schema = repo.schemas.first
|
11
|
+
start_index = input.index("SCHEMA")
|
12
|
+
stop_index = input.index("END_SCHEMA;") + "END_SCHEMA;".length - 1
|
13
|
+
expected_result = input[start_index..stop_index]
|
14
|
+
expect(schema.source).to eq(expected_result)
|
15
|
+
|
16
|
+
entity = schema.entities.first
|
17
|
+
start_index = input.index("ENTITY")
|
18
|
+
stop_index = input.index("END_ENTITY;") + "END_ENTITY;".length - 1
|
19
|
+
expected_result = input[start_index..stop_index]
|
20
|
+
expect(entity.source).to eq(expected_result)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def sample_file
|
25
|
+
@sample_file ||= Expressir.root_path.join(
|
26
|
+
"original", "examples", "syntax", "source.exp"
|
27
|
+
)
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
require "expressir/express_exp/parser"
|
3
|
+
|
4
|
+
RSpec.describe Expressir::Model::ModelElement do
|
5
|
+
describe ".from_hash" do
|
6
|
+
it "parses an object from hash" do
|
7
|
+
input = {
|
8
|
+
"_class" => "Expressir::Model::Repository",
|
9
|
+
"schemas" => [{
|
10
|
+
"_class" => "Expressir::Model::Schema",
|
11
|
+
"id" => "simple_schema",
|
12
|
+
"entities" => [{
|
13
|
+
"_class" => "Expressir::Model::Entity",
|
14
|
+
"id" => "empty_entity"
|
15
|
+
}]
|
16
|
+
}]
|
17
|
+
}
|
18
|
+
|
19
|
+
repo = Expressir::Model::ModelElement.from_hash(input)
|
20
|
+
|
21
|
+
expect(repo).to be_instance_of(Expressir::Model::Repository)
|
22
|
+
expect(repo.schemas).to be_instance_of(Array)
|
23
|
+
expect(repo.schemas.count).to eq(1)
|
24
|
+
expect(repo.schemas[0]).to be_instance_of(Expressir::Model::Schema)
|
25
|
+
expect(repo.schemas[0].id).to eq("simple_schema")
|
26
|
+
expect(repo.schemas[0].entities).to be_instance_of(Array)
|
27
|
+
expect(repo.schemas[0].entities.count).to eq(1)
|
28
|
+
expect(repo.schemas[0].entities[0]).to be_instance_of(Expressir::Model::Entity)
|
29
|
+
expect(repo.schemas[0].entities[0].id).to eq("empty_entity")
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
describe ".to_hash" do
|
34
|
+
it "exports an object to hash" do
|
35
|
+
repo = Expressir::ExpressExp::Parser.from_exp(sample_file)
|
36
|
+
|
37
|
+
result = repo.to_hash
|
38
|
+
|
39
|
+
expect(result).to be_instance_of(Hash)
|
40
|
+
expect(result["_class"]).to eq("Expressir::Model::Repository")
|
41
|
+
expect(result["schemas"]).to be_instance_of(Array)
|
42
|
+
expect(result["schemas"].count).to eq(1)
|
43
|
+
expect(result["schemas"][0]).to be_instance_of(Hash)
|
44
|
+
expect(result["schemas"][0]["_class"]).to eq("Expressir::Model::Schema")
|
45
|
+
expect(result["schemas"][0]["id"]).to eq("simple_schema")
|
46
|
+
expect(result["schemas"][0]["entities"]).to be_instance_of(Array)
|
47
|
+
expect(result["schemas"][0]["entities"].count).to eq(1)
|
48
|
+
expect(result["schemas"][0]["entities"][0]).to be_instance_of(Hash)
|
49
|
+
expect(result["schemas"][0]["entities"][0]["_class"]).to eq("Expressir::Model::Entity")
|
50
|
+
expect(result["schemas"][0]["entities"][0]["id"]).to eq("empty_entity")
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def sample_file
|
55
|
+
@sample_file ||= Expressir.root_path.join(
|
56
|
+
"original", "examples", "syntax", "simple.exp"
|
57
|
+
)
|
58
|
+
end
|
59
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
require "expressir/express_exp/parser"
|
3
3
|
|
4
|
-
RSpec.describe Expressir::Model do
|
4
|
+
RSpec.describe Expressir::Model::Scope do
|
5
5
|
describe ".find" do
|
6
6
|
it "finds an object" do
|
7
7
|
repo = Expressir::ExpressExp::Parser.from_exp(sample_file)
|
@@ -10,13 +10,16 @@ RSpec.describe Expressir::Model do
|
|
10
10
|
expect(repo.find('remark_schema')).to be_instance_of(Expressir::Model::Schema)
|
11
11
|
expect(repo.find('remark_schema.remark_constant')).to be_instance_of(Expressir::Model::Constant)
|
12
12
|
expect(repo.find('remark_schema.remark_type')).to be_instance_of(Expressir::Model::Type)
|
13
|
+
expect(repo.find('remark_schema.remark_type.WR1')).to be_instance_of(Expressir::Model::Where)
|
14
|
+
expect(repo.find('remark_schema.remark_type.wr:WR1')).to be_instance_of(Expressir::Model::Where)
|
13
15
|
expect(repo.find('remark_schema.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
|
14
16
|
expect(repo.find('remark_schema.remark_entity')).to be_instance_of(Expressir::Model::Entity)
|
15
17
|
expect(repo.find('remark_schema.remark_entity.remark_attribute')).to be_instance_of(Expressir::Model::Attribute)
|
16
18
|
expect(repo.find('remark_schema.remark_entity.remark_derived_attribute')).to be_instance_of(Expressir::Model::Attribute)
|
17
19
|
expect(repo.find('remark_schema.remark_entity.remark_inverse_attribute')).to be_instance_of(Expressir::Model::Attribute)
|
18
20
|
expect(repo.find('remark_schema.remark_entity.remark_unique')).to be_instance_of(Expressir::Model::Unique)
|
19
|
-
expect(repo.find('remark_schema.remark_entity.
|
21
|
+
expect(repo.find('remark_schema.remark_entity.WR1')).to be_instance_of(Expressir::Model::Where)
|
22
|
+
expect(repo.find('remark_schema.remark_entity.wr:WR1')).to be_instance_of(Expressir::Model::Where)
|
20
23
|
expect(repo.find('remark_schema.remark_subtype_constraint')).to be_instance_of(Expressir::Model::SubtypeConstraint)
|
21
24
|
expect(repo.find('remark_schema.remark_function')).to be_instance_of(Expressir::Model::Function)
|
22
25
|
expect(repo.find('remark_schema.remark_function.remark_parameter')).to be_instance_of(Expressir::Model::Parameter)
|
@@ -35,7 +38,8 @@ RSpec.describe Expressir::Model do
|
|
35
38
|
expect(repo.find('remark_schema.remark_rule.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
|
36
39
|
expect(repo.find('remark_schema.remark_rule.remark_constant')).to be_instance_of(Expressir::Model::Constant)
|
37
40
|
expect(repo.find('remark_schema.remark_rule.remark_variable')).to be_instance_of(Expressir::Model::Variable)
|
38
|
-
expect(repo.find('remark_schema.remark_rule.
|
41
|
+
expect(repo.find('remark_schema.remark_rule.WR1')).to be_instance_of(Expressir::Model::Where)
|
42
|
+
expect(repo.find('remark_schema.remark_rule.wr:WR1')).to be_instance_of(Expressir::Model::Where)
|
39
43
|
|
40
44
|
# schema scope
|
41
45
|
schema = repo.schemas.first
|
@@ -47,7 +51,8 @@ RSpec.describe Expressir::Model do
|
|
47
51
|
expect(schema.find('remark_entity.remark_derived_attribute')).to be_instance_of(Expressir::Model::Attribute)
|
48
52
|
expect(schema.find('remark_entity.remark_inverse_attribute')).to be_instance_of(Expressir::Model::Attribute)
|
49
53
|
expect(schema.find('remark_entity.remark_unique')).to be_instance_of(Expressir::Model::Unique)
|
50
|
-
expect(schema.find('remark_entity.
|
54
|
+
expect(schema.find('remark_entity.WR1')).to be_instance_of(Expressir::Model::Where)
|
55
|
+
expect(schema.find('remark_entity.wr:WR1')).to be_instance_of(Expressir::Model::Where)
|
51
56
|
expect(schema.find('remark_subtype_constraint')).to be_instance_of(Expressir::Model::SubtypeConstraint)
|
52
57
|
expect(schema.find('remark_function')).to be_instance_of(Expressir::Model::Function)
|
53
58
|
expect(schema.find('remark_function.remark_parameter')).to be_instance_of(Expressir::Model::Parameter)
|
@@ -66,7 +71,13 @@ RSpec.describe Expressir::Model do
|
|
66
71
|
expect(schema.find('remark_rule.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
|
67
72
|
expect(schema.find('remark_rule.remark_constant')).to be_instance_of(Expressir::Model::Constant)
|
68
73
|
expect(schema.find('remark_rule.remark_variable')).to be_instance_of(Expressir::Model::Variable)
|
69
|
-
expect(schema.find('remark_rule.
|
74
|
+
expect(schema.find('remark_rule.WR1')).to be_instance_of(Expressir::Model::Where)
|
75
|
+
expect(schema.find('remark_rule.wr:WR1')).to be_instance_of(Expressir::Model::Where)
|
76
|
+
|
77
|
+
# type scope
|
78
|
+
type = schema.types.first
|
79
|
+
expect(type.find('WR1')).to be_instance_of(Expressir::Model::Where)
|
80
|
+
expect(type.find('wr:WR1')).to be_instance_of(Expressir::Model::Where)
|
70
81
|
|
71
82
|
# entity scope
|
72
83
|
entity = schema.entities.first
|
@@ -74,7 +85,8 @@ RSpec.describe Expressir::Model do
|
|
74
85
|
expect(entity.find('remark_derived_attribute')).to be_instance_of(Expressir::Model::Attribute)
|
75
86
|
expect(entity.find('remark_inverse_attribute')).to be_instance_of(Expressir::Model::Attribute)
|
76
87
|
expect(entity.find('remark_unique')).to be_instance_of(Expressir::Model::Unique)
|
77
|
-
expect(entity.find('
|
88
|
+
expect(entity.find('WR1')).to be_instance_of(Expressir::Model::Where)
|
89
|
+
expect(entity.find('wr:WR1')).to be_instance_of(Expressir::Model::Where)
|
78
90
|
|
79
91
|
# function scope
|
80
92
|
function = schema.functions.first
|
@@ -98,7 +110,8 @@ RSpec.describe Expressir::Model do
|
|
98
110
|
expect(rule.find('remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
|
99
111
|
expect(rule.find('remark_constant')).to be_instance_of(Expressir::Model::Constant)
|
100
112
|
expect(rule.find('remark_variable')).to be_instance_of(Expressir::Model::Variable)
|
101
|
-
expect(rule.find('
|
113
|
+
expect(rule.find('WR1')).to be_instance_of(Expressir::Model::Where)
|
114
|
+
expect(rule.find('wr:WR1')).to be_instance_of(Expressir::Model::Where)
|
102
115
|
end
|
103
116
|
end
|
104
117
|
|
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: expressir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: nokogiri
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.10'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.10'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: thor
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '1.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rice
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :
|
47
|
+
version: '3'
|
48
|
+
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: antlr4-native
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.1.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.1.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,28 +100,42 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '13.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '13.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rake-compiler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.1
|
117
|
+
version: '1.1'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.1
|
124
|
+
version: '1.1'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rake-compiler-dock
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.1'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '1.1'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: rspec
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,6 +159,7 @@ extensions:
|
|
145
159
|
- ext/express-parser/extconf.rb
|
146
160
|
extra_rdoc_files: []
|
147
161
|
files:
|
162
|
+
- ".cross_rubies"
|
148
163
|
- ".github/workflows/rake.yml"
|
149
164
|
- ".github/workflows/release.yml"
|
150
165
|
- ".gitignore"
|
@@ -561,12 +576,14 @@ files:
|
|
561
576
|
- lib/expressir/model/expressions/unary_expression.rb
|
562
577
|
- lib/expressir/model/function.rb
|
563
578
|
- lib/expressir/model/identifier.rb
|
579
|
+
- lib/expressir/model/informal_proposition.rb
|
564
580
|
- lib/expressir/model/interface.rb
|
565
581
|
- lib/expressir/model/literals/binary.rb
|
566
582
|
- lib/expressir/model/literals/integer.rb
|
567
583
|
- lib/expressir/model/literals/logical.rb
|
568
584
|
- lib/expressir/model/literals/real.rb
|
569
585
|
- lib/expressir/model/literals/string.rb
|
586
|
+
- lib/expressir/model/model_element.rb
|
570
587
|
- lib/expressir/model/parameter.rb
|
571
588
|
- lib/expressir/model/procedure.rb
|
572
589
|
- lib/expressir/model/renamed_ref.rb
|
@@ -641,6 +658,8 @@ files:
|
|
641
658
|
- original/examples/plcs/ap239e2_arm_lf_stepmod-2010-01-25.xml
|
642
659
|
- original/examples/syntax/remark.exp
|
643
660
|
- original/examples/syntax/remark_formatted.exp
|
661
|
+
- original/examples/syntax/simple.exp
|
662
|
+
- original/examples/syntax/source.exp
|
644
663
|
- original/examples/syntax/syntax.exp
|
645
664
|
- original/examples/syntax/syntax_formatted.exp
|
646
665
|
- original/exp2ruby.rb
|
@@ -650,15 +669,20 @@ files:
|
|
650
669
|
- original/mapping_uml2.rb
|
651
670
|
- original/mapping_uml2_eclipse.rb
|
652
671
|
- original/reeper.rb
|
672
|
+
- rakelib/cross-ruby.rake
|
653
673
|
- spec/acceptance/express_to_owl_spec.rb
|
654
674
|
- spec/acceptance/version_spec.rb
|
655
675
|
- spec/expressir/express/repository_spec.rb
|
656
676
|
- spec/expressir/express_exp/ap233_spec.rb
|
657
677
|
- spec/expressir/express_exp/format_remark_spec.rb
|
658
678
|
- spec/expressir/express_exp/format_syntax_spec.rb
|
679
|
+
- spec/expressir/express_exp/head_source_spec.rb
|
680
|
+
- spec/expressir/express_exp/parse_multiple_spec.rb
|
659
681
|
- spec/expressir/express_exp/parse_remark_spec.rb
|
660
682
|
- spec/expressir/express_exp/parse_syntax_spec.rb
|
661
|
-
- spec/expressir/
|
683
|
+
- spec/expressir/express_exp/source_spec.rb
|
684
|
+
- spec/expressir/model/model_element_spec.rb
|
685
|
+
- spec/expressir/model/scope_spec.rb
|
662
686
|
- spec/expressr_spec.rb
|
663
687
|
- spec/spec_helper.rb
|
664
688
|
- spec/support/console_helper.rb
|
@@ -677,7 +701,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
677
701
|
requirements:
|
678
702
|
- - ">="
|
679
703
|
- !ruby/object:Gem::Version
|
680
|
-
version:
|
704
|
+
version: 2.4.0
|
681
705
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
682
706
|
requirements:
|
683
707
|
- - ">="
|