gammo 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/Gemfile.lock +9 -1
- data/README.md +402 -2
- data/Rakefile +6 -0
- data/lib/gammo/attribute.rb +13 -4
- data/lib/gammo/attributes.rb +95 -0
- data/lib/gammo/node.rb +120 -26
- data/lib/gammo/parser.rb +3 -1
- data/lib/gammo/version.rb +1 -1
- data/lib/gammo/xpath.rb +74 -0
- data/lib/gammo/xpath/ast/axis.rb +231 -0
- data/lib/gammo/xpath/ast/expression.rb +250 -0
- data/lib/gammo/xpath/ast/function.rb +179 -0
- data/lib/gammo/xpath/ast/node_test.rb +86 -0
- data/lib/gammo/xpath/ast/path.rb +100 -0
- data/lib/gammo/xpath/ast/subclassify.rb +35 -0
- data/lib/gammo/xpath/ast/value.rb +150 -0
- data/lib/gammo/xpath/context.rb +23 -0
- data/lib/gammo/xpath/errors.rb +9 -0
- data/lib/gammo/xpath/node_set.rb +43 -0
- data/lib/gammo/xpath/parser.rb +1099 -0
- data/lib/gammo/xpath/parser.y +513 -0
- data/misc/table.erubi +1 -1
- metadata +16 -2
data/misc/table.erubi
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gammo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- namusyaka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Gammo is an implementation of the HTML5 parsing algorithm which conforms
|
14
14
|
the WHATWG specification with pure Ruby.
|
@@ -28,6 +28,7 @@ files:
|
|
28
28
|
- gammo.gemspec
|
29
29
|
- lib/gammo.rb
|
30
30
|
- lib/gammo/attribute.rb
|
31
|
+
- lib/gammo/attributes.rb
|
31
32
|
- lib/gammo/fragment_parser.rb
|
32
33
|
- lib/gammo/node.rb
|
33
34
|
- lib/gammo/parser.rb
|
@@ -67,6 +68,19 @@ files:
|
|
67
68
|
- lib/gammo/tokenizer/script_scanner.rb
|
68
69
|
- lib/gammo/tokenizer/tokens.rb
|
69
70
|
- lib/gammo/version.rb
|
71
|
+
- lib/gammo/xpath.rb
|
72
|
+
- lib/gammo/xpath/ast/axis.rb
|
73
|
+
- lib/gammo/xpath/ast/expression.rb
|
74
|
+
- lib/gammo/xpath/ast/function.rb
|
75
|
+
- lib/gammo/xpath/ast/node_test.rb
|
76
|
+
- lib/gammo/xpath/ast/path.rb
|
77
|
+
- lib/gammo/xpath/ast/subclassify.rb
|
78
|
+
- lib/gammo/xpath/ast/value.rb
|
79
|
+
- lib/gammo/xpath/context.rb
|
80
|
+
- lib/gammo/xpath/errors.rb
|
81
|
+
- lib/gammo/xpath/node_set.rb
|
82
|
+
- lib/gammo/xpath/parser.rb
|
83
|
+
- lib/gammo/xpath/parser.y
|
70
84
|
- misc/html.yaml
|
71
85
|
- misc/table.erubi
|
72
86
|
homepage: https://github.com/namusyaka/gammo
|