herb 0.9.1-arm-linux-gnu → 0.9.3-arm-linux-gnu
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/config.yml +125 -0
- data/ext/herb/error_helpers.c +172 -2
- data/ext/herb/extconf.rb +6 -0
- data/ext/herb/extension.c +16 -2
- data/ext/herb/extension_helpers.c +6 -5
- data/ext/herb/extension_helpers.h +4 -4
- data/ext/herb/nodes.c +89 -3
- data/lib/herb/3.0/herb.so +0 -0
- data/lib/herb/3.1/herb.so +0 -0
- data/lib/herb/3.2/herb.so +0 -0
- data/lib/herb/3.3/herb.so +0 -0
- data/lib/herb/3.4/herb.so +0 -0
- data/lib/herb/4.0/herb.so +0 -0
- data/lib/herb/ast/erb_content_node.rb +32 -0
- data/lib/herb/ast/nodes.rb +244 -3
- data/lib/herb/cli.rb +12 -2
- data/lib/herb/engine/compiler.rb +136 -97
- data/lib/herb/engine/validators/security_validator.rb +40 -0
- data/lib/herb/engine.rb +21 -0
- data/lib/herb/errors.rb +268 -0
- data/lib/herb/parser_options.rb +7 -2
- data/lib/herb/version.rb +1 -1
- data/lib/herb/visitor.rb +82 -0
- data/lib/herb.rb +1 -0
- data/sig/herb/ast/erb_content_node.rbs +13 -0
- data/sig/herb/ast/nodes.rbs +98 -2
- data/sig/herb/engine/compiler.rbs +18 -3
- data/sig/herb/engine/validators/security_validator.rbs +4 -0
- data/sig/herb/engine.rbs +4 -0
- data/sig/herb/errors.rbs +122 -0
- data/sig/herb/parser_options.rbs +6 -2
- data/sig/herb/visitor.rbs +12 -0
- data/sig/serialized_ast_errors.rbs +29 -0
- data/sig/serialized_ast_nodes.rbs +19 -0
- data/src/analyze/action_view/attribute_extraction_helpers.c +425 -87
- data/src/analyze/action_view/image_tag.c +87 -0
- data/src/analyze/action_view/javascript_include_tag.c +102 -0
- data/src/analyze/action_view/javascript_tag.c +55 -0
- data/src/analyze/action_view/registry.c +10 -3
- data/src/analyze/action_view/tag.c +19 -2
- data/src/analyze/action_view/tag_helper_node_builders.c +119 -37
- data/src/analyze/action_view/tag_helpers.c +1033 -32
- data/src/analyze/analyze.c +165 -10
- data/src/analyze/{helpers.c → analyze_helpers.c} +1 -1
- data/src/analyze/analyzed_ruby.c +1 -1
- data/src/analyze/builders.c +11 -8
- data/src/analyze/conditional_elements.c +6 -7
- data/src/analyze/conditional_open_tags.c +6 -7
- data/src/analyze/control_type.c +4 -2
- data/src/analyze/invalid_structures.c +5 -5
- data/src/analyze/missing_end.c +2 -2
- data/src/analyze/parse_errors.c +5 -5
- data/src/analyze/prism_annotate.c +7 -7
- data/src/analyze/render_nodes.c +6 -26
- data/src/analyze/strict_locals.c +637 -0
- data/src/analyze/transform.c +7 -0
- data/src/{ast_node.c → ast/ast_node.c} +8 -8
- data/src/{ast_nodes.c → ast/ast_nodes.c} +82 -11
- data/src/{ast_pretty_print.c → ast/ast_pretty_print.c} +113 -9
- data/src/{pretty_print.c → ast/pretty_print.c} +9 -9
- data/src/errors.c +398 -8
- data/src/extract.c +5 -5
- data/src/herb.c +15 -5
- data/src/include/analyze/action_view/attribute_extraction_helpers.h +3 -1
- data/src/include/analyze/action_view/tag_helper_handler.h +3 -3
- data/src/include/analyze/action_view/tag_helper_node_builders.h +34 -5
- data/src/include/analyze/action_view/tag_helpers.h +4 -3
- data/src/include/analyze/analyze.h +6 -4
- data/src/include/analyze/analyzed_ruby.h +2 -2
- data/src/include/analyze/builders.h +4 -4
- data/src/include/analyze/conditional_elements.h +2 -2
- data/src/include/analyze/conditional_open_tags.h +2 -2
- data/src/include/analyze/control_type.h +1 -1
- data/src/include/analyze/helpers.h +2 -2
- data/src/include/analyze/invalid_structures.h +1 -1
- data/src/include/analyze/prism_annotate.h +2 -2
- data/src/include/analyze/render_nodes.h +1 -1
- data/src/include/analyze/strict_locals.h +11 -0
- data/src/include/{ast_node.h → ast/ast_node.h} +4 -4
- data/src/include/{ast_nodes.h → ast/ast_nodes.h} +38 -14
- data/src/include/{ast_pretty_print.h → ast/ast_pretty_print.h} +3 -3
- data/src/include/{pretty_print.h → ast/pretty_print.h} +4 -4
- data/src/include/errors.h +65 -7
- data/src/include/extract.h +2 -2
- data/src/include/herb.h +5 -5
- data/src/include/{lex_helpers.h → lexer/lex_helpers.h} +5 -5
- data/src/include/{lexer.h → lexer/lexer.h} +1 -1
- data/src/include/{lexer_peek_helpers.h → lexer/lexer_peek_helpers.h} +2 -2
- data/src/include/{lexer_struct.h → lexer/lexer_struct.h} +2 -2
- data/src/include/{token.h → lexer/token.h} +3 -3
- data/src/include/{token_matchers.h → lexer/token_matchers.h} +1 -1
- data/src/include/{token_struct.h → lexer/token_struct.h} +3 -3
- data/src/include/{util → lib}/hb_foreach.h +1 -1
- data/src/include/{util → lib}/hb_string.h +5 -1
- data/src/include/{location.h → location/location.h} +1 -1
- data/src/include/parser/dot_notation.h +12 -0
- data/src/include/{parser.h → parser/parser.h} +11 -4
- data/src/include/{parser_helpers.h → parser/parser_helpers.h} +6 -6
- data/src/include/{prism_context.h → prism/prism_context.h} +2 -2
- data/src/include/{prism_helpers.h → prism/prism_helpers.h} +6 -6
- data/src/include/{html_util.h → util/html_util.h} +2 -1
- data/src/include/util/ruby_util.h +9 -0
- data/src/include/{utf8.h → util/utf8.h} +1 -1
- data/src/include/{util.h → util/util.h} +1 -1
- data/src/include/version.h +1 -1
- data/src/include/visitor.h +3 -3
- data/src/{lexer_peek_helpers.c → lexer/lexer_peek_helpers.c} +3 -3
- data/src/{token.c → lexer/token.c} +8 -8
- data/src/{token_matchers.c → lexer/token_matchers.c} +2 -2
- data/src/lexer.c +6 -6
- data/src/{util → lib}/hb_allocator.c +2 -2
- data/src/{util → lib}/hb_arena.c +4 -8
- data/src/{util → lib}/hb_arena_debug.c +2 -2
- data/src/{util → lib}/hb_array.c +2 -2
- data/src/{util → lib}/hb_buffer.c +2 -2
- data/src/{util → lib}/hb_narray.c +1 -1
- data/src/{util → lib}/hb_string.c +2 -2
- data/src/{location.c → location/location.c} +2 -2
- data/src/{position.c → location/position.c} +2 -2
- data/src/{range.c → location/range.c} +1 -1
- data/src/main.c +11 -11
- data/src/parser/dot_notation.c +100 -0
- data/src/{parser_match_tags.c → parser/match_tags.c} +34 -5
- data/src/{parser_helpers.c → parser/parser_helpers.c} +10 -10
- data/src/parser.c +68 -32
- data/src/{prism_helpers.c → prism/prism_helpers.c} +7 -7
- data/src/{ruby_parser.c → prism/ruby_parser.c} +1 -1
- data/src/{html_util.c → util/html_util.c} +54 -4
- data/src/{io.c → util/io.c} +3 -3
- data/src/util/ruby_util.c +42 -0
- data/src/{utf8.c → util/utf8.c} +2 -2
- data/src/{util.c → util/util.c} +4 -4
- data/src/visitor.c +35 -3
- data/templates/ext/herb/error_helpers.c.erb +2 -2
- data/templates/ext/herb/nodes.c.erb +1 -1
- data/templates/java/error_helpers.c.erb +1 -1
- data/templates/java/error_helpers.h.erb +2 -2
- data/templates/java/nodes.c.erb +4 -4
- data/templates/java/nodes.h.erb +1 -1
- data/templates/javascript/packages/node/extension/error_helpers.cpp.erb +4 -4
- data/templates/javascript/packages/node/extension/nodes.cpp.erb +4 -4
- data/templates/lib/herb/visitor.rb.erb +14 -0
- data/templates/src/analyze/missing_end.c.erb +2 -2
- data/templates/src/{ast_nodes.c.erb → ast/ast_nodes.c.erb} +9 -9
- data/templates/src/{ast_pretty_print.c.erb → ast/ast_pretty_print.c.erb} +8 -8
- data/templates/src/errors.c.erb +8 -8
- data/templates/src/include/{ast_nodes.h.erb → ast/ast_nodes.h.erb} +11 -12
- data/templates/src/include/{ast_pretty_print.h.erb → ast/ast_pretty_print.h.erb} +2 -2
- data/templates/src/include/errors.h.erb +7 -7
- data/templates/src/{parser_match_tags.c.erb → parser/match_tags.c.erb} +4 -4
- data/templates/src/visitor.c.erb +3 -3
- data/templates/wasm/error_helpers.cpp.erb +4 -4
- data/templates/wasm/nodes.cpp.erb +5 -5
- metadata +78 -68
- data/src/include/element_source.h +0 -10
- /data/src/include/{util → lib}/hb_allocator.h +0 -0
- /data/src/include/{util → lib}/hb_arena.h +0 -0
- /data/src/include/{util → lib}/hb_arena_debug.h +0 -0
- /data/src/include/{util → lib}/hb_array.h +0 -0
- /data/src/include/{util → lib}/hb_buffer.h +0 -0
- /data/src/include/{util → lib}/hb_narray.h +0 -0
- /data/src/include/{util → lib}/string.h +0 -0
- /data/src/include/{position.h → location/position.h} +0 -0
- /data/src/include/{range.h → location/range.h} +0 -0
- /data/src/include/{herb_prism_node.h → prism/herb_prism_node.h} +0 -0
- /data/src/include/{prism_serialized.h → prism/prism_serialized.h} +0 -0
- /data/src/include/{ruby_parser.h → prism/ruby_parser.h} +0 -0
- /data/src/include/{io.h → util/io.h} +0 -0
- /data/templates/src/include/{util → lib}/hb_foreach.h.erb +0 -0
data/templates/src/errors.c.erb
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#include "include/errors.h"
|
|
2
|
-
#include "include/location.h"
|
|
3
|
-
#include "include/position.h"
|
|
4
|
-
#include "include/pretty_print.h"
|
|
5
|
-
#include "include/token.h"
|
|
6
|
-
#include "include/util.h"
|
|
7
|
-
#include "include/
|
|
8
|
-
#include "include/
|
|
9
|
-
#include "include/
|
|
2
|
+
#include "include/location/location.h"
|
|
3
|
+
#include "include/location/position.h"
|
|
4
|
+
#include "include/ast/pretty_print.h"
|
|
5
|
+
#include "include/lexer/token.h"
|
|
6
|
+
#include "include/util/util.h"
|
|
7
|
+
#include "include/lib/hb_allocator.h"
|
|
8
|
+
#include "include/lib/hb_array.h"
|
|
9
|
+
#include "include/lib/hb_string.h"
|
|
10
10
|
|
|
11
11
|
#include <stdio.h>
|
|
12
12
|
#include <stdbool.h>
|
|
@@ -4,18 +4,17 @@
|
|
|
4
4
|
#include <stdbool.h>
|
|
5
5
|
#include <prism.h>
|
|
6
6
|
|
|
7
|
-
#include "analyze/analyzed_ruby.h"
|
|
8
|
-
#include "
|
|
9
|
-
#include "
|
|
10
|
-
#include "
|
|
11
|
-
#include "
|
|
12
|
-
#include "location.h"
|
|
13
|
-
#include "
|
|
14
|
-
#include "
|
|
15
|
-
#include "
|
|
16
|
-
#include "
|
|
17
|
-
#include "
|
|
18
|
-
#include "util/hb_string.h"
|
|
7
|
+
#include "../analyze/analyzed_ruby.h"
|
|
8
|
+
#include "../prism/herb_prism_node.h"
|
|
9
|
+
#include "../prism/prism_context.h"
|
|
10
|
+
#include "../prism/prism_serialized.h"
|
|
11
|
+
#include "../location/location.h"
|
|
12
|
+
#include "../location/position.h"
|
|
13
|
+
#include "../lexer/token_struct.h"
|
|
14
|
+
#include "../lib/hb_allocator.h"
|
|
15
|
+
#include "../lib/hb_array.h"
|
|
16
|
+
#include "../lib/hb_buffer.h"
|
|
17
|
+
#include "../lib/hb_string.h"
|
|
19
18
|
|
|
20
19
|
typedef enum {
|
|
21
20
|
<%- nodes.each do |node| -%>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
#define HERB_ERRORS_H
|
|
3
3
|
|
|
4
4
|
#include "errors.h"
|
|
5
|
-
#include "location.h"
|
|
6
|
-
#include "position.h"
|
|
7
|
-
#include "token.h"
|
|
8
|
-
#include "
|
|
9
|
-
#include "
|
|
10
|
-
#include "
|
|
11
|
-
#include "
|
|
5
|
+
#include "location/location.h"
|
|
6
|
+
#include "location/position.h"
|
|
7
|
+
#include "lexer/token.h"
|
|
8
|
+
#include "lib/hb_allocator.h"
|
|
9
|
+
#include "lib/hb_array.h"
|
|
10
|
+
#include "lib/hb_buffer.h"
|
|
11
|
+
#include "lib/hb_string.h"
|
|
12
12
|
|
|
13
13
|
typedef enum {
|
|
14
14
|
<%- errors.each do |error| -%>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
#include "include/parser.h"
|
|
2
|
-
#include "include/ast_nodes.h"
|
|
3
|
-
#include "include/
|
|
4
|
-
#include "include/visitor.h"
|
|
1
|
+
#include "../include/parser/parser.h"
|
|
2
|
+
#include "../include/ast/ast_nodes.h"
|
|
3
|
+
#include "../include/lib/hb_array.h"
|
|
4
|
+
#include "../include/visitor.h"
|
|
5
5
|
|
|
6
6
|
bool match_tags_visitor(const AST_NODE_T* node, void* data) {
|
|
7
7
|
match_tags_context_T* context = (match_tags_context_T*) data;
|
data/templates/src/visitor.c.erb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#include <stdio.h>
|
|
2
2
|
|
|
3
|
-
#include "include/ast_node.h"
|
|
4
|
-
#include "include/ast_nodes.h"
|
|
5
|
-
#include "include/
|
|
3
|
+
#include "include/ast/ast_node.h"
|
|
4
|
+
#include "include/ast/ast_nodes.h"
|
|
5
|
+
#include "include/lib/hb_array.h"
|
|
6
6
|
#include "include/visitor.h"
|
|
7
7
|
|
|
8
8
|
void herb_visit_node(const AST_NODE_T* node, bool (*visitor)(const AST_NODE_T*, void*), void* data) {
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
#include "extension_helpers.h"
|
|
9
9
|
|
|
10
10
|
extern "C" {
|
|
11
|
-
#include "../src/include/ast_node.h"
|
|
12
|
-
#include "../src/include/ast_nodes.h"
|
|
11
|
+
#include "../src/include/ast/ast_node.h"
|
|
12
|
+
#include "../src/include/ast/ast_nodes.h"
|
|
13
13
|
#include "../src/include/errors.h"
|
|
14
14
|
#include "../src/include/herb.h"
|
|
15
|
-
#include "../src/include/token.h"
|
|
16
|
-
#include "../src/include/
|
|
15
|
+
#include "../src/include/lexer/token.h"
|
|
16
|
+
#include "../src/include/lib/hb_array.h"
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
using namespace emscripten;
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
#include "error_helpers.h"
|
|
5
5
|
#include "extension_helpers.h"
|
|
6
6
|
|
|
7
|
-
#include "../src/include/ast_node.h"
|
|
8
|
-
#include "../src/include/ast_nodes.h"
|
|
7
|
+
#include "../src/include/ast/ast_node.h"
|
|
8
|
+
#include "../src/include/ast/ast_nodes.h"
|
|
9
9
|
#include "../src/include/herb.h"
|
|
10
|
-
#include "../src/include/location.h"
|
|
11
|
-
#include "../src/include/token.h"
|
|
12
|
-
#include "../src/include/
|
|
10
|
+
#include "../src/include/location/location.h"
|
|
11
|
+
#include "../src/include/lexer/token.h"
|
|
12
|
+
#include "../src/include/lib/hb_array.h"
|
|
13
13
|
|
|
14
14
|
using namespace emscripten;
|
|
15
15
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: herb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.3
|
|
5
5
|
platform: arm-linux-gnu
|
|
6
6
|
authors:
|
|
7
7
|
- Marco Roth
|
|
@@ -41,6 +41,7 @@ files:
|
|
|
41
41
|
- lib/herb/3.4/herb.so
|
|
42
42
|
- lib/herb/4.0/herb.so
|
|
43
43
|
- lib/herb/ast.rb
|
|
44
|
+
- lib/herb/ast/erb_content_node.rb
|
|
44
45
|
- lib/herb/ast/helpers.rb
|
|
45
46
|
- lib/herb/ast/node.rb
|
|
46
47
|
- lib/herb/ast/nodes.rb
|
|
@@ -77,6 +78,7 @@ files:
|
|
|
77
78
|
- lib/herb/warnings.rb
|
|
78
79
|
- sig/herb.rbs
|
|
79
80
|
- sig/herb/ast.rbs
|
|
81
|
+
- sig/herb/ast/erb_content_node.rbs
|
|
80
82
|
- sig/herb/ast/helpers.rbs
|
|
81
83
|
- sig/herb/ast/node.rbs
|
|
82
84
|
- sig/herb/ast/nodes.rbs
|
|
@@ -116,6 +118,9 @@ files:
|
|
|
116
118
|
- sig/serialized_ast_nodes.rbs
|
|
117
119
|
- src/analyze/action_view/attribute_extraction_helpers.c
|
|
118
120
|
- src/analyze/action_view/content_tag.c
|
|
121
|
+
- src/analyze/action_view/image_tag.c
|
|
122
|
+
- src/analyze/action_view/javascript_include_tag.c
|
|
123
|
+
- src/analyze/action_view/javascript_tag.c
|
|
119
124
|
- src/analyze/action_view/link_to.c
|
|
120
125
|
- src/analyze/action_view/registry.c
|
|
121
126
|
- src/analyze/action_view/tag.c
|
|
@@ -123,25 +128,26 @@ files:
|
|
|
123
128
|
- src/analyze/action_view/tag_helpers.c
|
|
124
129
|
- src/analyze/action_view/turbo_frame_tag.c
|
|
125
130
|
- src/analyze/analyze.c
|
|
131
|
+
- src/analyze/analyze_helpers.c
|
|
126
132
|
- src/analyze/analyzed_ruby.c
|
|
127
133
|
- src/analyze/builders.c
|
|
128
134
|
- src/analyze/conditional_elements.c
|
|
129
135
|
- src/analyze/conditional_open_tags.c
|
|
130
136
|
- src/analyze/control_type.c
|
|
131
|
-
- src/analyze/helpers.c
|
|
132
137
|
- src/analyze/invalid_structures.c
|
|
133
138
|
- src/analyze/missing_end.c
|
|
134
139
|
- src/analyze/parse_errors.c
|
|
135
140
|
- src/analyze/prism_annotate.c
|
|
136
141
|
- src/analyze/render_nodes.c
|
|
142
|
+
- src/analyze/strict_locals.c
|
|
137
143
|
- src/analyze/transform.c
|
|
138
|
-
- src/ast_node.c
|
|
139
|
-
- src/ast_nodes.c
|
|
140
|
-
- src/ast_pretty_print.c
|
|
144
|
+
- src/ast/ast_node.c
|
|
145
|
+
- src/ast/ast_nodes.c
|
|
146
|
+
- src/ast/ast_pretty_print.c
|
|
147
|
+
- src/ast/pretty_print.c
|
|
141
148
|
- src/errors.c
|
|
142
149
|
- src/extract.c
|
|
143
150
|
- src/herb.c
|
|
144
|
-
- src/html_util.c
|
|
145
151
|
- src/include/analyze/action_view/attribute_extraction_helpers.h
|
|
146
152
|
- src/include/analyze/action_view/tag_helper_handler.h
|
|
147
153
|
- src/include/analyze/action_view/tag_helper_node_builders.h
|
|
@@ -156,71 +162,75 @@ files:
|
|
|
156
162
|
- src/include/analyze/invalid_structures.h
|
|
157
163
|
- src/include/analyze/prism_annotate.h
|
|
158
164
|
- src/include/analyze/render_nodes.h
|
|
159
|
-
- src/include/
|
|
160
|
-
- src/include/
|
|
161
|
-
- src/include/
|
|
162
|
-
- src/include/
|
|
165
|
+
- src/include/analyze/strict_locals.h
|
|
166
|
+
- src/include/ast/ast_node.h
|
|
167
|
+
- src/include/ast/ast_nodes.h
|
|
168
|
+
- src/include/ast/ast_pretty_print.h
|
|
169
|
+
- src/include/ast/pretty_print.h
|
|
163
170
|
- src/include/errors.h
|
|
164
171
|
- src/include/extract.h
|
|
165
172
|
- src/include/herb.h
|
|
166
|
-
- src/include/
|
|
167
|
-
- src/include/
|
|
168
|
-
- src/include/
|
|
169
|
-
- src/include/
|
|
170
|
-
- src/include/lexer.h
|
|
171
|
-
- src/include/
|
|
172
|
-
- src/include/
|
|
173
|
-
- src/include/
|
|
173
|
+
- src/include/lexer/lex_helpers.h
|
|
174
|
+
- src/include/lexer/lexer.h
|
|
175
|
+
- src/include/lexer/lexer_peek_helpers.h
|
|
176
|
+
- src/include/lexer/lexer_struct.h
|
|
177
|
+
- src/include/lexer/token.h
|
|
178
|
+
- src/include/lexer/token_matchers.h
|
|
179
|
+
- src/include/lexer/token_struct.h
|
|
180
|
+
- src/include/lib/hb_allocator.h
|
|
181
|
+
- src/include/lib/hb_arena.h
|
|
182
|
+
- src/include/lib/hb_arena_debug.h
|
|
183
|
+
- src/include/lib/hb_array.h
|
|
184
|
+
- src/include/lib/hb_buffer.h
|
|
185
|
+
- src/include/lib/hb_foreach.h
|
|
186
|
+
- src/include/lib/hb_narray.h
|
|
187
|
+
- src/include/lib/hb_string.h
|
|
188
|
+
- src/include/lib/string.h
|
|
189
|
+
- src/include/location/location.h
|
|
190
|
+
- src/include/location/position.h
|
|
191
|
+
- src/include/location/range.h
|
|
174
192
|
- src/include/macros.h
|
|
175
|
-
- src/include/parser.h
|
|
176
|
-
- src/include/
|
|
177
|
-
- src/include/
|
|
178
|
-
- src/include/
|
|
179
|
-
- src/include/prism_context.h
|
|
180
|
-
- src/include/prism_helpers.h
|
|
181
|
-
- src/include/prism_serialized.h
|
|
182
|
-
- src/include/
|
|
183
|
-
- src/include/
|
|
184
|
-
- src/include/
|
|
185
|
-
- src/include/
|
|
186
|
-
- src/include/
|
|
187
|
-
- src/include/
|
|
188
|
-
- src/include/util.h
|
|
189
|
-
- src/include/util/hb_allocator.h
|
|
190
|
-
- src/include/util/hb_arena.h
|
|
191
|
-
- src/include/util/hb_arena_debug.h
|
|
192
|
-
- src/include/util/hb_array.h
|
|
193
|
-
- src/include/util/hb_buffer.h
|
|
194
|
-
- src/include/util/hb_foreach.h
|
|
195
|
-
- src/include/util/hb_narray.h
|
|
196
|
-
- src/include/util/hb_string.h
|
|
197
|
-
- src/include/util/string.h
|
|
193
|
+
- src/include/parser/dot_notation.h
|
|
194
|
+
- src/include/parser/parser.h
|
|
195
|
+
- src/include/parser/parser_helpers.h
|
|
196
|
+
- src/include/prism/herb_prism_node.h
|
|
197
|
+
- src/include/prism/prism_context.h
|
|
198
|
+
- src/include/prism/prism_helpers.h
|
|
199
|
+
- src/include/prism/prism_serialized.h
|
|
200
|
+
- src/include/prism/ruby_parser.h
|
|
201
|
+
- src/include/util/html_util.h
|
|
202
|
+
- src/include/util/io.h
|
|
203
|
+
- src/include/util/ruby_util.h
|
|
204
|
+
- src/include/util/utf8.h
|
|
205
|
+
- src/include/util/util.h
|
|
198
206
|
- src/include/version.h
|
|
199
207
|
- src/include/visitor.h
|
|
200
|
-
- src/io.c
|
|
201
208
|
- src/lexer.c
|
|
202
|
-
- src/lexer_peek_helpers.c
|
|
203
|
-
- src/
|
|
209
|
+
- src/lexer/lexer_peek_helpers.c
|
|
210
|
+
- src/lexer/token.c
|
|
211
|
+
- src/lexer/token_matchers.c
|
|
212
|
+
- src/lib/hb_allocator.c
|
|
213
|
+
- src/lib/hb_arena.c
|
|
214
|
+
- src/lib/hb_arena_debug.c
|
|
215
|
+
- src/lib/hb_array.c
|
|
216
|
+
- src/lib/hb_buffer.c
|
|
217
|
+
- src/lib/hb_narray.c
|
|
218
|
+
- src/lib/hb_string.c
|
|
219
|
+
- src/location/location.c
|
|
220
|
+
- src/location/position.c
|
|
221
|
+
- src/location/range.c
|
|
204
222
|
- src/main.c
|
|
205
223
|
- src/parser.c
|
|
206
|
-
- src/
|
|
207
|
-
- src/
|
|
208
|
-
- src/
|
|
209
|
-
- src/
|
|
210
|
-
- src/
|
|
211
|
-
- src/
|
|
212
|
-
- src/
|
|
213
|
-
- src/
|
|
214
|
-
- src/
|
|
215
|
-
- src/
|
|
216
|
-
- src/util.c
|
|
217
|
-
- src/util/hb_allocator.c
|
|
218
|
-
- src/util/hb_arena.c
|
|
219
|
-
- src/util/hb_arena_debug.c
|
|
220
|
-
- src/util/hb_array.c
|
|
221
|
-
- src/util/hb_buffer.c
|
|
222
|
-
- src/util/hb_narray.c
|
|
223
|
-
- src/util/hb_string.c
|
|
224
|
+
- src/parser/dot_notation.c
|
|
225
|
+
- src/parser/match_tags.c
|
|
226
|
+
- src/parser/parser_helpers.c
|
|
227
|
+
- src/prism/prism_helpers.c
|
|
228
|
+
- src/prism/ruby_parser.c
|
|
229
|
+
- src/util/html_util.c
|
|
230
|
+
- src/util/io.c
|
|
231
|
+
- src/util/ruby_util.c
|
|
232
|
+
- src/util/utf8.c
|
|
233
|
+
- src/util/util.c
|
|
224
234
|
- src/visitor.c
|
|
225
235
|
- templates/ext/herb/error_helpers.c.erb
|
|
226
236
|
- templates/ext/herb/error_helpers.h.erb
|
|
@@ -254,14 +264,14 @@ files:
|
|
|
254
264
|
- templates/sig/serialized_ast_nodes.rbs.erb
|
|
255
265
|
- templates/src/analyze/missing_end.c.erb
|
|
256
266
|
- templates/src/analyze/transform.c.erb
|
|
257
|
-
- templates/src/ast_nodes.c.erb
|
|
258
|
-
- templates/src/ast_pretty_print.c.erb
|
|
267
|
+
- templates/src/ast/ast_nodes.c.erb
|
|
268
|
+
- templates/src/ast/ast_pretty_print.c.erb
|
|
259
269
|
- templates/src/errors.c.erb
|
|
260
|
-
- templates/src/include/ast_nodes.h.erb
|
|
261
|
-
- templates/src/include/ast_pretty_print.h.erb
|
|
270
|
+
- templates/src/include/ast/ast_nodes.h.erb
|
|
271
|
+
- templates/src/include/ast/ast_pretty_print.h.erb
|
|
262
272
|
- templates/src/include/errors.h.erb
|
|
263
|
-
- templates/src/include/
|
|
264
|
-
- templates/src/
|
|
273
|
+
- templates/src/include/lib/hb_foreach.h.erb
|
|
274
|
+
- templates/src/parser/match_tags.c.erb
|
|
265
275
|
- templates/src/visitor.c.erb
|
|
266
276
|
- templates/template.rb
|
|
267
277
|
- templates/wasm/error_helpers.cpp.erb
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|