sbsm 1.2.6 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,46 +0,0 @@
1
- # encoding: utf-8
2
- require 'rockit/rockit'
3
- module SBSM
4
- # Parser for Uri
5
- # created by Rockit version 0.3.8 on Wed Jul 19 18:22:17 CEST 2006
6
- # Rockit is copyright (c) 2001 Robert Feldt, feldt@ce.chalmers.se
7
- # and licensed under GPL
8
- # but this parser is under LGPL
9
- tokens = [
10
- t1 = EofToken.new("EOF",/^(¤~~¤¤~^^~3499569544)/),
11
- t2 = Token.new("SLASH",/^(\/)/),
12
- t3 = Token.new("OTHER",/^([^\/]+)/),
13
- t4 = Token.new("LANG",/^([a-z]{2})/)
14
- ]
15
- productions = [
16
- p1 = Production.new("Uri'".intern,[:Uri],SyntaxTreeBuilder.new("Uri'",["uri"],[])),
17
- p2 = Production.new(:Uri,[t2, t4, t2, t3, t2, :Variables],SyntaxTreeBuilder.new("Uri",["_", "language", "_", "event", "_", "variables"],[])),
18
- p3 = Production.new(:Uri,[t2, t4, t2, t3, t2],SyntaxTreeBuilder.new("Uri",["_", "language", "_", "event"],[])),
19
- p4 = Production.new(:Uri,[t2, t4, t2, t3],SyntaxTreeBuilder.new("Uri",["_", "language", "_", "event"],[nil])),
20
- p5 = Production.new(:Uri,[t2, t4, t2],SyntaxTreeBuilder.new("Uri",["_", "language"],[])),
21
- p6 = Production.new(:Uri,[t2, t4],SyntaxTreeBuilder.new("Uri",["_", "language"],[nil])),
22
- p7 = Production.new(:Uri,[t2],SyntaxTreeBuilder.new("Uri",["_"],[])),
23
- p8 = Production.new(:Variables,[:Plus404380716, t2],LiftingSyntaxTreeBuilder.new(["pair"],[])),
24
- p9 = Production.new(:Variables,[:Plus404380716],LiftingSyntaxTreeBuilder.new(["pair"],[nil])),
25
- p10 = Production.new(:Plus404380716,[:Plus404380716, :Pair],ArrayNodeBuilder.new([1],0,nil,nil,[],true)),
26
- p11 = Production.new(:Plus404380716,[:Pair],ArrayNodeBuilder.new([0],nil,nil,nil,[],true)),
27
- p12 = Production.new(:Pair,[t3, t2, t3, t2],SyntaxTreeBuilder.new("Pair",["key", "_", "value"],[])),
28
- p13 = Production.new(:Pair,[t3, t2, t3],SyntaxTreeBuilder.new("Pair",["key", "_", "value"],[nil])),
29
- p14 = Production.new(:Pair,[t3, t2, t2],SyntaxTreeBuilder.new("Pair",["key"],[])),
30
- p15 = Production.new(:Pair,[t3],SyntaxTreeBuilder.new("Pair",["key"],[]))
31
- ]
32
- relations = [
33
-
34
- ]
35
- priorities = ProductionPriorities.new(relations)
36
- action_table = [[9, 2], [2, 1], [13, 8, 24, 1], [17, 2, 20, 1], [21, 4, 16, 1], [25, 2, 12, 1], [41, 4, 8, 1], [49, 2, 41, 4, 32, 1], [4, 1], [40, 7], [53, 2, 56, 7], [36, 7], [28, 1], [57, 2, 61, 4], [52, 7], [65, 2, 48, 7], [44, 7]]
37
- goto_hash = {0 => {1 => 1}, 6 => {2 => 8, 3 => 7, 4 => 9}, 7 => {4 => 11}}
38
- @@parse_table404243016 = ParseTable.new(productions,tokens,priorities,action_table,goto_hash,2,[
39
- :REDUCE,
40
- :SHIFT,
41
- :ACCEPT
42
- ])
43
- def SBSM._uri_parser
44
- GeneralizedLrParser.new(@@parse_table404243016)
45
- end
46
- end
@@ -1,48 +0,0 @@
1
- # encoding: utf-8
2
- require 'rockit/rockit'
3
- module SBSM
4
- # Parser for Uri
5
- # created by Rockit version 0.3.8 on Wed Jul 19 18:24:42 CEST 2006
6
- # Rockit is copyright (c) 2001 Robert Feldt, feldt@ce.chalmers.se
7
- # and licensed under GPL
8
- # but this parser is under LGPL
9
- tokens = [
10
- t1 = EofToken.new("EOF",/^(¤~~¤¤~^^~3493746103)/),
11
- t2 = Token.new("SLASH",/^(\/)/),
12
- t3 = Token.new("OTHER",/^([^\/]+)/),
13
- t4 = Token.new("LANG",/^([a-z]{2})/)
14
- ]
15
- productions = [
16
- p1 = Production.new("Uri'".intern,[:Uri],SyntaxTreeBuilder.new("Uri'",["uri"],[])),
17
- p2 = Production.new(:Uri,[t2, t4, t2, t3, t2, t3, t2, :Variables],SyntaxTreeBuilder.new("Uri",["_", "language", "_", "zone", "_", "event", "_", "variables"],[])),
18
- p3 = Production.new(:Uri,[t2, t4, t2, t3, t2, t3, t2],SyntaxTreeBuilder.new("Uri",["_", "language", "_", "zone", "_", "event"],[])),
19
- p4 = Production.new(:Uri,[t2, t4, t2, t3, t2, t3],SyntaxTreeBuilder.new("Uri",["_", "language", "_", "zone", "_", "event"],[nil])),
20
- p5 = Production.new(:Uri,[t2, t4, t2, t3, t2],SyntaxTreeBuilder.new("Uri",["_", "language", "_", "zone"],[])),
21
- p6 = Production.new(:Uri,[t2, t4, t2, t3],SyntaxTreeBuilder.new("Uri",["_", "language", "_", "zone"],[nil])),
22
- p7 = Production.new(:Uri,[t2, t4, t2],SyntaxTreeBuilder.new("Uri",["_", "language"],[])),
23
- p8 = Production.new(:Uri,[t2, t4],SyntaxTreeBuilder.new("Uri",["_", "language"],[nil])),
24
- p9 = Production.new(:Uri,[t2],SyntaxTreeBuilder.new("Uri",["_"],[])),
25
- p10 = Production.new(:Variables,[:Plus403922760, t2],LiftingSyntaxTreeBuilder.new(["pair"],[])),
26
- p11 = Production.new(:Variables,[:Plus403922760],LiftingSyntaxTreeBuilder.new(["pair"],[nil])),
27
- p12 = Production.new(:Plus403922760,[:Plus403922760, :Pair],ArrayNodeBuilder.new([1],0,nil,nil,[],true)),
28
- p13 = Production.new(:Plus403922760,[:Pair],ArrayNodeBuilder.new([0],nil,nil,nil,[],true)),
29
- p14 = Production.new(:Pair,[t3, t2, t3, t2],SyntaxTreeBuilder.new("Pair",["key", "_", "value"],[])),
30
- p15 = Production.new(:Pair,[t3, t2, t3],SyntaxTreeBuilder.new("Pair",["key", "_", "value"],[nil])),
31
- p16 = Production.new(:Pair,[t3, t2, t2],SyntaxTreeBuilder.new("Pair",["key"],[])),
32
- p17 = Production.new(:Pair,[t3],SyntaxTreeBuilder.new("Pair",["key"],[]))
33
- ]
34
- relations = [
35
-
36
- ]
37
- priorities = ProductionPriorities.new(relations)
38
- action_table = [[9, 2], [2, 1], [13, 8, 32, 1], [17, 2, 28, 1], [21, 4, 24, 1], [25, 2, 20, 1], [29, 4, 16, 1], [33, 2, 12, 1], [49, 4, 8, 1], [53, 2, 49, 4, 40, 1], [4, 1], [48, 7], [61, 2, 64, 7], [36, 1], [44, 7], [65, 2, 69, 4], [60, 7], [73, 2, 56, 7], [52, 7]]
39
- goto_hash = {0 => {1 => 1}, 8 => {2 => 10, 3 => 9, 4 => 11}, 9 => {4 => 14}}
40
- @@parse_table403739556 = ParseTable.new(productions,tokens,priorities,action_table,goto_hash,2,[
41
- :REDUCE,
42
- :SHIFT,
43
- :ACCEPT
44
- ])
45
- def SBSM._zone_uri_parser
46
- GeneralizedLrParser.new(@@parse_table403739556)
47
- end
48
- end
data/lib/version.rb DELETED
@@ -1 +0,0 @@
1
- VERSION = '1.2.6'