rsyntaxtree 1.2.0 → 1.2.1
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/.rubocop.yml +1 -1
- data/.tags +72 -0
- data/docs/_examples/030.md +2 -2
- data/docs/_examples/032.md +6 -5
- data/docs/_examples/034.md +1 -1
- data/docs/_examples/035.md +34 -0
- data/docs/assets/img/001.png +0 -0
- data/docs/assets/img/002.png +0 -0
- data/docs/assets/img/003.png +0 -0
- data/docs/assets/img/004.png +0 -0
- data/docs/assets/img/005.png +0 -0
- data/docs/assets/img/006.png +0 -0
- data/docs/assets/img/007.png +0 -0
- data/docs/assets/img/008.png +0 -0
- data/docs/assets/img/009.png +0 -0
- data/docs/assets/img/010.png +0 -0
- data/docs/assets/img/011.png +0 -0
- data/docs/assets/img/012.png +0 -0
- data/docs/assets/img/013.png +0 -0
- data/docs/assets/img/014.png +0 -0
- data/docs/assets/img/015.png +0 -0
- data/docs/assets/img/016.png +0 -0
- data/docs/assets/img/017.png +0 -0
- data/docs/assets/img/018.png +0 -0
- data/docs/assets/img/020.png +0 -0
- data/docs/assets/img/021.png +0 -0
- data/docs/assets/img/023.png +0 -0
- data/docs/assets/img/024.png +0 -0
- data/docs/assets/img/025.png +0 -0
- data/docs/assets/img/026.png +0 -0
- data/docs/assets/img/027.png +0 -0
- data/docs/assets/img/028.png +0 -0
- data/docs/assets/img/029.png +0 -0
- data/docs/assets/img/030.png +0 -0
- data/docs/assets/img/032.png +0 -0
- data/docs/assets/img/033.png +0 -0
- data/docs/assets/img/034.png +0 -0
- data/docs/assets/img/035.png +0 -0
- data/docs/assets/svg/000.svg +8 -2
- data/docs/assets/svg/001.svg +8 -2
- data/docs/assets/svg/002.svg +8 -2
- data/docs/assets/svg/003.svg +8 -2
- data/docs/assets/svg/004.svg +8 -2
- data/docs/assets/svg/005.svg +8 -2
- data/docs/assets/svg/006.svg +8 -2
- data/docs/assets/svg/007.svg +8 -2
- data/docs/assets/svg/008.svg +8 -2
- data/docs/assets/svg/009.svg +8 -2
- data/docs/assets/svg/010.svg +17 -11
- data/docs/assets/svg/011.svg +8 -2
- data/docs/assets/svg/012.svg +8 -2
- data/docs/assets/svg/013.svg +8 -2
- data/docs/assets/svg/014.svg +8 -2
- data/docs/assets/svg/015.svg +8 -2
- data/docs/assets/svg/016.svg +8 -2
- data/docs/assets/svg/017.svg +8 -2
- data/docs/assets/svg/018.svg +8 -2
- data/docs/assets/svg/019.svg +8 -2
- data/docs/assets/svg/020.svg +8 -2
- data/docs/assets/svg/021.svg +8 -2
- data/docs/assets/svg/022.svg +8 -2
- data/docs/assets/svg/023.svg +8 -2
- data/docs/assets/svg/024.svg +8 -2
- data/docs/assets/svg/025.svg +8 -2
- data/docs/assets/svg/026.svg +8 -2
- data/docs/assets/svg/027.svg +8 -2
- data/docs/assets/svg/028.svg +8 -2
- data/docs/assets/svg/029.svg +14 -8
- data/docs/assets/svg/030.svg +10 -4
- data/docs/assets/svg/031.svg +8 -2
- data/docs/assets/svg/032.svg +67 -48
- data/docs/assets/svg/033.svg +17 -11
- data/docs/assets/svg/034.svg +8 -2
- data/docs/assets/svg/035.svg +80 -0
- data/docs/documentation.md +2 -2
- data/docs/documentation_ja.md +4 -0
- data/lib/rsyntaxtree/base_graph.rb +3 -6
- data/lib/rsyntaxtree/element.rb +0 -8
- data/lib/rsyntaxtree/svg_graph.rb +43 -40
- data/lib/rsyntaxtree/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7a65345a9fe8fdd06262c2a55aae3fbe6125c5ac966446ebed621325a146c144
|
|
4
|
+
data.tar.gz: 1c42e32a951032080b40db455272f7df1874fe8d9c085221b31cfc4323adf5f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: daf043cfb0093603e43ad46c4d12c30118b7b04f9ad5e50523b52f018de300b1344a42fd0641d69b82494194078ccb07adb32cda409e2e74057f13293bd2f258
|
|
7
|
+
data.tar.gz: def2d1271bed2ff6078623a34f691551b200a5125ab524b4539c2d60c2309b54f1bfc0846de0dc48405695d82032e7f8e7531f7bc6eec05d584229270f994550
|
data/.rubocop.yml
CHANGED
data/.tags
CHANGED
|
@@ -227,6 +227,7 @@
|
|
|
227
227
|
Animal ontology docs/_site/examples.html /^ <h2 id="category-formal-concept-analysis"><b>Formal Concept Analysis<\/b><\/h2><h3>Animal on/;" j
|
|
228
228
|
Arithmetic parser docs/_site/examples.html /^ <div><a href="#examples">🔝<\/a><\/div><h3>Arithmetic parser<\/h3>$/;" j
|
|
229
229
|
Author README.md /^## Author$/;" s
|
|
230
|
+
BaseGraph lib/rsyntaxtree/base_graph.rb /^ class BaseGraph$/;" c class:RSyntaxTree
|
|
230
231
|
BaseGraph lib/rsyntaxtree/base_graph.rb /^ class BaseGraph$/;" c module:RSyntaxTree
|
|
231
232
|
Basic Usage docs/_site/documentation.html /^<h3 id="basic-usage">Basic Usage<\/h3>$/;" j
|
|
232
233
|
Basic Usage docs/documentation.md /^### Basic Usage$/;" S chapter:Documentation
|
|
@@ -252,7 +253,9 @@ Draw Paths between Nodes (experimental) docs/documentation.md /^### Draw Paths b
|
|
|
252
253
|
ETYPE_LEAF lib/rsyntaxtree.rb /^ETYPE_LEAF = 2$/;" C
|
|
253
254
|
ETYPE_LEAF lib/rsyntaxtree/base_graph.rb /^ ETYPE_LEAF == target.type &&$/;" C method:RSyntaxTree.BaseGraph.calculate_height
|
|
254
255
|
ETYPE_NODE lib/rsyntaxtree.rb /^ETYPE_NODE = 1$/;" C
|
|
256
|
+
Element lib/rsyntaxtree/element.rb /^ class Element$/;" c class:RSyntaxTree
|
|
255
257
|
Element lib/rsyntaxtree/element.rb /^ class Element$/;" c module:RSyntaxTree
|
|
258
|
+
ElementList lib/rsyntaxtree/elementlist.rb /^ class ElementList$/;" c class:RSyntaxTree
|
|
256
259
|
ElementList lib/rsyntaxtree/elementlist.rb /^ class ElementList$/;" c module:RSyntaxTree
|
|
257
260
|
Escape Special Characters docs/_site/documentation.html /^<h3 id="escape-special-characters">Escape Special Characters<\/h3>$/;" j
|
|
258
261
|
Escape Special Characters docs/documentation.md /^### Escape Special Characters$/;" S chapter:Documentation
|
|
@@ -296,6 +299,7 @@ Phonology docs/_site/examples.html /^ <h2 id="category-phonology"><b>Phonolog
|
|
|
296
299
|
Phonology sample docs/_site/examples.html /^ <h2 id="category-phonology"><b>Phonology<\/b><\/h2><h3>Phonology sample<\/h3>$/;" j
|
|
297
300
|
Pragmatics docs/_site/examples.html /^ <h2 id="category-pragmatics"><b>Pragmatics<\/b><\/h2><h3>Types of meaning<\/h3>$/;" i
|
|
298
301
|
Programming language parser docs/_site/examples.html /^ <h2 id="category-computer-science"><b>Computer Science<\/b><\/h2><h3>Programming language pa/;" j
|
|
302
|
+
RSGenerator lib/rsyntaxtree.rb /^ class RSGenerator$/;" c class:RSyntaxTree
|
|
299
303
|
RSGenerator lib/rsyntaxtree.rb /^ class RSGenerator$/;" c module:RSyntaxTree
|
|
300
304
|
RSTError lib/rsyntaxtree.rb /^class RSTError < StandardError$/;" c
|
|
301
305
|
RSyntaxTree docs/_site/404.html /^ <\/h1>$/;" h
|
|
@@ -316,10 +320,12 @@ RSyntaxTree | Syntax tree generator made with Ruby docs/_site/documentation_ja.h
|
|
|
316
320
|
RSyntaxTree | Syntax tree generator made with Ruby docs/_site/examples.html /^<title>RSyntaxTree | Syntax tree generator made with Ruby<\/title>$/;" j
|
|
317
321
|
References README.md /^## References$/;" s
|
|
318
322
|
SUBSCRIPT_CONST lib/rsyntaxtree.rb /^SUBSCRIPT_CONST = 0.7$/;" C
|
|
323
|
+
SVGGraph lib/rsyntaxtree/svg_graph.rb /^ class SVGGraph < BaseGraph$/;" c class:RSyntaxTree
|
|
319
324
|
SVGGraph lib/rsyntaxtree/svg_graph.rb /^ class SVGGraph < BaseGraph$/;" c module:RSyntaxTree
|
|
320
325
|
SVG形式を用いる場合 docs/_site/documentation_ja.html /^<h3 id="svg形式を用いる場合">SVG形式を用いる場合<\/h3>$/;" j
|
|
321
326
|
SVG形式を用いる場合 docs/documentation_ja.md /^### SVG形式を用いる場合$/;" S chapter:ドキュメンテーション
|
|
322
327
|
String lib/rsyntaxtree/utils.rb /^class String$/;" c
|
|
328
|
+
StringParser lib/rsyntaxtree/string_parser.rb /^ class StringParser$/;" c class:RSyntaxTree
|
|
323
329
|
StringParser lib/rsyntaxtree/string_parser.rb /^ class StringParser$/;" c module:RSyntaxTree
|
|
324
330
|
Subject-predicate construction docs/_site/examples.html /^ <div><a href="#examples">🔝<\/a><\/div><h3>Subject-predicate construction<\/h3>$/;" j
|
|
325
331
|
Subscript and Superscript docs/documentation.md /^#### Subscript and Superscript$/;" t subsection:Documentation""Font Styles, Text Decoration, and Sub/Superscripts
|
|
@@ -353,6 +359,7 @@ a:hover docs/_site/assets/css/style.css /^a:active, a:hover { outline: 0; }$/;"
|
|
|
353
359
|
a:hover docs/_site/assets/css/style.css /^a:hover { text-decoration: underline; }$/;" s
|
|
354
360
|
abbr[title] docs/_site/assets/css/style.css /^abbr[title] { border-bottom: 1px dotted; }$/;" s
|
|
355
361
|
add lib/rsyntaxtree/elementlist.rb /^ def add(element)$/;" f class:RSyntaxTree.ElementList
|
|
362
|
+
add_child lib/rsyntaxtree/element.rb /^ def add_child(child_id)$/;" f
|
|
356
363
|
add_child lib/rsyntaxtree/element.rb /^ def add_child(child_id)$/;" f class:RSyntaxTree.Element
|
|
357
364
|
all_emoji? lib/rsyntaxtree/utils.rb /^ def all_emoji?$/;" f class:String
|
|
358
365
|
arrow docs/_site/assets/svg/000.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="11.520000000000001" markerHeight="/;" d
|
|
@@ -493,6 +500,8 @@ arrow docs/assets/svg/033.svg /^ <marker id="arrow" markerUnits="strokeWidth"
|
|
|
493
500
|
arrow docs/assets/svg/033.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="11.520000000000001" markerHeight="/;" i
|
|
494
501
|
arrow docs/assets/svg/034.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="13.440000000000001" markerHeight="/;" d
|
|
495
502
|
arrow docs/assets/svg/034.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="13.440000000000001" markerHeight="/;" i
|
|
503
|
+
arrow docs/assets/svg/035.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="13.440000000000001" markerHeight="/;" d
|
|
504
|
+
arrow docs/assets/svg/035.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="13.440000000000001" markerHeight="/;" i
|
|
496
505
|
arrow img/sample.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="7.823437500000001" markerHeight="7/;" d
|
|
497
506
|
arrow img/sample.svg /^ <marker id="arrow" markerUnits="strokeWidth" markerWidth="7.823437500000001" markerHeight="7/;" i
|
|
498
507
|
arrowSolid docs/assets/svg/000.svg /^ <marker id="arrowSolid" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="7.2" markerHeight/;" d
|
|
@@ -565,6 +574,8 @@ arrowSolid docs/assets/svg/033.svg /^ <marker id="arrowSolid" viewBox="0 0 10
|
|
|
565
574
|
arrowSolid docs/assets/svg/033.svg /^ <marker id="arrowSolid" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="7.2" markerHeight/;" i
|
|
566
575
|
arrowSolid docs/assets/svg/034.svg /^ <marker id="arrowSolid" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="8.4" markerHeight/;" d
|
|
567
576
|
arrowSolid docs/assets/svg/034.svg /^ <marker id="arrowSolid" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="8.4" markerHeight/;" i
|
|
577
|
+
arrowSolid docs/assets/svg/035.svg /^ <marker id="arrowSolid" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="8.4" markerHeight/;" d
|
|
578
|
+
arrowSolid docs/assets/svg/035.svg /^ <marker id="arrowSolid" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="8.4" markerHeight/;" i
|
|
568
579
|
article docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
|
569
580
|
aside docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
|
570
581
|
audio docs/_site/assets/css/style.css /^audio, canvas, progress, video { display: inline-block; \/* 1 *\/ vertical-align: baseline; \/* /;" s
|
|
@@ -580,7 +591,10 @@ button docs/_site/assets/css/style.css /^button, input, optgroup, select, textar
|
|
|
580
591
|
button docs/_site/assets/css/style.css /^button, select { text-transform: none; }$/;" s
|
|
581
592
|
button::-moz-focus-inner docs/_site/assets/css/style.css /^button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }$/;" s
|
|
582
593
|
button[disabled] docs/_site/assets/css/style.css /^button[disabled], html input[disabled] { cursor: default; }$/;" s
|
|
594
|
+
calculate_height lib/rsyntaxtree/base_graph.rb /^ def calculate_height(id = 1)$/;" f class:RSyntaxTree
|
|
583
595
|
calculate_height lib/rsyntaxtree/base_graph.rb /^ def calculate_height(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
|
596
|
+
calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f
|
|
597
|
+
calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f class:RSyntaxTree
|
|
584
598
|
calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f class:RSyntaxTree.BaseGraph
|
|
585
599
|
calculate_level lib/rsyntaxtree/base_graph.rb /^ def calculate_level$/;" f class:RSyntaxTree.BaseGraph
|
|
586
600
|
calculate_width lib/rsyntaxtree/base_graph.rb /^ def calculate_width(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
|
@@ -598,6 +612,7 @@ category-miscellaneous docs/_site/examples.html /^ <h2 id="category-miscellan
|
|
|
598
612
|
category-phonology docs/_site/examples.html /^ <h2 id="category-phonology"><b>Phonology<\/b><\/h2><h3>Phonology sample<\/h3>$/;" I
|
|
599
613
|
category-pragmatics docs/_site/examples.html /^ <h2 id="category-pragmatics"><b>Pragmatics<\/b><\/h2><h3>Types of meaning<\/h3>$/;" I
|
|
600
614
|
category-{{category.name | slugify }} docs/examples.html /^ <h2 id="category-{{category.name | slugify }}"><b>{{ category.name }}<\/b><\/h2>$/;" I
|
|
615
|
+
check_data lib/rsyntaxtree.rb /^ def self.check_data(text)$/;" F class:RSyntaxTree.RSGenerator
|
|
601
616
|
check_data lib/rsyntaxtree.rb /^ def self.check_data(text)$/;" S class:RSyntaxTree.RSGenerator
|
|
602
617
|
children lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
603
618
|
children= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
@@ -617,6 +632,10 @@ content_height lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :typ
|
|
|
617
632
|
content_height= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
618
633
|
content_width lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
619
634
|
content_width= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
635
|
+
copyToClipBoard docs/_site/documentation.html /^ function copyToClipBoard(id){$/;" f
|
|
636
|
+
copyToClipBoard docs/_site/documentation_ja.html /^ function copyToClipBoard(id){$/;" f
|
|
637
|
+
copyToClipBoard docs/_site/examples.html /^ function copyToClipBoard(id){$/;" f
|
|
638
|
+
copyToClipBoard docs/examples.html /^ function copyToClipBoard(id){$/;" f
|
|
620
639
|
data lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
|
621
640
|
data= lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
|
622
641
|
details docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
|
@@ -627,10 +646,16 @@ documentation docs/_site/documentation.html /^ <h1 class="no_toc" id="docum
|
|
|
627
646
|
draw-extra-connectors-between-nodes-experimental docs/_site/documentation.html /^<h3 id="draw-extra-connectors-between-nodes-experimental">Draw Extra Connectors between Nodes (e/;" I
|
|
628
647
|
draw-paths-between-nodes-experimental docs/_site/documentation.html /^<h3 id="draw-paths-between-nodes-experimental">Draw Paths between Nodes (experimental)<\/h3>$/;" I
|
|
629
648
|
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
|
|
649
|
+
draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f
|
|
650
|
+
draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f class:RSyntaxTree
|
|
630
651
|
draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
|
631
652
|
draw_direct_line lib/rsyntaxtree/svg_graph.rb /^ def draw_direct_line(s_x, s_y, t_x, t_y, s_arrow = false, t_arrow = false)$/;" f class:RSyntaxTree.SVGGraph
|
|
653
|
+
draw_element lib/rsyntaxtree/svg_graph.rb /^ def draw_element(element)$/;" f class:RSyntaxTree
|
|
632
654
|
draw_element lib/rsyntaxtree/svg_graph.rb /^ def draw_element(element)$/;" f class:RSyntaxTree.SVGGraph
|
|
655
|
+
draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f
|
|
656
|
+
draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f class:RSyntaxTree
|
|
633
657
|
draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f class:RSyntaxTree.BaseGraph
|
|
658
|
+
draw_paths lib/rsyntaxtree/svg_graph.rb /^ def draw_paths$/;" f
|
|
634
659
|
draw_paths lib/rsyntaxtree/svg_graph.rb /^ def draw_paths$/;" f class:RSyntaxTree.SVGGraph
|
|
635
660
|
draw_png lib/rsyntaxtree.rb /^ def draw_png(binary = false)$/;" f class:RSyntaxTree.RSGenerator
|
|
636
661
|
draw_svg lib/rsyntaxtree.rb /^ def draw_svg$/;" f class:RSyntaxTree.RSGenerator
|
|
@@ -657,21 +682,31 @@ fontsize lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :le
|
|
|
657
682
|
fontsize= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
658
683
|
footer docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
|
659
684
|
generate Rakefile /^task :generate do$/;" t
|
|
685
|
+
generate_connector lib/rsyntaxtree/svg_graph.rb /^ def generate_connector(x1, y1, x2, y2, col, dashed = false, s_arrow = false, t_arrow = false, stroke_width = 1)$/;" f
|
|
686
|
+
generate_connector lib/rsyntaxtree/svg_graph.rb /^ def generate_connector(x1, y1, x2, y2, col, dashed = false, s_arrow = false, t_arrow = false, stroke_width = 1)$/;" f class:draw_paths
|
|
660
687
|
generate_connector lib/rsyntaxtree/svg_graph.rb /^ def generate_connector(x1, y1, x2, y2, col, dashed = false, s_arrow = false, t_arrow = false/;" f class:RSyntaxTree.SVGGraph
|
|
688
|
+
generate_line lib/rsyntaxtree/svg_graph.rb /^ def generate_line(x1, y1, x2, y2, col, dashed = false, arrow = false, stroke_width = 1)$/;" f
|
|
661
689
|
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
|
|
662
690
|
get_child_count lib/rsyntaxtree/elementlist.rb /^ def get_child_count(id)$/;" f class:RSyntaxTree.ElementList
|
|
663
691
|
get_children lib/rsyntaxtree/elementlist.rb /^ def get_children(id)$/;" f class:RSyntaxTree.ElementList
|
|
664
692
|
get_element_width lib/rsyntaxtree/elementlist.rb /^ def get_element_width(id)$/;" f class:RSyntaxTree.ElementList
|
|
693
|
+
get_elementlist lib/rsyntaxtree/string_parser.rb /^ def get_elementlist$/;" f
|
|
665
694
|
get_elementlist lib/rsyntaxtree/string_parser.rb /^ def get_elementlist$/;" f class:RSyntaxTree.StringParser
|
|
666
695
|
get_elements lib/rsyntaxtree/elementlist.rb /^ def get_elements$/;" f class:RSyntaxTree.ElementList
|
|
667
696
|
get_first lib/rsyntaxtree/elementlist.rb /^ def get_first$/;" f class:RSyntaxTree.ElementList
|
|
668
697
|
get_id lib/rsyntaxtree/elementlist.rb /^ def get_id(id)$/;" f class:RSyntaxTree.ElementList
|
|
669
698
|
get_indent lib/rsyntaxtree/elementlist.rb /^ def get_indent(id)$/;" f class:RSyntaxTree.ElementList
|
|
699
|
+
get_leftmost lib/rsyntaxtree/base_graph.rb /^ def get_leftmost(id = 1)$/;" f
|
|
700
|
+
get_leftmost lib/rsyntaxtree/base_graph.rb /^ def get_leftmost(id = 1)$/;" f class:RSyntaxTree
|
|
670
701
|
get_leftmost lib/rsyntaxtree/base_graph.rb /^ def get_leftmost(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
|
671
702
|
get_level_height lib/rsyntaxtree/elementlist.rb /^ def get_level_height$/;" f class:RSyntaxTree.ElementList
|
|
703
|
+
get_metrics lib/rsyntaxtree/utils.rb /^ def get_metrics(text, font, fontsize, font_style, font_weight)$/;" f class:FontMetrics
|
|
672
704
|
get_metrics lib/rsyntaxtree/utils.rb /^ def get_metrics(text, font, fontsize, font_style, font_weight)$/;" f module:FontMetrics
|
|
673
705
|
get_next lib/rsyntaxtree/elementlist.rb /^ def get_next$/;" f class:RSyntaxTree.ElementList
|
|
706
|
+
get_next_token lib/rsyntaxtree/string_parser.rb /^ def get_next_token$/;" f
|
|
674
707
|
get_next_token lib/rsyntaxtree/string_parser.rb /^ def get_next_token$/;" f class:RSyntaxTree.StringParser
|
|
708
|
+
get_rightmost lib/rsyntaxtree/base_graph.rb /^ def get_rightmost(id = 1)$/;" f
|
|
709
|
+
get_rightmost lib/rsyntaxtree/base_graph.rb /^ def get_rightmost(id = 1)$/;" f class:RSyntaxTree
|
|
675
710
|
get_rightmost lib/rsyntaxtree/base_graph.rb /^ def get_rightmost(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
|
676
711
|
grid docs/assets/css/style.scss /^ div.grid {$/;" c
|
|
677
712
|
grid docs/assets/css/style.scss /^div.grid {$/;" c
|
|
@@ -815,6 +850,8 @@ hatchBlack docs/assets/svg/033.svg /^ <pattern id="hatchBlack" x="10" y="10"
|
|
|
815
850
|
hatchBlack docs/assets/svg/033.svg /^ <pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" /;" i
|
|
816
851
|
hatchBlack docs/assets/svg/034.svg /^ <pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" /;" d
|
|
817
852
|
hatchBlack docs/assets/svg/034.svg /^ <pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" /;" i
|
|
853
|
+
hatchBlack docs/assets/svg/035.svg /^ <pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" /;" d
|
|
854
|
+
hatchBlack docs/assets/svg/035.svg /^ <pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" /;" i
|
|
818
855
|
hatchForLeaf docs/_site/assets/svg/000.svg /^ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" d
|
|
819
856
|
hatchForLeaf docs/_site/assets/svg/000.svg /^ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" i
|
|
820
857
|
hatchForLeaf docs/_site/assets/svg/001.svg /^ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" d
|
|
@@ -953,6 +990,8 @@ hatchForLeaf docs/assets/svg/033.svg /^ <pattern id="hatchForLeaf" x="10" y="
|
|
|
953
990
|
hatchForLeaf docs/assets/svg/033.svg /^ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" i
|
|
954
991
|
hatchForLeaf docs/assets/svg/034.svg /^ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" d
|
|
955
992
|
hatchForLeaf docs/assets/svg/034.svg /^ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" i
|
|
993
|
+
hatchForLeaf docs/assets/svg/035.svg /^ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" d
|
|
994
|
+
hatchForLeaf docs/assets/svg/035.svg /^ <pattern id="hatchForLeaf" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" i
|
|
956
995
|
hatchForNode docs/_site/assets/svg/000.svg /^ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" d
|
|
957
996
|
hatchForNode docs/_site/assets/svg/000.svg /^ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" i
|
|
958
997
|
hatchForNode docs/_site/assets/svg/001.svg /^ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" d
|
|
@@ -1091,6 +1130,8 @@ hatchForNode docs/assets/svg/033.svg /^ <pattern id="hatchForNode" x="10" y="
|
|
|
1091
1130
|
hatchForNode docs/assets/svg/033.svg /^ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" i
|
|
1092
1131
|
hatchForNode docs/assets/svg/034.svg /^ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" d
|
|
1093
1132
|
hatchForNode docs/assets/svg/034.svg /^ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" i
|
|
1133
|
+
hatchForNode docs/assets/svg/035.svg /^ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" d
|
|
1134
|
+
hatchForNode docs/assets/svg/035.svg /^ <pattern id="hatchForNode" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse/;" i
|
|
1094
1135
|
header docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
|
1095
1136
|
height lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1096
1137
|
height lib/rsyntaxtree/svg_graph.rb /^ attr_accessor :width, :height$/;" A class:RSyntaxTree.SVGGraph
|
|
@@ -1138,9 +1179,13 @@ level lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level
|
|
|
1138
1179
|
level lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
|
1139
1180
|
level= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1140
1181
|
level= lib/rsyntaxtree/string_parser.rb /^ attr_accessor :data, :elist, :pos, :id, :level$/;" A class:RSyntaxTree.StringParser
|
|
1182
|
+
line_to_parent lib/rsyntaxtree/svg_graph.rb /^ def line_to_parent(parent, child)$/;" f
|
|
1141
1183
|
line_to_parent lib/rsyntaxtree/svg_graph.rb /^ def line_to_parent(parent, child)$/;" f class:RSyntaxTree.SVGGraph
|
|
1142
1184
|
main docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
|
1185
|
+
make_balance lib/rsyntaxtree/base_graph.rb /^ def make_balance(id = 1)$/;" f
|
|
1186
|
+
make_balance lib/rsyntaxtree/base_graph.rb /^ def make_balance(id = 1)$/;" f class:RSyntaxTree
|
|
1143
1187
|
make_balance lib/rsyntaxtree/base_graph.rb /^ def make_balance(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
|
1188
|
+
make_tree lib/rsyntaxtree/string_parser.rb /^ def make_tree(parent)$/;" f
|
|
1144
1189
|
make_tree lib/rsyntaxtree/string_parser.rb /^ def make_tree(parent)$/;" f class:RSyntaxTree.StringParser
|
|
1145
1190
|
mark docs/_site/assets/css/style.css /^mark { background: #ff0; color: #000; }$/;" s
|
|
1146
1191
|
markdown-toc docs/_site/documentation.html /^<ol id="markdown-toc">$/;" I
|
|
@@ -1181,6 +1226,8 @@ markdown-toc-水平線 docs/_site/documentation_ja.html /^ <li><a href="#
|
|
|
1181
1226
|
menu docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
|
1182
1227
|
nav docs/_site/assets/css/style.css /^article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, s/;" s
|
|
1183
1228
|
newline docs/_site/documentation.html /^<h4 id="newline">Newline<\/h4>$/;" I
|
|
1229
|
+
node_centering lib/rsyntaxtree/base_graph.rb /^ def node_centering$/;" f
|
|
1230
|
+
node_centering lib/rsyntaxtree/base_graph.rb /^ def node_centering$/;" f class:RSyntaxTree
|
|
1184
1231
|
node_centering lib/rsyntaxtree/base_graph.rb /^ def node_centering$/;" f class:RSyntaxTree.BaseGraph
|
|
1185
1232
|
ns1d8799cc0101 docs/assets/svg/000.svg /^ <svg width="1906.4" height="1571.2000000000003" viewBox="-20, -20, 1926.4, 1591.2000000000003"/;" n uri:http://www.w3.org/2000/svg
|
|
1186
1233
|
ns1d99b24d0101 docs/assets/svg/001.svg /^ <svg width="647.8000000000001" height="770.4" viewBox="-20, -20, 667.8000000000001, 790.4" ver/;" n uri:http://www.w3.org/2000/svg
|
|
@@ -1251,14 +1298,19 @@ ns24bd5d320101 docs/assets/svg/033.svg /^ <svg width="623.2" height="1676.8" vi
|
|
|
1251
1298
|
ns24c1ad540101 docs/_site/assets/svg/032.svg /^ <svg width="623.2" height="1500.8" viewBox="-20, -20, 643.2, 1520.8" version="1.1" xmlns="http/;" n uri:http://www.w3.org/2000/svg
|
|
1252
1299
|
ns24cf75b30101 docs/assets/svg/034.svg /^ <svg width="2715.2" height="1236.8" viewBox="-20, -20, 2735.2, 1256.8" version="1.1" xmlns="ht/;" n uri:http://www.w3.org/2000/svg
|
|
1253
1300
|
ns24d3c5d50101 docs/_site/assets/svg/033.svg /^ <svg width="623.2" height="1676.8" viewBox="-20, -20, 643.2, 1696.8" version="1.1" xmlns="http/;" n uri:http://www.w3.org/2000/svg
|
|
1301
|
+
ns24e18e340101 docs/assets/svg/035.svg /^ <svg width="3031.4" height="1958.4" viewBox="-20, -20, 3051.4, 1978.4" version="1.1" xmlns="ht/;" n uri:http://www.w3.org/2000/svg
|
|
1254
1302
|
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
|
|
1255
1303
|
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
|
|
1256
1304
|
optgroup docs/_site/assets/css/style.css /^button, input, optgroup, select, textarea { color: inherit; \/* 1 *\/ font: inherit; \/* 2 *\/ m/;" s
|
|
1257
1305
|
optgroup docs/_site/assets/css/style.css /^optgroup { font-weight: bold; }$/;" s
|
|
1258
1306
|
parent lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1259
1307
|
parent= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1308
|
+
parse lib/rsyntaxtree/markup_parser.rb /^ def parse(txt)$/;" f class:Markup
|
|
1260
1309
|
parse lib/rsyntaxtree/markup_parser.rb /^ def parse(txt)$/;" f module:Markup
|
|
1310
|
+
parse lib/rsyntaxtree/string_parser.rb /^ def parse$/;" f
|
|
1261
1311
|
parse lib/rsyntaxtree/string_parser.rb /^ def parse$/;" f class:RSyntaxTree.StringParser
|
|
1312
|
+
parse_list lib/rsyntaxtree/base_graph.rb /^ def parse_list$/;" f
|
|
1313
|
+
parse_list lib/rsyntaxtree/base_graph.rb /^ def parse_list$/;" f class:RSyntaxTree
|
|
1262
1314
|
parse_list lib/rsyntaxtree/base_graph.rb /^ def parse_list$/;" f class:RSyntaxTree.BaseGraph
|
|
1263
1315
|
path lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1264
1316
|
path= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
@@ -1276,7 +1328,9 @@ select docs/_site/assets/css/style.css /^button, select { text-transform: none;
|
|
|
1276
1328
|
set_element_width lib/rsyntaxtree/elementlist.rb /^ def set_element_width(id, width)$/;" f class:RSyntaxTree.ElementList
|
|
1277
1329
|
set_hierarchy lib/rsyntaxtree/elementlist.rb /^ def set_hierarchy$/;" f class:RSyntaxTree.ElementList
|
|
1278
1330
|
set_indent lib/rsyntaxtree/elementlist.rb /^ def set_indent(id, indent)$/;" f class:RSyntaxTree.ElementList
|
|
1331
|
+
set_tspan lib/rsyntaxtree/svg_graph.rb /^ def set_tspan(this_x, this_y, style, decoration, fontstyle, text)$/;" f
|
|
1279
1332
|
set_tspan lib/rsyntaxtree/svg_graph.rb /^ def set_tspan(this_x, this_y, style, decoration, fontstyle, text)$/;" f class:RSyntaxTree.SVGGraph
|
|
1333
|
+
setup lib/rsyntaxtree/element.rb /^ def setup$/;" f class:RSyntaxTree
|
|
1280
1334
|
setup lib/rsyntaxtree/element.rb /^ def setup$/;" f class:RSyntaxTree.Element
|
|
1281
1335
|
setup test/markup_parser_test.rb /^ def setup$/;" f class:MarkupParserTest
|
|
1282
1336
|
skip-to-content docs/_layouts/default.html /^ <a id="skip-to-content" href="#content">Skip to the content.<\/a>$/;" I
|
|
@@ -1305,26 +1359,42 @@ table docs/_site/assets/css/style.css /^table { border-collapse: collapse; borde
|
|
|
1305
1359
|
table-of-contents docs/_site/documentation.html /^<h3 class="no_toc" id="table-of-contents">Table of Contents<\/h3>$/;" I
|
|
1306
1360
|
td docs/_site/assets/css/style.css /^td, th { padding: 0; }$/;" s
|
|
1307
1361
|
template docs/_site/assets/css/style.css /^[hidden], template { display: none; }$/;" s
|
|
1362
|
+
test_evaluator test/markup_parser_test.rb /^ def test_evaluator$/;" f
|
|
1308
1363
|
test_evaluator test/markup_parser_test.rb /^ def test_evaluator$/;" f class:MarkupParserTest
|
|
1364
|
+
test_rule_bold test/markup_parser_test.rb /^ def test_rule_bold$/;" f
|
|
1309
1365
|
test_rule_bold test/markup_parser_test.rb /^ def test_rule_bold$/;" f class:MarkupParserTest
|
|
1366
|
+
test_rule_bolditalic test/markup_parser_test.rb /^ def test_rule_bolditalic$/;" f
|
|
1310
1367
|
test_rule_bolditalic test/markup_parser_test.rb /^ def test_rule_bolditalic$/;" f class:MarkupParserTest
|
|
1368
|
+
test_rule_border test/markup_parser_test.rb /^ def test_rule_border$/;" f
|
|
1311
1369
|
test_rule_border test/markup_parser_test.rb /^ def test_rule_border$/;" f class:MarkupParserTest
|
|
1370
|
+
test_rule_box test/markup_parser_test.rb /^ def test_rule_box$/;" f
|
|
1312
1371
|
test_rule_box test/markup_parser_test.rb /^ def test_rule_box$/;" f class:MarkupParserTest
|
|
1313
1372
|
test_rule_brackets test/markup_parser_test.rb /^ def test_rule_brackets$/;" f class:MarkupParserTest
|
|
1314
1373
|
test_rule_cr test/markup_parser_test.rb /^ def test_rule_cr$/;" f class:MarkupParserTest
|
|
1315
1374
|
test_rule_escaped test/markup_parser_test.rb /^ def test_rule_escaped$/;" f class:MarkupParserTest
|
|
1375
|
+
test_rule_italic test/markup_parser_test.rb /^ def test_rule_italic$/;" f
|
|
1316
1376
|
test_rule_italic test/markup_parser_test.rb /^ def test_rule_italic$/;" f class:MarkupParserTest
|
|
1377
|
+
test_rule_line test/markup_parser_test.rb /^ def test_rule_line$/;" f
|
|
1317
1378
|
test_rule_line test/markup_parser_test.rb /^ def test_rule_line$/;" f class:MarkupParserTest
|
|
1379
|
+
test_rule_lines test/markup_parser_test.rb /^ def test_rule_lines$/;" f
|
|
1318
1380
|
test_rule_lines test/markup_parser_test.rb /^ def test_rule_lines$/;" f class:MarkupParserTest
|
|
1381
|
+
test_rule_linethrough test/markup_parser_test.rb /^ def test_rule_linethrough$/;" f
|
|
1319
1382
|
test_rule_linethrough test/markup_parser_test.rb /^ def test_rule_linethrough$/;" f class:MarkupParserTest
|
|
1383
|
+
test_rule_markup test/markup_parser_test.rb /^ def test_rule_markup$/;" f
|
|
1320
1384
|
test_rule_markup test/markup_parser_test.rb /^ def test_rule_markup$/;" f class:MarkupParserTest
|
|
1385
|
+
test_rule_non_escaped test/markup_parser_test.rb /^ def test_rule_non_escaped$/;" f
|
|
1321
1386
|
test_rule_non_escaped test/markup_parser_test.rb /^ def test_rule_non_escaped$/;" f class:MarkupParserTest
|
|
1387
|
+
test_rule_overline test/markup_parser_test.rb /^ def test_rule_overline$/;" f
|
|
1322
1388
|
test_rule_overline test/markup_parser_test.rb /^ def test_rule_overline$/;" f class:MarkupParserTest
|
|
1323
1389
|
test_rule_path test/markup_parser_test.rb /^ def test_rule_path$/;" f class:MarkupParserTest
|
|
1390
|
+
test_rule_subscript test/markup_parser_test.rb /^ def test_rule_subscript$/;" f
|
|
1324
1391
|
test_rule_subscript test/markup_parser_test.rb /^ def test_rule_subscript$/;" f class:MarkupParserTest
|
|
1392
|
+
test_rule_superscript test/markup_parser_test.rb /^ def test_rule_superscript$/;" f
|
|
1325
1393
|
test_rule_superscript test/markup_parser_test.rb /^ def test_rule_superscript$/;" f class:MarkupParserTest
|
|
1394
|
+
test_rule_text test/markup_parser_test.rb /^ def test_rule_text$/;" f
|
|
1326
1395
|
test_rule_text test/markup_parser_test.rb /^ def test_rule_text$/;" f class:MarkupParserTest
|
|
1327
1396
|
test_rule_triangle test/markup_parser_test.rb /^ def test_rule_triangle$/;" f class:MarkupParserTest
|
|
1397
|
+
test_rule_underline test/markup_parser_test.rb /^ def test_rule_underline$/;" f
|
|
1328
1398
|
test_rule_underline test/markup_parser_test.rb /^ def test_rule_underline$/;" f class:MarkupParserTest
|
|
1329
1399
|
text-000 docs/_site/examples.html /^ <div id="text-000" style='max-height: 600px; overflow-y: auto; margin-bottom: 20px;'/;" I
|
|
1330
1400
|
text-001 docs/_site/examples.html /^ <div id="text-001" style='max-height: 600px; overflow-y: auto; margin-bottom: 20px;'/;" I
|
|
@@ -1366,10 +1436,12 @@ th docs/_site/assets/css/style.css /^td, th { padding: 0; }$/;" s
|
|
|
1366
1436
|
triangle lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1367
1437
|
triangle-square-brackets-rectangle docs/_site/documentation.html /^<h3 id="triangle-square-brackets-rectangle">Triangle, Square Brackets, Rectangle<\/h3>$/;" I
|
|
1368
1438
|
triangle= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1439
|
+
triangle_to_parent lib/rsyntaxtree/svg_graph.rb /^ def triangle_to_parent(parent, child)$/;" f
|
|
1369
1440
|
triangle_to_parent lib/rsyntaxtree/svg_graph.rb /^ def triangle_to_parent(parent, child)$/;" f class:RSyntaxTree.SVGGraph
|
|
1370
1441
|
type lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1371
1442
|
type= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1372
1443
|
vP-shell (Japanese) docs/_site/examples.html /^ <div><a href="#examples">🔝<\/a><\/div><h3>vP-shell (Japanese)<\/h3>$/;" j
|
|
1444
|
+
valid lib/rsyntaxtree/string_parser.rb /^ def self.valid?(data)$/;" F class:RSyntaxTree
|
|
1373
1445
|
valid? lib/rsyntaxtree/string_parser.rb /^ def self.valid?(data)$/;" S class:RSyntaxTree.StringParser
|
|
1374
1446
|
vertical_indent lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
|
1375
1447
|
vertical_indent= lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
data/docs/_examples/030.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: "030"
|
|
3
|
-
caption: "
|
|
3
|
+
caption: "Construction network"
|
|
4
4
|
colorization: "off"
|
|
5
5
|
category: "Construction Grammar"
|
|
6
6
|
polyline: "off"
|
|
7
7
|
symmetrization: "off"
|
|
8
8
|
connector: "auto"
|
|
9
9
|
font: "Noto Serif"
|
|
10
|
-
reference:
|
|
10
|
+
reference: "Goldberg 1995: 109"
|
|
11
11
|
---
|
|
12
12
|
```
|
|
13
13
|
[##Subject\-Predicate<>Construction
|
data/docs/_examples/032.md
CHANGED
|
@@ -3,7 +3,7 @@ name: "032"
|
|
|
3
3
|
caption:
|
|
4
4
|
category: "Test"
|
|
5
5
|
polyline: "on"
|
|
6
|
-
colorization: "
|
|
6
|
+
colorization: "on"
|
|
7
7
|
symmetrization: "off"
|
|
8
8
|
connector: "none"
|
|
9
9
|
font: "Noto Sans Mono"
|
|
@@ -12,15 +12,16 @@ reference: ""
|
|
|
12
12
|
```
|
|
13
13
|
[##ABC\
|
|
14
14
|
---\
|
|
15
|
-
abc+-
|
|
15
|
+
abc+-4+->6
|
|
16
16
|
DEF+0+->2+-4
|
|
17
17
|
[##GHI\
|
|
18
18
|
---\
|
|
19
|
-
ghi+>0+->1+-2+5
|
|
20
|
-
[JKL
|
|
21
|
-
[##MNO
|
|
19
|
+
ghi+>0+->1+-2+5+->6]
|
|
20
|
+
[##JKL+->7+->8
|
|
21
|
+
[##MNO+->8
|
|
22
22
|
##XYZ+5+->1
|
|
23
23
|
]
|
|
24
24
|
]
|
|
25
|
+
[##PQR+->7]
|
|
25
26
|
]
|
|
26
27
|
```
|
data/docs/_examples/034.md
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "035"
|
|
3
|
+
caption: "Construction network"
|
|
4
|
+
colorization: "off"
|
|
5
|
+
category: "Construction Grammar"
|
|
6
|
+
polyline: "off"
|
|
7
|
+
symmetrization: "on"
|
|
8
|
+
connector: "auto"
|
|
9
|
+
font: "Noto Serif"
|
|
10
|
+
reference: "Goldberg 1995: 109"
|
|
11
|
+
---
|
|
12
|
+
```
|
|
13
|
+
[##Caused\-Motion\
|
|
14
|
+
---\
|
|
15
|
+
*Pat<>sneezed<>the<>napkin<>off<>the<>table*+-2
|
|
16
|
+
[##Resultative\
|
|
17
|
+
---\
|
|
18
|
+
*She<>kissed<>him<>unconsicous*+-1
|
|
19
|
+
[<>
|
|
20
|
+
[##Intransitive<>Resultative\
|
|
21
|
+
---\
|
|
22
|
+
*The<>jello<>went<>from<>liquid<>to<>solid*+-1+-3]
|
|
23
|
+
]
|
|
24
|
+
]
|
|
25
|
+
[<>
|
|
26
|
+
[##Intransitive<>Motion\
|
|
27
|
+
---\
|
|
28
|
+
*The<>boy<>ran<>home*+-2+-3]
|
|
29
|
+
]
|
|
30
|
+
[##Transfer\
|
|
31
|
+
---\
|
|
32
|
+
*Sally<>threw<>a<>football<>to<>him*]
|
|
33
|
+
]
|
|
34
|
+
```
|
data/docs/assets/img/001.png
CHANGED
|
Binary file
|
data/docs/assets/img/002.png
CHANGED
|
Binary file
|
data/docs/assets/img/003.png
CHANGED
|
Binary file
|
data/docs/assets/img/004.png
CHANGED
|
Binary file
|
data/docs/assets/img/005.png
CHANGED
|
Binary file
|
data/docs/assets/img/006.png
CHANGED
|
Binary file
|
data/docs/assets/img/007.png
CHANGED
|
Binary file
|
data/docs/assets/img/008.png
CHANGED
|
Binary file
|
data/docs/assets/img/009.png
CHANGED
|
Binary file
|
data/docs/assets/img/010.png
CHANGED
|
Binary file
|
data/docs/assets/img/011.png
CHANGED
|
Binary file
|
data/docs/assets/img/012.png
CHANGED
|
Binary file
|
data/docs/assets/img/013.png
CHANGED
|
Binary file
|
data/docs/assets/img/014.png
CHANGED
|
Binary file
|
data/docs/assets/img/015.png
CHANGED
|
Binary file
|
data/docs/assets/img/016.png
CHANGED
|
Binary file
|
data/docs/assets/img/017.png
CHANGED
|
Binary file
|
data/docs/assets/img/018.png
CHANGED
|
Binary file
|
data/docs/assets/img/020.png
CHANGED
|
Binary file
|
data/docs/assets/img/021.png
CHANGED
|
Binary file
|
data/docs/assets/img/023.png
CHANGED
|
Binary file
|
data/docs/assets/img/024.png
CHANGED
|
Binary file
|
data/docs/assets/img/025.png
CHANGED
|
Binary file
|
data/docs/assets/img/026.png
CHANGED
|
Binary file
|
data/docs/assets/img/027.png
CHANGED
|
Binary file
|
data/docs/assets/img/028.png
CHANGED
|
Binary file
|
data/docs/assets/img/029.png
CHANGED
|
Binary file
|
data/docs/assets/img/030.png
CHANGED
|
Binary file
|
data/docs/assets/img/032.png
CHANGED
|
Binary file
|
data/docs/assets/img/033.png
CHANGED
|
Binary file
|
data/docs/assets/img/034.png
CHANGED
|
Binary file
|
|
Binary file
|
data/docs/assets/svg/000.svg
CHANGED
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
<marker id="arrow" markerUnits="strokeWidth" markerWidth="11.520000000000001" markerHeight="11.520000000000001" viewBox="0 0 11.520000000000001 11.520000000000001" refX="5.760000000000001" refY="0">
|
|
6
6
|
<polyline fill="none" stroke="purple" stroke-width="1" points="0,11.520000000000001,5.760000000000001,0,11.520000000000001,11.520000000000001" />
|
|
7
7
|
</marker>
|
|
8
|
-
<marker id="
|
|
9
|
-
<path d="M 0 0 L 10 5 L 0 10 z"
|
|
8
|
+
<marker id="arrowForward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="11.520000000000001" markerHeight="11.520000000000001" orient="auto-start-reverse">
|
|
9
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="red"/>
|
|
10
|
+
</marker>
|
|
11
|
+
<marker id="arrowBackward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="11.520000000000001" markerHeight="11.520000000000001" orient="auto">
|
|
12
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="red"/>
|
|
13
|
+
</marker>
|
|
14
|
+
<marker id="arrowBothways" viewBox="0 0 30 10" refX="15" refY="5" markerWidth="28.8" markerHeight="28.8" orient="auto">
|
|
15
|
+
<path d="M 0 5 L 10 0 L 10 5 L 20 5 L 20 0 L 30 5 L 20 10 L 20 5 L 10 5 L 10 10 z" fill="red"/>
|
|
10
16
|
</marker>
|
|
11
17
|
<pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
|
|
12
18
|
<line x1="0" y="0" x2="0" y2="10" stroke="black" stroke-width="4"></line>
|
data/docs/assets/svg/001.svg
CHANGED
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
<marker id="arrow" markerUnits="strokeWidth" markerWidth="13.440000000000001" markerHeight="13.440000000000001" viewBox="0 0 13.440000000000001 13.440000000000001" refX="6.720000000000001" refY="0">
|
|
6
6
|
<polyline fill="none" stroke="purple" stroke-width="1" points="0,13.440000000000001,6.720000000000001,0,13.440000000000001,13.440000000000001" />
|
|
7
7
|
</marker>
|
|
8
|
-
<marker id="
|
|
9
|
-
<path d="M 0 0 L 10 5 L 0 10 z"
|
|
8
|
+
<marker id="arrowForward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="13.440000000000001" markerHeight="13.440000000000001" orient="auto-start-reverse">
|
|
9
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="red"/>
|
|
10
|
+
</marker>
|
|
11
|
+
<marker id="arrowBackward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="13.440000000000001" markerHeight="13.440000000000001" orient="auto">
|
|
12
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="red"/>
|
|
13
|
+
</marker>
|
|
14
|
+
<marker id="arrowBothways" viewBox="0 0 30 10" refX="15" refY="5" markerWidth="33.6" markerHeight="33.6" orient="auto">
|
|
15
|
+
<path d="M 0 5 L 10 0 L 10 5 L 20 5 L 20 0 L 30 5 L 20 10 L 20 5 L 10 5 L 10 10 z" fill="red"/>
|
|
10
16
|
</marker>
|
|
11
17
|
<pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
|
|
12
18
|
<line x1="0" y="0" x2="0" y2="10" stroke="black" stroke-width="4"></line>
|
data/docs/assets/svg/002.svg
CHANGED
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
<marker id="arrow" markerUnits="strokeWidth" markerWidth="13.440000000000001" markerHeight="13.440000000000001" viewBox="0 0 13.440000000000001 13.440000000000001" refX="6.720000000000001" refY="0">
|
|
6
6
|
<polyline fill="none" stroke="black" stroke-width="1" points="0,13.440000000000001,6.720000000000001,0,13.440000000000001,13.440000000000001" />
|
|
7
7
|
</marker>
|
|
8
|
-
<marker id="
|
|
9
|
-
<path d="M 0 0 L 10 5 L 0 10 z"
|
|
8
|
+
<marker id="arrowForward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="13.440000000000001" markerHeight="13.440000000000001" orient="auto-start-reverse">
|
|
9
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="black"/>
|
|
10
|
+
</marker>
|
|
11
|
+
<marker id="arrowBackward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="13.440000000000001" markerHeight="13.440000000000001" orient="auto">
|
|
12
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="black"/>
|
|
13
|
+
</marker>
|
|
14
|
+
<marker id="arrowBothways" viewBox="0 0 30 10" refX="15" refY="5" markerWidth="33.6" markerHeight="33.6" orient="auto">
|
|
15
|
+
<path d="M 0 5 L 10 0 L 10 5 L 20 5 L 20 0 L 30 5 L 20 10 L 20 5 L 10 5 L 10 10 z" fill="black"/>
|
|
10
16
|
</marker>
|
|
11
17
|
<pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
|
|
12
18
|
<line x1="0" y="0" x2="0" y2="10" stroke="black" stroke-width="4"></line>
|
data/docs/assets/svg/003.svg
CHANGED
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
<marker id="arrow" markerUnits="strokeWidth" markerWidth="13.440000000000001" markerHeight="13.440000000000001" viewBox="0 0 13.440000000000001 13.440000000000001" refX="6.720000000000001" refY="0">
|
|
6
6
|
<polyline fill="none" stroke="black" stroke-width="1" points="0,13.440000000000001,6.720000000000001,0,13.440000000000001,13.440000000000001" />
|
|
7
7
|
</marker>
|
|
8
|
-
<marker id="
|
|
9
|
-
<path d="M 0 0 L 10 5 L 0 10 z"
|
|
8
|
+
<marker id="arrowForward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="13.440000000000001" markerHeight="13.440000000000001" orient="auto-start-reverse">
|
|
9
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="black"/>
|
|
10
|
+
</marker>
|
|
11
|
+
<marker id="arrowBackward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="13.440000000000001" markerHeight="13.440000000000001" orient="auto">
|
|
12
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="black"/>
|
|
13
|
+
</marker>
|
|
14
|
+
<marker id="arrowBothways" viewBox="0 0 30 10" refX="15" refY="5" markerWidth="33.6" markerHeight="33.6" orient="auto">
|
|
15
|
+
<path d="M 0 5 L 10 0 L 10 5 L 20 5 L 20 0 L 30 5 L 20 10 L 20 5 L 10 5 L 10 10 z" fill="black"/>
|
|
10
16
|
</marker>
|
|
11
17
|
<pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
|
|
12
18
|
<line x1="0" y="0" x2="0" y2="10" stroke="black" stroke-width="4"></line>
|
data/docs/assets/svg/004.svg
CHANGED
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
<marker id="arrow" markerUnits="strokeWidth" markerWidth="13.440000000000001" markerHeight="13.440000000000001" viewBox="0 0 13.440000000000001 13.440000000000001" refX="6.720000000000001" refY="0">
|
|
6
6
|
<polyline fill="none" stroke="black" stroke-width="1" points="0,13.440000000000001,6.720000000000001,0,13.440000000000001,13.440000000000001" />
|
|
7
7
|
</marker>
|
|
8
|
-
<marker id="
|
|
9
|
-
<path d="M 0 0 L 10 5 L 0 10 z"
|
|
8
|
+
<marker id="arrowForward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="13.440000000000001" markerHeight="13.440000000000001" orient="auto-start-reverse">
|
|
9
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="black"/>
|
|
10
|
+
</marker>
|
|
11
|
+
<marker id="arrowBackward" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="13.440000000000001" markerHeight="13.440000000000001" orient="auto">
|
|
12
|
+
<path d="M 0 0 L 10 5 L 0 10 z" fill="black"/>
|
|
13
|
+
</marker>
|
|
14
|
+
<marker id="arrowBothways" viewBox="0 0 30 10" refX="15" refY="5" markerWidth="33.6" markerHeight="33.6" orient="auto">
|
|
15
|
+
<path d="M 0 5 L 10 0 L 10 5 L 20 5 L 20 0 L 30 5 L 20 10 L 20 5 L 10 5 L 10 10 z" fill="black"/>
|
|
10
16
|
</marker>
|
|
11
17
|
<pattern id="hatchBlack" x="10" y="10" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
|
|
12
18
|
<line x1="0" y="0" x2="0" y2="10" stroke="black" stroke-width="4"></line>
|