rsyntaxtree 1.0.8 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +77 -0
- data/.solargraph.yml +22 -0
- data/.tags +211 -10
- data/Gemfile +10 -5
- data/README.md +3 -2
- data/Rakefile +3 -1
- data/bin/rsyntaxtree +42 -50
- data/docs/Gemfile +3 -1
- data/docs/_layouts/default.html +1 -1
- data/lib/rsyntaxtree/base_graph.rb +260 -264
- data/lib/rsyntaxtree/element.rb +167 -179
- data/lib/rsyntaxtree/elementlist.rb +105 -124
- data/lib/rsyntaxtree/markup_parser.rb +82 -93
- data/lib/rsyntaxtree/string_parser.rb +221 -237
- data/lib/rsyntaxtree/svg_graph.rb +158 -197
- data/lib/rsyntaxtree/utils.rb +59 -63
- data/lib/rsyntaxtree/version.rb +3 -2
- data/lib/rsyntaxtree.rb +174 -177
- data/rsyntaxtree.gemspec +10 -10
- data/test/markup_parser_test.rb +3 -2
- metadata +23 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b05a1bea176c2fa9ba7cb51d2479540a36e98fb769d537e69abbf04499126b5
|
4
|
+
data.tar.gz: eab24b0534ffd2bbe95d272b53edf7a26717bd9a731275e87d9d514069ca4eb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd7f4b7baeb2ce9ee026830e7139dff3cd9b3b95af3c8116898a339f2d58c19e946cfe5350d00945e340d4966ed2f4dd476b8103321f910e0bb811df7c3362a7
|
7
|
+
data.tar.gz: ce30ae233a3cf24a6c97f2513572a03943092835958905e2966f2a2ed97ad7b64c7a1bcc91e7d48e27b452098d01b305a7c45121f3d2761efad08be9a0bac4ad
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
AllCops:
|
2
|
+
NewCops: disable
|
3
|
+
SuggestExtensions: false
|
4
|
+
TargetRubyVersion: 2.6
|
5
|
+
|
6
|
+
Documentation:
|
7
|
+
Enabled: false
|
8
|
+
|
9
|
+
Naming/VariableNumber:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Naming/AccessorMethodName:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
Naming/MethodParameterName:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Naming/FileName:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
Style/SymbolArray:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Style/BlockDelimiters:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
Style/GlobalVars:
|
28
|
+
Enabled: false
|
29
|
+
|
30
|
+
Style/PerlBackrefs:
|
31
|
+
Enabled: false
|
32
|
+
|
33
|
+
Style/Semicolon:
|
34
|
+
Enabled: false
|
35
|
+
|
36
|
+
Style/OptionalBooleanParameter:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
Style/StringLiterals:
|
40
|
+
Enabled: false
|
41
|
+
|
42
|
+
Style/StringConcatenation:
|
43
|
+
Enabled: false
|
44
|
+
|
45
|
+
Style/StringLiteralsInInterpolation:
|
46
|
+
Enabled: true
|
47
|
+
EnforcedStyle: double_quotes
|
48
|
+
|
49
|
+
Layout/LineLength:
|
50
|
+
Max: 400
|
51
|
+
|
52
|
+
Metrics/BlockNesting:
|
53
|
+
Max: 5
|
54
|
+
|
55
|
+
Metrics/MethodLength:
|
56
|
+
Max: 400
|
57
|
+
|
58
|
+
Metrics/BlockLength:
|
59
|
+
Max: 200
|
60
|
+
|
61
|
+
Metrics/AbcSize:
|
62
|
+
Max: 400
|
63
|
+
|
64
|
+
Metrics/PerceivedComplexity:
|
65
|
+
Max: 100
|
66
|
+
|
67
|
+
Metrics/ClassLength:
|
68
|
+
Max: 800
|
69
|
+
|
70
|
+
Metrics/CyclomaticComplexity:
|
71
|
+
Max: 100
|
72
|
+
|
73
|
+
Metrics/ParameterLists:
|
74
|
+
Max: 8
|
75
|
+
|
76
|
+
Metrics/ModuleLength:
|
77
|
+
Max: 200
|
data/.solargraph.yml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
include:
|
3
|
+
- "**/*.rb"
|
4
|
+
exclude:
|
5
|
+
- spec/**/*
|
6
|
+
- test/**/*
|
7
|
+
- vendor/**/*
|
8
|
+
- ".bundle/**/*"
|
9
|
+
require: []
|
10
|
+
domains: []
|
11
|
+
reporters:
|
12
|
+
- rubocop
|
13
|
+
# - require_not_found
|
14
|
+
formatter:
|
15
|
+
rubocop:
|
16
|
+
cops: safe
|
17
|
+
except: []
|
18
|
+
only: []
|
19
|
+
extra_args: []
|
20
|
+
require_paths: []
|
21
|
+
plugins: []
|
22
|
+
max_files: 5000
|
data/.tags
CHANGED
@@ -1,14 +1,92 @@
|
|
1
|
+
!_TAG_EXTRA_DESCRIPTION anonymous /Include tags for non-named objects like lambda/
|
2
|
+
!_TAG_EXTRA_DESCRIPTION fileScope /Include tags of file scope/
|
3
|
+
!_TAG_EXTRA_DESCRIPTION pseudo /Include pseudo tags/
|
4
|
+
!_TAG_EXTRA_DESCRIPTION subparser /Include tags generated by subparsers/
|
5
|
+
!_TAG_FIELD_DESCRIPTION epoch /the last modified time of the input file (only for F\/file kind tag)/
|
6
|
+
!_TAG_FIELD_DESCRIPTION file /File-restricted scoping/
|
7
|
+
!_TAG_FIELD_DESCRIPTION input /input file/
|
8
|
+
!_TAG_FIELD_DESCRIPTION name /tag name/
|
9
|
+
!_TAG_FIELD_DESCRIPTION pattern /pattern/
|
10
|
+
!_TAG_FIELD_DESCRIPTION typeref /Type and name of a variable or typedef/
|
11
|
+
!_TAG_FIELD_DESCRIPTION!Ruby mixin /how the class or module is mixed in (mixin:HOW:MODULE)/
|
12
|
+
!_TAG_FIELD_DESCRIPTION!XML uri /uri associated with name prefix/
|
1
13
|
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
2
14
|
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
15
|
+
!_TAG_KIND_DESCRIPTION!CSS c,class /classes/
|
16
|
+
!_TAG_KIND_DESCRIPTION!CSS i,id /identities/
|
17
|
+
!_TAG_KIND_DESCRIPTION!CSS s,selector /selectors/
|
18
|
+
!_TAG_KIND_DESCRIPTION!GemSpec g,gem /gems/
|
19
|
+
!_TAG_KIND_DESCRIPTION!HTML C,stylesheet /stylesheets/
|
20
|
+
!_TAG_KIND_DESCRIPTION!HTML I,id /identifiers/
|
21
|
+
!_TAG_KIND_DESCRIPTION!HTML J,script /scripts/
|
22
|
+
!_TAG_KIND_DESCRIPTION!HTML a,anchor /named anchors/
|
23
|
+
!_TAG_KIND_DESCRIPTION!HTML c,class /classes/
|
24
|
+
!_TAG_KIND_DESCRIPTION!HTML h,heading1 /H1 headings/
|
25
|
+
!_TAG_KIND_DESCRIPTION!HTML i,heading2 /H2 headings/
|
26
|
+
!_TAG_KIND_DESCRIPTION!HTML j,heading3 /H3 headings/
|
27
|
+
!_TAG_KIND_DESCRIPTION!HTML t,title /titles/
|
28
|
+
!_TAG_KIND_DESCRIPTION!Markdown S,subsection /level 2 sections/
|
29
|
+
!_TAG_KIND_DESCRIPTION!Markdown T,l4subsection /level 4 sections/
|
30
|
+
!_TAG_KIND_DESCRIPTION!Markdown c,chapter /chapters/
|
31
|
+
!_TAG_KIND_DESCRIPTION!Markdown n,footnote /footnotes/
|
32
|
+
!_TAG_KIND_DESCRIPTION!Markdown s,section /sections/
|
33
|
+
!_TAG_KIND_DESCRIPTION!Markdown t,subsubsection /level 3 sections/
|
34
|
+
!_TAG_KIND_DESCRIPTION!Markdown u,l5subsection /level 5 sections/
|
35
|
+
!_TAG_KIND_DESCRIPTION!Rake d,directory /directory tasks/
|
36
|
+
!_TAG_KIND_DESCRIPTION!Rake f,File /file tasks/
|
37
|
+
!_TAG_KIND_DESCRIPTION!Rake m,multitask /multi tasks/
|
38
|
+
!_TAG_KIND_DESCRIPTION!Rake n,namespace /namespaces/
|
39
|
+
!_TAG_KIND_DESCRIPTION!Rake t,task /tasks/
|
40
|
+
!_TAG_KIND_DESCRIPTION!Rake x,xtask /tasks defined with special constructor/
|
41
|
+
!_TAG_KIND_DESCRIPTION!Ruby A,accessor /accessors/
|
42
|
+
!_TAG_KIND_DESCRIPTION!Ruby C,constant /constants/
|
43
|
+
!_TAG_KIND_DESCRIPTION!Ruby L,library /libraries/
|
44
|
+
!_TAG_KIND_DESCRIPTION!Ruby S,singletonMethod /singleton methods/
|
45
|
+
!_TAG_KIND_DESCRIPTION!Ruby a,alias /aliases/
|
46
|
+
!_TAG_KIND_DESCRIPTION!Ruby c,class /classes/
|
47
|
+
!_TAG_KIND_DESCRIPTION!Ruby f,method /methods/
|
48
|
+
!_TAG_KIND_DESCRIPTION!Ruby m,module /modules/
|
49
|
+
!_TAG_KIND_DESCRIPTION!SCSS P,placeholder /placeholder classes/
|
50
|
+
!_TAG_KIND_DESCRIPTION!SCSS c,class /classes/
|
51
|
+
!_TAG_KIND_DESCRIPTION!SCSS f,function /functions/
|
52
|
+
!_TAG_KIND_DESCRIPTION!SCSS i,id /identities/
|
53
|
+
!_TAG_KIND_DESCRIPTION!SCSS m,mixin /mixins/
|
54
|
+
!_TAG_KIND_DESCRIPTION!SCSS v,variable /variables/
|
55
|
+
!_TAG_KIND_DESCRIPTION!SCSS z,parameter /function parameters/
|
56
|
+
!_TAG_KIND_DESCRIPTION!SVG d,def /ids in defs tags/
|
57
|
+
!_TAG_KIND_DESCRIPTION!XML i,id /id attributes/
|
58
|
+
!_TAG_KIND_DESCRIPTION!XML n,nsprefix /namespace prefixes/
|
59
|
+
!_TAG_KIND_DESCRIPTION!XML r,root /root elements/
|
60
|
+
!_TAG_KIND_DESCRIPTION!Yaml a,anchor /anchors/
|
3
61
|
!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/
|
4
62
|
!_TAG_OUTPUT_FILESEP slash /slash or backslash/
|
5
63
|
!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/
|
64
|
+
!_TAG_OUTPUT_VERSION 0.0 /current.age/
|
65
|
+
!_TAG_PARSER_VERSION!CSS 0.0 /current.age/
|
66
|
+
!_TAG_PARSER_VERSION!GemSpec 0.0 /current.age/
|
67
|
+
!_TAG_PARSER_VERSION!HTML 0.0 /current.age/
|
68
|
+
!_TAG_PARSER_VERSION!Markdown 0.0 /current.age/
|
69
|
+
!_TAG_PARSER_VERSION!Rake 0.0 /current.age/
|
70
|
+
!_TAG_PARSER_VERSION!Ruby 0.0 /current.age/
|
71
|
+
!_TAG_PARSER_VERSION!SCSS 0.0 /current.age/
|
72
|
+
!_TAG_PARSER_VERSION!SVG 0.0 /current.age/
|
73
|
+
!_TAG_PARSER_VERSION!XML 0.0 /current.age/
|
74
|
+
!_TAG_PARSER_VERSION!Yaml 0.0 /current.age/
|
6
75
|
!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/
|
7
76
|
!_TAG_PROC_CWD /Users/yohasebe/Library/CloudStorage/Dropbox/code/rsyntaxtree/ //
|
8
77
|
!_TAG_PROGRAM_AUTHOR Universal Ctags Team //
|
9
78
|
!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/
|
10
79
|
!_TAG_PROGRAM_URL https://ctags.io/ /official site/
|
11
|
-
!_TAG_PROGRAM_VERSION
|
80
|
+
!_TAG_PROGRAM_VERSION 6.0.0 /c39ff7a7/
|
81
|
+
!_TAG_ROLE_DESCRIPTION!GemSpec!gem develDep /specifying development dependency/
|
82
|
+
!_TAG_ROLE_DESCRIPTION!GemSpec!gem runtimeDep /specifying runtime dependency/
|
83
|
+
!_TAG_ROLE_DESCRIPTION!HTML!class attribute /assigned as attributes/
|
84
|
+
!_TAG_ROLE_DESCRIPTION!HTML!script extFile /referenced as external files/
|
85
|
+
!_TAG_ROLE_DESCRIPTION!HTML!stylesheet extFile /referenced as external files/
|
86
|
+
!_TAG_ROLE_DESCRIPTION!Ruby!library loaded /loaded by "load" method/
|
87
|
+
!_TAG_ROLE_DESCRIPTION!Ruby!library required /loaded by "require" method/
|
88
|
+
!_TAG_ROLE_DESCRIPTION!Ruby!library requiredRel /loaded by "require_relative" method/
|
89
|
+
!_TAG_ROLE_DESCRIPTION!Yaml!anchor alias /alias/
|
12
90
|
#skip-to-content docs/_site/assets/css/style.css /^#skip-to-content { height: 1px; width: 1px; position: absolute; overflow: hidden; top: -10px; }$/;" i
|
13
91
|
#skip-to-content:focus docs/_site/assets/css/style.css /^#skip-to-content:focus { position: fixed; top: 10px; left: 10px; height: auto; width: auto; back/;" i
|
14
92
|
* docs/_site/assets/css/style.css /^* { box-sizing: border-box; }$/;" s
|
@@ -147,7 +225,9 @@
|
|
147
225
|
404 docs/404.html /^ <h1>404<\/h1>$/;" h
|
148
226
|
404 docs/_site/404.html /^ <h1>404<\/h1>$/;" h
|
149
227
|
Author README.md /^### Author$/;" S
|
228
|
+
BaseGraph lib/rsyntaxtree/base_graph.rb /^ class BaseGraph$/;" c class:RSyntaxTree
|
150
229
|
BaseGraph lib/rsyntaxtree/base_graph.rb /^ class BaseGraph$/;" c module:RSyntaxTree
|
230
|
+
BaseGraph lib/rsyntaxtree/base_graph_new.rb /^ class BaseGraph$/;" c class:RSyntaxTree
|
151
231
|
Basic Usage docs/_site/documentation.html /^<h3 id="basic-usage">Basic Usage<\/h3>$/;" j
|
152
232
|
Basic Usage docs/documentation.md /^### Basic Usage$/;" S chapter:Documentation
|
153
233
|
Box and Circle docs/documentation.md /^#### Box and Circle$/;" t subsection:Documentation""Font Styles, Text Decoration, and Sub/Superscripts
|
@@ -162,14 +242,16 @@ Draw Paths between Nodes (experimental) docs/_site/documentation.html /^<h3 id="
|
|
162
242
|
Draw Paths between Nodes (experimental) docs/documentation.md /^### Draw Paths between Nodes (experimental)$/;" S chapter:Documentation
|
163
243
|
ETYPE_LEAF lib/rsyntaxtree.rb /^ETYPE_LEAF = 2$/;" C
|
164
244
|
ETYPE_NODE lib/rsyntaxtree.rb /^ETYPE_NODE = 1$/;" C
|
245
|
+
Element lib/rsyntaxtree/element.rb /^ class Element$/;" c class:RSyntaxTree
|
165
246
|
Element lib/rsyntaxtree/element.rb /^ class Element$/;" c module:RSyntaxTree
|
247
|
+
ElementList lib/rsyntaxtree/elementlist.rb /^ class ElementList$/;" c class:RSyntaxTree
|
166
248
|
ElementList lib/rsyntaxtree/elementlist.rb /^ class ElementList$/;" c module:RSyntaxTree
|
167
249
|
Escape Special Characters docs/_site/documentation.html /^<h3 id="escape-special-characters">Escape Special Characters<\/h3>$/;" j
|
168
250
|
Escape Special Characters docs/documentation.md /^### Escape Special Characters$/;" S chapter:Documentation
|
169
251
|
Example Gallery docs/_site/examples.html /^ <h1 id="examples">Example Gallery<\/h1>$/;" h
|
170
252
|
Example Gallery docs/examples.html /^<h1 id="examples">Example Gallery<\/h1>$/;" h
|
171
253
|
Examples README.md /^### Examples$/;" S
|
172
|
-
FONT_DIR lib/rsyntaxtree.rb /^FONT_DIR = File.expand_path(File.
|
254
|
+
FONT_DIR lib/rsyntaxtree.rb /^FONT_DIR = File.expand_path(File.join(__dir__, "\/..\/fonts"))$/;" C
|
173
255
|
FONT_SCALING lib/rsyntaxtree.rb /^FONT_SCALING = 2$/;" C
|
174
256
|
Font Styles docs/documentation.md /^#### Font Styles$/;" t subsection:Documentation""Font Styles, Text Decoration, and Sub/Superscripts
|
175
257
|
Font Styles, Text Decoration, and Sub/Superscripts docs/_site/documentation.html /^<h3 id="font-styles-text-decoration-and-subsuperscripts">Font Styles, Text Decoration, and Sub\//;" j
|
@@ -192,6 +274,7 @@ Newline docs/documentation.md /^#### Newline$/;" t subsection:Documentation""Fon
|
|
192
274
|
PNG形式を用いる場合 docs/_site/documentation_ja.html /^<h3 id="png形式を用いる場合">PNG形式を用いる場合<\/h3>$/;" j
|
193
275
|
PNG形式を用いる場合 docs/documentation_ja.md /^### PNG形式を用いる場合$/;" S chapter:ドキュメンテーション
|
194
276
|
Phonology docs/_site/examples.html /^<h2 id="category-phonology"><b>Phonology<\/b><\/h2>$/;" i
|
277
|
+
RSGenerator lib/rsyntaxtree.rb /^ class RSGenerator$/;" c class:RSyntaxTree
|
195
278
|
RSGenerator lib/rsyntaxtree.rb /^ class RSGenerator$/;" c module:RSyntaxTree
|
196
279
|
RSTError lib/rsyntaxtree.rb /^class RSTError < StandardError$/;" c
|
197
280
|
RSyntaxTree docs/_site/404.html /^ <\/h1>$/;" h
|
@@ -200,20 +283,25 @@ RSyntaxTree docs/_site/documentation_ja.html /^ <\/h1>$/;" h
|
|
200
283
|
RSyntaxTree docs/_site/examples.html /^ <\/h1>$/;" h
|
201
284
|
RSyntaxTree lib/rsyntaxtree.rb /^module RSyntaxTree$/;" m
|
202
285
|
RSyntaxTree lib/rsyntaxtree/base_graph.rb /^module RSyntaxTree$/;" m
|
286
|
+
RSyntaxTree lib/rsyntaxtree/base_graph_new.rb /^module RSyntaxTree$/;" m
|
203
287
|
RSyntaxTree lib/rsyntaxtree/element.rb /^module RSyntaxTree$/;" m
|
204
288
|
RSyntaxTree lib/rsyntaxtree/elementlist.rb /^module RSyntaxTree$/;" m
|
205
289
|
RSyntaxTree lib/rsyntaxtree/string_parser.rb /^module RSyntaxTree$/;" m
|
206
290
|
RSyntaxTree lib/rsyntaxtree/svg_graph.rb /^module RSyntaxTree$/;" m
|
291
|
+
RSyntaxTree lib/rsyntaxtree/svg_graph_.rb /^module RSyntaxTree$/;" m
|
207
292
|
RSyntaxTree lib/rsyntaxtree/version.rb /^module RSyntaxTree$/;" m
|
208
293
|
RSyntaxTree | Syntax tree generator made with Ruby docs/_site/404.html /^<title>RSyntaxTree | Syntax tree generator made with Ruby<\/title>$/;" j
|
209
294
|
RSyntaxTree | Syntax tree generator made with Ruby docs/_site/documentation.html /^<title>RSyntaxTree | Syntax tree generator made with Ruby<\/title>$/;" j
|
210
295
|
RSyntaxTree | Syntax tree generator made with Ruby docs/_site/documentation_ja.html /^<title>RSyntaxTree | Syntax tree generator made with Ruby<\/title>$/;" j
|
211
296
|
RSyntaxTree | Syntax tree generator made with Ruby docs/_site/examples.html /^<title>RSyntaxTree | Syntax tree generator made with Ruby<\/title>$/;" j
|
212
297
|
SUBSCRIPT_CONST lib/rsyntaxtree.rb /^SUBSCRIPT_CONST = 0.7$/;" C
|
298
|
+
SVGGraph lib/rsyntaxtree/svg_graph.rb /^ class SVGGraph < BaseGraph$/;" c class:RSyntaxTree
|
213
299
|
SVGGraph lib/rsyntaxtree/svg_graph.rb /^ class SVGGraph < BaseGraph$/;" c module:RSyntaxTree
|
300
|
+
SVGGraph lib/rsyntaxtree/svg_graph_.rb /^ class SVGGraph < BaseGraph$/;" c class:RSyntaxTree
|
214
301
|
SVG形式を用いる場合 docs/_site/documentation_ja.html /^<h3 id="svg形式を用いる場合">SVG形式を用いる場合<\/h3>$/;" j
|
215
302
|
SVG形式を用いる場合 docs/documentation_ja.md /^### SVG形式を用いる場合$/;" S chapter:ドキュメンテーション
|
216
303
|
String lib/rsyntaxtree/utils.rb /^class String$/;" c
|
304
|
+
StringParser lib/rsyntaxtree/string_parser.rb /^ class StringParser$/;" c class:RSyntaxTree
|
217
305
|
StringParser lib/rsyntaxtree/string_parser.rb /^ class StringParser$/;" c module:RSyntaxTree
|
218
306
|
Subscript and Superscript docs/documentation.md /^#### Subscript and Superscript$/;" t subsection:Documentation""Font Styles, Text Decoration, and Sub/Superscripts
|
219
307
|
Syntax tree generator made with Ruby docs/_site/404.html /^ <h2 class="project-tagline">Syntax tree generator made with Ruby<\/h2>$/;" i
|
@@ -227,7 +315,7 @@ Tic-Tac-Toe docs/_site/examples.html /^<h2 id="category-tic-tac-toe"><b>Tic-Tac-
|
|
227
315
|
Triangle, Square Brackets, Rectangle docs/_site/documentation.html /^<h3 id="triangle-square-brackets-rectangle">Triangle, Square Brackets, Rectangle<\/h3>$/;" j
|
228
316
|
Triangle, Square Brackets, Rectangle docs/documentation.md /^### Triangle, Square Brackets, Rectangle$/;" S chapter:Documentation
|
229
317
|
Usage README.md /^### Usage$/;" S
|
230
|
-
VERSION lib/rsyntaxtree/version.rb /^ VERSION = "1.0
|
318
|
+
VERSION lib/rsyntaxtree/version.rb /^ VERSION = "1.1.0"$/;" C module:RSyntaxTree
|
231
319
|
WHITESPACE_BLOCK lib/rsyntaxtree.rb /^WHITESPACE_BLOCK = "■"$/;" C
|
232
320
|
Web Interface README.md /^### Web Interface$/;" S
|
233
321
|
Whitespace inside Label docs/documentation.md /^#### Whitespace inside Label$/;" t subsection:Documentation""Font Styles, Text Decoration, and Sub/Superscripts
|
@@ -239,6 +327,7 @@ a:hover docs/_site/assets/css/style.css /^a:active, a:hover { outline: 0; }$/;"
|
|
239
327
|
a:hover docs/_site/assets/css/style.css /^a:hover { text-decoration: underline; }$/;" s
|
240
328
|
abbr[title] docs/_site/assets/css/style.css /^abbr[title] { border-bottom: 1px dotted; }$/;" s
|
241
329
|
add lib/rsyntaxtree/elementlist.rb /^ def add(element)$/;" f class:RSyntaxTree.ElementList
|
330
|
+
add_child lib/rsyntaxtree/element.rb /^ def add_child(child_id)$/;" f
|
242
331
|
add_child lib/rsyntaxtree/element.rb /^ def add_child(child_id)$/;" f class:RSyntaxTree.Element
|
243
332
|
all_emoji? lib/rsyntaxtree/utils.rb /^ def all_emoji?$/;" f class:String
|
244
333
|
arrow img/sample.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="7.823437500000001" markerHeight="7/;" d
|
@@ -258,10 +347,17 @@ button docs/_site/assets/css/style.css /^button, input, optgroup, select, textar
|
|
258
347
|
button docs/_site/assets/css/style.css /^button, select { text-transform: none; }$/;" s
|
259
348
|
button::-moz-focus-inner docs/_site/assets/css/style.css /^button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }$/;" s
|
260
349
|
button[disabled] docs/_site/assets/css/style.css /^button[disabled], html input[disabled] { cursor: default; }$/;" s
|
350
|
+
calculate_height lib/rsyntaxtree/base_graph.rb /^ def calculate_height(id = 1)$/;" f class:RSyntaxTree
|
261
351
|
calculate_height lib/rsyntaxtree/base_graph.rb /^ def calculate_height(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
352
|
+
calculate_height lib/rsyntaxtree/base_graph_new.rb /^ def calculate_height(id = 1)$/;" f class:RSyntaxTree
|
353
|
+
calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f
|
354
|
+
calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f class:RSyntaxTree
|
262
355
|
calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f class:RSyntaxTree.BaseGraph
|
356
|
+
calculate_indent lib/rsyntaxtree/base_graph_new.rb /^ def calculate_indent$/;" f
|
263
357
|
calculate_level lib/rsyntaxtree/base_graph.rb /^ def calculate_level$/;" f class:RSyntaxTree.BaseGraph
|
358
|
+
calculate_level lib/rsyntaxtree/base_graph_new.rb /^ def calculate_level$/;" f class:RSyntaxTree.BaseGraph
|
264
359
|
calculate_width lib/rsyntaxtree/base_graph.rb /^ def calculate_width(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
360
|
+
calculate_width lib/rsyntaxtree/base_graph_new.rb /^ def calculate_width(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
265
361
|
canvas docs/_site/assets/css/style.css /^audio, canvas, progress, video { display: inline-block; \/* 1 *\/ vertical-align: baseline; \/* /;" s
|
266
362
|
category-cognitive-grammar-experimental docs/_site/examples.html /^<h2 id="category-cognitive-grammar-experimental"><b>Cognitive Grammar (Experimental)<\/b><\/h2>$/;" I
|
267
363
|
category-combinatory-categorial-grammar-experimental docs/_site/examples.html /^<h2 id="category-combinatory-categorial-grammar-experimental"><b>Combinatory Categorial Grammar /;" I
|
@@ -272,15 +368,30 @@ category-head-driven-phrase-structure-grammar-experimental docs/_site/examples.h
|
|
272
368
|
category-phonology docs/_site/examples.html /^<h2 id="category-phonology"><b>Phonology<\/b><\/h2>$/;" I
|
273
369
|
category-tic-tac-toe docs/_site/examples.html /^<h2 id="category-tic-tac-toe"><b>Tic-Tac-Toe<\/b><\/h2>$/;" I
|
274
370
|
category-{{category.name | slugify }} docs/examples.html /^<h2 id="category-{{category.name | slugify }}"><b>{{ category.name }}<\/b><\/h2>$/;" I
|
371
|
+
check_data lib/rsyntaxtree.rb /^ def self.check_data(text)$/;" F class:RSyntaxTree.RSGenerator
|
275
372
|
check_data lib/rsyntaxtree.rb /^ def self.check_data(text)$/;" S class:RSyntaxTree.RSGenerator
|
373
|
+
children lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
374
|
+
children= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
276
375
|
code docs/_site/assets/css/style.css /^code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }$/;" s
|
277
376
|
contains_cjk? lib/rsyntaxtree/utils.rb /^ def contains_cjk?$/;" f class:String
|
278
377
|
contains_emoji? lib/rsyntaxtree/utils.rb /^ def contains_emoji?$/;" f class:String
|
378
|
+
contains_phrase lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
379
|
+
contains_phrase= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
279
380
|
content docs/_layouts/default.html /^ <main id="content" class="main-content" role="main">$/;" I
|
280
381
|
content docs/_site/404.html /^ <main id="content" class="main-content" role="main">$/;" I
|
281
382
|
content docs/_site/documentation.html /^ <main id="content" class="main-content" role="main">$/;" I
|
282
383
|
content docs/_site/documentation_ja.html /^ <main id="content" class="main-content" role="main">$/;" I
|
283
384
|
content docs/_site/examples.html /^ <main id="content" class="main-content" role="main">$/;" I
|
385
|
+
content lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
386
|
+
content= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
387
|
+
content_height lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
388
|
+
content_height= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
389
|
+
content_width lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
390
|
+
content_width= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
391
|
+
copyToClipBoard docs/_site/documentation.html /^ function copyToClipBoard(id){$/;" f
|
392
|
+
copyToClipBoard docs/_site/documentation_ja.html /^ function copyToClipBoard(id){$/;" f
|
393
|
+
copyToClipBoard docs/_site/examples.html /^ function copyToClipBoard(id){$/;" f
|
394
|
+
copyToClipBoard docs/examples.html /^ function copyToClipBoard(id){$/;" f
|
284
395
|
data lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
285
396
|
data= lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
286
397
|
default Rakefile /^task default: "test"$/;" t
|
@@ -291,17 +402,30 @@ div.grid docs/_site/assets/css/style.css /^div.grid { display: grid; grid-templa
|
|
291
402
|
documentation docs/_site/documentation.html /^ <h1 class="no_toc" id="documentation">Documentation<\/h1>$/;" I
|
292
403
|
draw-paths-between-nodes-experimental docs/_site/documentation.html /^<h3 id="draw-paths-between-nodes-experimental">Draw Paths between Nodes (experimental)<\/h3>$/;" I
|
293
404
|
draw_a_path lib/rsyntaxtree/svg_graph.rb /^ def draw_a_path(s_x, s_y, t_x, t_y, target_arrow = :none)$/;" f class:RSyntaxTree.SVGGraph
|
405
|
+
draw_a_path lib/rsyntaxtree/svg_graph_.rb /^ def draw_a_path(s_x, s_y, t_x, t_y, target_arrow = :none)$/;" f class:RSyntaxTree.SVGGraph
|
406
|
+
draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f
|
407
|
+
draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f class:RSyntaxTree
|
294
408
|
draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
409
|
+
draw_connector lib/rsyntaxtree/base_graph_new.rb /^ def draw_connector(id = 1)$/;" f
|
410
|
+
draw_element lib/rsyntaxtree/svg_graph.rb /^ def draw_element(element)$/;" f class:RSyntaxTree
|
295
411
|
draw_element lib/rsyntaxtree/svg_graph.rb /^ def draw_element(element)$/;" f class:RSyntaxTree.SVGGraph
|
412
|
+
draw_element lib/rsyntaxtree/svg_graph_.rb /^ def draw_element(element)$/;" f class:RSyntaxTree
|
413
|
+
draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f
|
414
|
+
draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f class:RSyntaxTree
|
296
415
|
draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f class:RSyntaxTree.BaseGraph
|
416
|
+
draw_elements lib/rsyntaxtree/base_graph_new.rb /^ def draw_elements$/;" f
|
417
|
+
draw_paths lib/rsyntaxtree/svg_graph.rb /^ def draw_paths$/;" f
|
297
418
|
draw_paths lib/rsyntaxtree/svg_graph.rb /^ def draw_paths$/;" f class:RSyntaxTree.SVGGraph
|
419
|
+
draw_paths lib/rsyntaxtree/svg_graph_.rb /^ def draw_paths$/;" f
|
298
420
|
draw_png lib/rsyntaxtree.rb /^ def draw_png(binary = false)$/;" f class:RSyntaxTree.RSGenerator
|
299
421
|
draw_svg lib/rsyntaxtree.rb /^ def draw_svg$/;" f class:RSyntaxTree.RSGenerator
|
300
422
|
draw_tree lib/rsyntaxtree.rb /^ def draw_tree$/;" f class:RSyntaxTree.RSGenerator
|
301
|
-
elements lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator
|
302
|
-
elements= lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator
|
423
|
+
elements lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator$/;" A class:RSyntaxTree.ElementList
|
424
|
+
elements= lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator$/;" A class:RSyntaxTree.ElementList
|
303
425
|
elist lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
304
426
|
elist= lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
427
|
+
enclosure lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
428
|
+
enclosure= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
305
429
|
escape-special-characters docs/_site/documentation.html /^<h3 id="escape-special-characters">Escape Special Characters<\/h3>$/;" I
|
306
430
|
examples docs/_site/examples.html /^ <h1 id="examples">Example Gallery<\/h1>$/;" I
|
307
431
|
examples docs/examples.html /^<h1 id="examples">Example Gallery<\/h1>$/;" I
|
@@ -309,51 +433,77 @@ fieldset docs/_site/assets/css/style.css /^fieldset { border: 1px solid #c0c0c0;
|
|
309
433
|
figcaption docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
310
434
|
figure docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
311
435
|
figure docs/_site/assets/css/style.css /^figure { margin: 1em 40px; }$/;" s
|
436
|
+
font lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
312
437
|
font-styles docs/_site/documentation.html /^<h4 id="font-styles">Font Styles<\/h4>$/;" I
|
313
438
|
font-styles-text-decoration-and-subsuperscripts docs/_site/documentation.html /^<h3 id="font-styles-text-decoration-and-subsuperscripts">Font Styles, Text Decoration, and Sub\//;" I
|
439
|
+
font= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
314
440
|
fonts-used-to-generate-png docs/_site/documentation.html /^<h3 id="fonts-used-to-generate-png">Fonts Used to Generate PNG<\/h3>$/;" I
|
441
|
+
fontsize lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
442
|
+
fontsize= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
315
443
|
footer docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
444
|
+
generate_line lib/rsyntaxtree/svg_graph.rb /^ def generate_line(x1, y1, x2, y2, col, dashed = false, arrow = false, stroke_width = 1)$/;" f
|
316
445
|
generate_line lib/rsyntaxtree/svg_graph.rb /^ def generate_line(x1, y1, x2, y2, col, dashed = false, arrow = false, stroke_width = 1)$/;" f class:RSyntaxTree.SVGGraph
|
446
|
+
generate_line lib/rsyntaxtree/svg_graph_.rb /^ def generate_line(x1, y1, x2, y2, col, dashed = false, arrow = false, stroke_width = 1)$/;" f
|
317
447
|
get_child_count lib/rsyntaxtree/elementlist.rb /^ def get_child_count(id)$/;" f class:RSyntaxTree.ElementList
|
318
448
|
get_children lib/rsyntaxtree/elementlist.rb /^ def get_children(id)$/;" f class:RSyntaxTree.ElementList
|
319
449
|
get_element_width lib/rsyntaxtree/elementlist.rb /^ def get_element_width(id)$/;" f class:RSyntaxTree.ElementList
|
450
|
+
get_elementlist lib/rsyntaxtree/string_parser.rb /^ def get_elementlist$/;" f
|
320
451
|
get_elementlist lib/rsyntaxtree/string_parser.rb /^ def get_elementlist$/;" f class:RSyntaxTree.StringParser
|
321
452
|
get_elements lib/rsyntaxtree/elementlist.rb /^ def get_elements$/;" f class:RSyntaxTree.ElementList
|
322
453
|
get_first lib/rsyntaxtree/elementlist.rb /^ def get_first$/;" f class:RSyntaxTree.ElementList
|
323
454
|
get_id lib/rsyntaxtree/elementlist.rb /^ def get_id(id)$/;" f class:RSyntaxTree.ElementList
|
324
455
|
get_indent lib/rsyntaxtree/elementlist.rb /^ def get_indent(id)$/;" f class:RSyntaxTree.ElementList
|
456
|
+
get_leftmost lib/rsyntaxtree/base_graph.rb /^ def get_leftmost(id = 1)$/;" f
|
457
|
+
get_leftmost lib/rsyntaxtree/base_graph.rb /^ def get_leftmost(id = 1)$/;" f class:RSyntaxTree
|
325
458
|
get_leftmost lib/rsyntaxtree/base_graph.rb /^ def get_leftmost(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
459
|
+
get_leftmost lib/rsyntaxtree/base_graph_new.rb /^ def get_leftmost(id = 1)$/;" f
|
326
460
|
get_level_height lib/rsyntaxtree/elementlist.rb /^ def get_level_height$/;" f class:RSyntaxTree.ElementList
|
461
|
+
get_metrics lib/rsyntaxtree/utils.rb /^ def get_metrics(text, font, fontsize, font_style, font_weight)$/;" f class:FontMetrics
|
327
462
|
get_metrics lib/rsyntaxtree/utils.rb /^ def get_metrics(text, font, fontsize, font_style, font_weight)$/;" f module:FontMetrics
|
328
463
|
get_next lib/rsyntaxtree/elementlist.rb /^ def get_next$/;" f class:RSyntaxTree.ElementList
|
464
|
+
get_next_token lib/rsyntaxtree/string_parser.rb /^ def get_next_token$/;" f
|
329
465
|
get_next_token lib/rsyntaxtree/string_parser.rb /^ def get_next_token$/;" f class:RSyntaxTree.StringParser
|
466
|
+
get_rightmost lib/rsyntaxtree/base_graph.rb /^ def get_rightmost(id = 1)$/;" f
|
467
|
+
get_rightmost lib/rsyntaxtree/base_graph.rb /^ def get_rightmost(id = 1)$/;" f class:RSyntaxTree
|
330
468
|
get_rightmost lib/rsyntaxtree/base_graph.rb /^ def get_rightmost(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
469
|
+
get_rightmost lib/rsyntaxtree/base_graph_new.rb /^ def get_rightmost(id = 1)$/;" f
|
331
470
|
grid docs/assets/css/style.scss /^ div.grid {$/;" c
|
332
471
|
grid docs/assets/css/style.scss /^div.grid {$/;" c
|
333
472
|
h1 docs/_site/assets/css/style.css /^h1 { font-size: 2em; margin: 0.67em 0; }$/;" s
|
334
473
|
h3 docs/_site/assets/css/style.css /^h3 { border-bottom: 1px solid lightgray; margin-top: 1em; margin-bottom: 1em; padding-bottom: 0./;" s
|
335
474
|
header docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
475
|
+
height lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
336
476
|
height lib/rsyntaxtree/svg_graph.rb /^ attr_accessor :width, :height$/;" A class:RSyntaxTree.SVGGraph
|
477
|
+
height= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
337
478
|
height= lib/rsyntaxtree/svg_graph.rb /^ attr_accessor :width, :height$/;" A class:RSyntaxTree.SVGGraph
|
338
479
|
hgroup docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
339
480
|
hidden docs/_site/assets/css/style.css /^[hidden], template { display: none; }$/;" s
|
340
481
|
horizontal-line docs/_site/documentation.html /^<h4 id="horizontal-line">Horizontal Line<\/h4>$/;" I
|
482
|
+
horizontal_indent lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
483
|
+
horizontal_indent= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
341
484
|
hr docs/_site/assets/css/style.css /^hr { box-sizing: content-box; height: 0; }$/;" s
|
342
485
|
html docs/_site/assets/css/style.css /^html { font-family: sans-serif; \/* 1 *\/ -ms-text-size-adjust: 100%; \/* 2 *\/ -webkit-text-siz/;" s
|
343
486
|
html input[disabled] docs/_site/assets/css/style.css /^button[disabled], html input[disabled] { cursor: default; }$/;" s
|
344
487
|
html input[type="button"] docs/_site/assets/css/style.css /^button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearanc/;" s
|
345
|
-
id lib/rsyntaxtree/element.rb /^ attr_accessor :id
|
488
|
+
id lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
346
489
|
id lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
347
|
-
id= lib/rsyntaxtree/element.rb /^ attr_accessor :id
|
490
|
+
id= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
348
491
|
id= lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
349
492
|
img docs/_site/assets/css/style.css /^img { border: 0; }$/;" s
|
350
493
|
initialize lib/rsyntaxtree.rb /^ def initialize(params = {})$/;" f class:RSyntaxTree.RSGenerator
|
351
|
-
initialize lib/rsyntaxtree.rb /^ def initialize(msg="Error: something unexpected occurred")$/;" f class:RSTError
|
494
|
+
initialize lib/rsyntaxtree.rb /^ def initialize(msg = "Error: something unexpected occurred")$/;" f class:RSTError
|
352
495
|
initialize lib/rsyntaxtree/base_graph.rb /^ def initialize(element_list, params)$/;" f class:RSyntaxTree.BaseGraph
|
496
|
+
initialize lib/rsyntaxtree/base_graph.rb /^ def initialize(element_list, params, global)$/;" f class:RSyntaxTree.BaseGraph
|
497
|
+
initialize lib/rsyntaxtree/base_graph_new.rb /^ def initialize(element_list, params)$/;" f class:RSyntaxTree.BaseGraph
|
498
|
+
initialize lib/rsyntaxtree/base_graph_new.rb /^ def initialize(element_list, params, global)$/;" f class:RSyntaxTree.BaseGraph
|
353
499
|
initialize lib/rsyntaxtree/element.rb /^ def initialize(id, parent, content, level, fontset, fontsize)$/;" f class:RSyntaxTree.Element
|
500
|
+
initialize lib/rsyntaxtree/element.rb /^ def initialize(id, parent, content, level, fontset, fontsize, global)$/;" f class:RSyntaxTree.Element
|
354
501
|
initialize lib/rsyntaxtree/elementlist.rb /^ def initialize$/;" f class:RSyntaxTree.ElementList
|
355
502
|
initialize lib/rsyntaxtree/string_parser.rb /^ def initialize(str, fontset, fontsize)$/;" f class:RSyntaxTree.StringParser
|
503
|
+
initialize lib/rsyntaxtree/string_parser.rb /^ def initialize(str, fontset, fontsize, global)$/;" f class:RSyntaxTree.StringParser
|
356
504
|
initialize lib/rsyntaxtree/svg_graph.rb /^ def initialize(element_list, params)$/;" f class:RSyntaxTree.SVGGraph
|
505
|
+
initialize lib/rsyntaxtree/svg_graph.rb /^ def initialize(element_list, params, global)$/;" f class:RSyntaxTree.SVGGraph
|
506
|
+
initialize lib/rsyntaxtree/svg_graph_.rb /^ def initialize(element_list, params)$/;" f class:RSyntaxTree.SVGGraph
|
357
507
|
input docs/_site/assets/css/style.css /^button, input, optgroup, select, textarea { color: inherit; \/* 1 *\/ font: inherit; \/* 2 *\/ m/;" s
|
358
508
|
input docs/_site/assets/css/style.css /^input { line-height: normal; }$/;" s
|
359
509
|
input::-moz-focus-inner docs/_site/assets/css/style.css /^button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }$/;" s
|
@@ -367,15 +517,23 @@ input[type="search"] ::-webkit-search-cancel-button docs/_site/assets/css/style.
|
|
367
517
|
input[type="search"] ::-webkit-search-decoration docs/_site/assets/css/style.css /^input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decorat/;" s
|
368
518
|
input[type="submit"] docs/_site/assets/css/style.css /^button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearanc/;" s
|
369
519
|
install-fonts-for-svg docs/_site/documentation.html /^<h3 id="install-fonts-for-svg">Install Fonts for SVG<\/h3>$/;" I
|
370
|
-
iterator lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator
|
371
|
-
iterator= lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator
|
520
|
+
iterator lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator$/;" A class:RSyntaxTree.ElementList
|
521
|
+
iterator= lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator$/;" A class:RSyntaxTree.ElementList
|
372
522
|
kbd docs/_site/assets/css/style.css /^code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }$/;" s
|
373
523
|
legend docs/_site/assets/css/style.css /^legend { border: 0; \/* 1 *\/ padding: 0; \/* 2 *\/ }$/;" s
|
524
|
+
level lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
374
525
|
level lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
526
|
+
level= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
375
527
|
level= lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
528
|
+
line_to_parent lib/rsyntaxtree/svg_graph.rb /^ def line_to_parent(parent, child)$/;" f
|
376
529
|
line_to_parent lib/rsyntaxtree/svg_graph.rb /^ def line_to_parent(parent, child)$/;" f class:RSyntaxTree.SVGGraph
|
530
|
+
line_to_parent lib/rsyntaxtree/svg_graph_.rb /^ def line_to_parent(parent, child)$/;" f
|
377
531
|
main docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
532
|
+
make_balance lib/rsyntaxtree/base_graph.rb /^ def make_balance(id = 1)$/;" f
|
533
|
+
make_balance lib/rsyntaxtree/base_graph.rb /^ def make_balance(id = 1)$/;" f class:RSyntaxTree
|
378
534
|
make_balance lib/rsyntaxtree/base_graph.rb /^ def make_balance(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
535
|
+
make_balance lib/rsyntaxtree/base_graph_new.rb /^ def make_balance(id = 1)$/;" f
|
536
|
+
make_tree lib/rsyntaxtree/string_parser.rb /^ def make_tree(parent)$/;" f
|
379
537
|
make_tree lib/rsyntaxtree/string_parser.rb /^ def make_tree(parent)$/;" f class:RSyntaxTree.StringParser
|
380
538
|
mark docs/_site/assets/css/style.css /^mark { background: #ff0; color: #000; }$/;" s
|
381
539
|
markdown-toc docs/_site/documentation.html /^<ol id="markdown-toc">$/;" I
|
@@ -414,14 +572,26 @@ markdown-toc-水平線 docs/_site/documentation_ja.html /^ <li><a href="#
|
|
414
572
|
menu docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
415
573
|
nav docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
416
574
|
newline docs/_site/documentation.html /^<h4 id="newline">Newline<\/h4>$/;" I
|
575
|
+
node_centering lib/rsyntaxtree/base_graph.rb /^ def node_centering$/;" f
|
576
|
+
node_centering lib/rsyntaxtree/base_graph.rb /^ def node_centering$/;" f class:RSyntaxTree
|
417
577
|
node_centering lib/rsyntaxtree/base_graph.rb /^ def node_centering$/;" f class:RSyntaxTree.BaseGraph
|
578
|
+
node_centering lib/rsyntaxtree/base_graph_new.rb /^ def node_centering$/;" f
|
418
579
|
ns59d2ecb30101 docs/_site/feed.xml /^<?xml version="1.0" encoding="utf-8"?><feed xmlns="http:\/\/www.w3.org\/2005\/Atom" ><generator /;" n uri:http://www.w3.org/2005/Atom
|
419
580
|
ns8fb8be310101 img/sample.svg /^ <svg width="1211.119140625" height="941.0" viewBox="-40, -40, 1251.119140625, 981.0" version="/;" n uri:http://www.w3.org/2000/svg
|
420
581
|
optgroup docs/_site/assets/css/style.css /^button, input, optgroup, select, textarea { color: inherit; \/* 1 *\/ font: inherit; \/* 2 *\/ m/;" s
|
421
582
|
optgroup docs/_site/assets/css/style.css /^optgroup { font-weight: bold; }$/;" s
|
583
|
+
parent lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
584
|
+
parent= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
585
|
+
parse lib/rsyntaxtree/markup_parser.rb /^ def parse(txt)$/;" f class:Markup
|
422
586
|
parse lib/rsyntaxtree/markup_parser.rb /^ def parse(txt)$/;" f module:Markup
|
587
|
+
parse lib/rsyntaxtree/string_parser.rb /^ def parse$/;" f
|
423
588
|
parse lib/rsyntaxtree/string_parser.rb /^ def parse$/;" f class:RSyntaxTree.StringParser
|
589
|
+
parse_list lib/rsyntaxtree/base_graph.rb /^ def parse_list$/;" f
|
590
|
+
parse_list lib/rsyntaxtree/base_graph.rb /^ def parse_list$/;" f class:RSyntaxTree
|
424
591
|
parse_list lib/rsyntaxtree/base_graph.rb /^ def parse_list$/;" f class:RSyntaxTree.BaseGraph
|
592
|
+
parse_list lib/rsyntaxtree/base_graph_new.rb /^ def parse_list$/;" f
|
593
|
+
path lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
594
|
+
path= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
425
595
|
png形式を用いる場合 docs/_site/documentation_ja.html /^<h3 id="png形式を用いる場合">PNG形式を用いる場合<\/h3>$/;" I
|
426
596
|
pos lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
427
597
|
pos= lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
@@ -436,7 +606,10 @@ select docs/_site/assets/css/style.css /^button, select { text-transform: none;
|
|
436
606
|
set_element_width lib/rsyntaxtree/elementlist.rb /^ def set_element_width(id, width)$/;" f class:RSyntaxTree.ElementList
|
437
607
|
set_hierarchy lib/rsyntaxtree/elementlist.rb /^ def set_hierarchy$/;" f class:RSyntaxTree.ElementList
|
438
608
|
set_indent lib/rsyntaxtree/elementlist.rb /^ def set_indent(id, indent)$/;" f class:RSyntaxTree.ElementList
|
609
|
+
set_tspan lib/rsyntaxtree/svg_graph.rb /^ def set_tspan(this_x, this_y, style, decoration, fontstyle, text)$/;" f
|
439
610
|
set_tspan lib/rsyntaxtree/svg_graph.rb /^ def set_tspan(this_x, this_y, style, decoration, fontstyle, text)$/;" f class:RSyntaxTree.SVGGraph
|
611
|
+
set_tspan lib/rsyntaxtree/svg_graph_.rb /^ def set_tspan(this_x, this_y, style, decoration, fontstyle, text)$/;" f
|
612
|
+
setup lib/rsyntaxtree/element.rb /^ def setup$/;" f class:RSyntaxTree
|
440
613
|
setup lib/rsyntaxtree/element.rb /^ def setup$/;" f class:RSyntaxTree.Element
|
441
614
|
setup test/markup_parser_test.rb /^ def setup$/;" f class:MarkupParserTest
|
442
615
|
skip-to-content docs/_layouts/default.html /^ <a id="skip-to-content" href="#content">Skip to the content.<\/a>$/;" I
|
@@ -460,31 +633,48 @@ sup docs/_site/assets/css/style.css /^sub, sup { font-size: 75%; line-height: 0;
|
|
460
633
|
sup docs/_site/assets/css/style.css /^sup { top: -0.5em; }$/;" s
|
461
634
|
svg:not(:root) docs/_site/assets/css/style.css /^svg:not(:root) { overflow: hidden; }$/;" s
|
462
635
|
svg_data lib/rsyntaxtree/svg_graph.rb /^ def svg_data$/;" f class:RSyntaxTree.SVGGraph
|
636
|
+
svg_data lib/rsyntaxtree/svg_graph_.rb /^ def svg_data$/;" f class:RSyntaxTree.SVGGraph
|
463
637
|
svg形式を用いる場合 docs/_site/documentation_ja.html /^<h3 id="svg形式を用いる場合">SVG形式を用いる場合<\/h3>$/;" I
|
464
638
|
table docs/_site/assets/css/style.css /^table { border-collapse: collapse; border-spacing: 0; }$/;" s
|
465
639
|
table-of-contents docs/_site/documentation.html /^<h3 class="no_toc" id="table-of-contents">Table of Contents<\/h3>$/;" I
|
466
640
|
td docs/_site/assets/css/style.css /^td, th { padding: 0; }$/;" s
|
467
641
|
template docs/_site/assets/css/style.css /^[hidden], template { display: none; }$/;" s
|
642
|
+
test_evaluator test/markup_parser_test.rb /^ def test_evaluator$/;" f
|
468
643
|
test_evaluator test/markup_parser_test.rb /^ def test_evaluator$/;" f class:MarkupParserTest
|
644
|
+
test_rule_bold test/markup_parser_test.rb /^ def test_rule_bold$/;" f
|
469
645
|
test_rule_bold test/markup_parser_test.rb /^ def test_rule_bold$/;" f class:MarkupParserTest
|
646
|
+
test_rule_bolditalic test/markup_parser_test.rb /^ def test_rule_bolditalic$/;" f
|
470
647
|
test_rule_bolditalic test/markup_parser_test.rb /^ def test_rule_bolditalic$/;" f class:MarkupParserTest
|
648
|
+
test_rule_border test/markup_parser_test.rb /^ def test_rule_border$/;" f
|
471
649
|
test_rule_border test/markup_parser_test.rb /^ def test_rule_border$/;" f class:MarkupParserTest
|
650
|
+
test_rule_box test/markup_parser_test.rb /^ def test_rule_box$/;" f
|
472
651
|
test_rule_box test/markup_parser_test.rb /^ def test_rule_box$/;" f class:MarkupParserTest
|
473
652
|
test_rule_brackets test/markup_parser_test.rb /^ def test_rule_brackets$/;" f class:MarkupParserTest
|
474
653
|
test_rule_cr test/markup_parser_test.rb /^ def test_rule_cr$/;" f class:MarkupParserTest
|
475
654
|
test_rule_escaped test/markup_parser_test.rb /^ def test_rule_escaped$/;" f class:MarkupParserTest
|
655
|
+
test_rule_italic test/markup_parser_test.rb /^ def test_rule_italic$/;" f
|
476
656
|
test_rule_italic test/markup_parser_test.rb /^ def test_rule_italic$/;" f class:MarkupParserTest
|
657
|
+
test_rule_line test/markup_parser_test.rb /^ def test_rule_line$/;" f
|
477
658
|
test_rule_line test/markup_parser_test.rb /^ def test_rule_line$/;" f class:MarkupParserTest
|
659
|
+
test_rule_lines test/markup_parser_test.rb /^ def test_rule_lines$/;" f
|
478
660
|
test_rule_lines test/markup_parser_test.rb /^ def test_rule_lines$/;" f class:MarkupParserTest
|
661
|
+
test_rule_linethrough test/markup_parser_test.rb /^ def test_rule_linethrough$/;" f
|
479
662
|
test_rule_linethrough test/markup_parser_test.rb /^ def test_rule_linethrough$/;" f class:MarkupParserTest
|
663
|
+
test_rule_markup test/markup_parser_test.rb /^ def test_rule_markup$/;" f
|
480
664
|
test_rule_markup test/markup_parser_test.rb /^ def test_rule_markup$/;" f class:MarkupParserTest
|
665
|
+
test_rule_non_escaped test/markup_parser_test.rb /^ def test_rule_non_escaped$/;" f
|
481
666
|
test_rule_non_escaped test/markup_parser_test.rb /^ def test_rule_non_escaped$/;" f class:MarkupParserTest
|
667
|
+
test_rule_overline test/markup_parser_test.rb /^ def test_rule_overline$/;" f
|
482
668
|
test_rule_overline test/markup_parser_test.rb /^ def test_rule_overline$/;" f class:MarkupParserTest
|
483
669
|
test_rule_path test/markup_parser_test.rb /^ def test_rule_path$/;" f class:MarkupParserTest
|
670
|
+
test_rule_subscript test/markup_parser_test.rb /^ def test_rule_subscript$/;" f
|
484
671
|
test_rule_subscript test/markup_parser_test.rb /^ def test_rule_subscript$/;" f class:MarkupParserTest
|
672
|
+
test_rule_superscript test/markup_parser_test.rb /^ def test_rule_superscript$/;" f
|
485
673
|
test_rule_superscript test/markup_parser_test.rb /^ def test_rule_superscript$/;" f class:MarkupParserTest
|
674
|
+
test_rule_text test/markup_parser_test.rb /^ def test_rule_text$/;" f
|
486
675
|
test_rule_text test/markup_parser_test.rb /^ def test_rule_text$/;" f class:MarkupParserTest
|
487
676
|
test_rule_triangle test/markup_parser_test.rb /^ def test_rule_triangle$/;" f class:MarkupParserTest
|
677
|
+
test_rule_underline test/markup_parser_test.rb /^ def test_rule_underline$/;" f
|
488
678
|
test_rule_underline test/markup_parser_test.rb /^ def test_rule_underline$/;" f class:MarkupParserTest
|
489
679
|
text-001 docs/_site/examples.html /^ <div id="text-001" style='max-height: 600px; overflow-y: auto; margin-bottom: 20px;'>$/;" I
|
490
680
|
text-002 docs/_site/examples.html /^ <div id="text-002" style='max-height: 600px; overflow-y: auto; margin-bottom: 20px;'>$/;" I
|
@@ -511,12 +701,23 @@ text-{{example.name}} docs/examples.html /^ <div id="text-{{example.name}}" s
|
|
511
701
|
textarea docs/_site/assets/css/style.css /^button, input, optgroup, select, textarea { color: inherit; \/* 1 *\/ font: inherit; \/* 2 *\/ m/;" s
|
512
702
|
textarea docs/_site/assets/css/style.css /^textarea { overflow: auto; }$/;" s
|
513
703
|
th docs/_site/assets/css/style.css /^td, th { padding: 0; }$/;" s
|
704
|
+
triangle lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
514
705
|
triangle-square-brackets-rectangle docs/_site/documentation.html /^<h3 id="triangle-square-brackets-rectangle">Triangle, Square Brackets, Rectangle<\/h3>$/;" I
|
706
|
+
triangle= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
707
|
+
triangle_to_parent lib/rsyntaxtree/svg_graph.rb /^ def triangle_to_parent(parent, child)$/;" f
|
515
708
|
triangle_to_parent lib/rsyntaxtree/svg_graph.rb /^ def triangle_to_parent(parent, child)$/;" f class:RSyntaxTree.SVGGraph
|
709
|
+
triangle_to_parent lib/rsyntaxtree/svg_graph_.rb /^ def triangle_to_parent(parent, child)$/;" f
|
710
|
+
type lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
711
|
+
type= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
712
|
+
valid lib/rsyntaxtree/string_parser.rb /^ def self.valid?(data)$/;" F class:RSyntaxTree
|
516
713
|
valid? lib/rsyntaxtree/string_parser.rb /^ def self.valid?(data)$/;" S class:RSyntaxTree.StringParser
|
714
|
+
vertical_indent lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
715
|
+
vertical_indent= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
517
716
|
video docs/_site/assets/css/style.css /^audio, canvas, progress, video { display: inline-block; \/* 1 *\/ vertical-align: baseline; \/* /;" s
|
518
717
|
whitespace-inside-label docs/_site/documentation.html /^<h4 id="whitespace-inside-label">Whitespace inside Label<\/h4>$/;" I
|
718
|
+
width lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
519
719
|
width lib/rsyntaxtree/svg_graph.rb /^ attr_accessor :width, :height$/;" A class:RSyntaxTree.SVGGraph
|
720
|
+
width= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
520
721
|
width= lib/rsyntaxtree/svg_graph.rb /^ attr_accessor :width, :height$/;" A class:RSyntaxTree.SVGGraph
|
521
722
|
{{ category.name }} docs/examples.html /^<h2 id="category-{{category.name | slugify }}"><b>{{ category.name }}<\/b><\/h2>$/;" i
|
522
723
|
{{ page.description | default: site.description | default: site.github.project_tagline }} docs/_layouts/default.html /^ <h2 class="project-tagline">{{ page.description | default: site.description | default: sit/;" i
|