asciidoctor ast
$Document {
'$$id': 490,
document: [Circular],
context: 'document',
node_name: 'document',
attributes:
$Hash {
'$$smap':
{ sectids: '',
notitle: '',
'toc-placement': 'auto',
stylesheet: '',
webfonts: '',
prewrap: '',
'attribute-undefined': 'drop-line',
'attribute-missing': 'skip',
'iconfont-remote': '',
'caution-caption': 'Caution',
'important-caption': 'Important',
'note-caption': 'Note',
'tip-caption': 'Tip',
'warning-caption': 'Warning',
'appendix-caption': 'Appendix',
'example-caption': 'Example',
'figure-caption': 'Figure',
'table-caption': 'Table',
'toc-title': 'Table of Contents',
'manname-title': 'NAME',
'untitled-label': 'Untitled',
'version-label': 'Version',
'last-update-label': 'Last updated',
docfile: 'README.2.adoc',
docdir: '/home/ubuntu/workspace/asciidoctor',
docname: 'README.2',
docdate: '2016-12-27',
doctime: '16:05:37 UTC',
docdatetime: '2016-12-27 16:05:37 UTC',
asciidoctor: '',
'asciidoctor-version': '1.5.5',
'safe-mode-name': 'unsafe',
'safe-mode-unsafe': '',
'safe-mode-level': 0,
embedded: '',
'max-include-depth': 64,
'user-home': '/home/ubuntu',
backend: 'html5',
doctype: 'article',
htmlsyntax: 'html',
'doctype-article': '',
'backend-html5-doctype-article': '',
'backend-html5': '',
outfilesuffix: '.html',
filetype: 'html',
'filetype-html': '',
basebackend: 'html',
'basebackend-html': '',
'basebackend-html-doctype-article': '',
localdate: '2016-12-27',
localtime: '16:12:05 UTC',
localdatetime: '2016-12-27 16:12:05 UTC',
stylesdir: '.',
iconsdir: 'images/icons',
doctitle: 'レベル1' },
'$$map': {},
'$$keys':
[ 'sectids',
'notitle',
'toc-placement',
'stylesheet',
'webfonts',
'prewrap',
'attribute-undefined',
'attribute-missing',
'iconfont-remote',
'caution-caption',
'important-caption',
'note-caption',
'tip-caption',
'warning-caption',
'appendix-caption',
'example-caption',
'figure-caption',
'table-caption',
'toc-title',
'manname-title',
'untitled-label',
'version-label',
'last-update-label',
'docfile',
'docdir',
'docname',
'docdate',
'doctime',
'docdatetime',
'asciidoctor',
'asciidoctor-version',
'safe-mode-name',
'safe-mode-unsafe',
'safe-mode-level',
'embedded',
'max-include-depth',
'user-home',
'backend',
'doctype',
'htmlsyntax',
'doctype-article',
'backend-html5-doctype-article',
'backend-html5',
'outfilesuffix',
'filetype',
'filetype-html',
'basebackend',
'basebackend-html',
'basebackend-html-doctype-article',
'localdate',
'localtime',
'localdatetime',
'stylesdir',
'iconsdir',
'doctitle' ],
'$$none': undefined,
'$$proc': undefined },
passthroughs: $Hash { '$$smap': {}, '$$map': {}, '$$keys': [] },
content_model: 'compound',
subs: [],
default_subs: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
blocks:
[ $Block {
'$$id': 526,
parent: [Circular],
document: [Circular],
context: 'preamble',
node_name: 'preamble',
attributes: [Object],
passthroughs: [Object],
content_model: 'compound',
subs: [],
default_subs: [Object],
blocks: [Object],
id: [Object],
title: [Object],
caption: [Object],
style: [Object],
level: 0,
next_section_index: 0,
next_section_number: 1,
source_location: [Object],
lines: [] },
$Section {
'$$id': 538,
parent: [Circular],
document: [Circular],
context: 'section',
node_name: 'section',
attributes: [Object],
passthroughs: [Object],
content_model: 'compound',
subs: [],
default_subs: [Object],
blocks: [Object],
id: '__',
title: 'レベル2',
caption: [Object],
style: [Object],
level: 1,
next_section_index: 1,
next_section_number: 1,
source_location: [Object],
numbered: false,
special: false,
index: 0,
number: 1,
sectname: 'sect1',
subbed_title: 'レベル2' } ],
id: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
title: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
caption: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
style: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
level: 0,
next_section_index: 1,
next_section_number: 1,
source_location: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
parent_document: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
references:
$Hash {
'$$smap':
{ ids: [Object],
footnotes: [],
links: [],
images: [],
indexterms: [],
includes: [Object] },
'$$map': {},
'$$keys': [ 'ids', 'footnotes', 'links', 'images', 'indexterms', 'includes' ] },
callouts: $Callouts { '$$id': 494, lists: [ [] ], list_index: 1, co_index: 1 },
attribute_overrides:
$Hash {
'$$smap':
{ docfile: 'README.2.adoc',
docdir: '/home/ubuntu/workspace/asciidoctor',
docname: 'README.2',
docdate: '2016-12-27',
doctime: '16:05:37 UTC',
docdatetime: '2016-12-27 16:05:37 UTC',
asciidoctor: '',
'asciidoctor-version': '1.5.5',
'safe-mode-name': 'unsafe',
'safe-mode-unsafe': '',
'safe-mode-level': 0,
embedded: '',
'max-include-depth': 64,
'allow-uri-read': [Object],
'user-home': '/home/ubuntu',
'max-attribute-value-size': [Object] },
'$$map': {},
'$$keys':
[ 'docfile',
'docdir',
'docname',
'docdate',
'doctime',
'docdatetime',
'asciidoctor',
'asciidoctor-version',
'safe-mode-name',
'safe-mode-unsafe',
'safe-mode-level',
'embedded',
'max-include-depth',
'allow-uri-read',
'user-home',
'max-attribute-value-size' ] },
safe: 0,
compat_mode: false,
sourcemap: true,
converter:
$Html5Converter {
'$$id': 504,
xml_mode: false,
void_element_slash: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
stylesheets: $Stylesheets { '$$id': 474 } },
extensions:
$Registry {
'$$id': 508,
groups: $Hash { '$$smap': {}, '$$map': {}, '$$keys': [] },
docinfo_processor_extensions: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
include_processor_extensions: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
postprocessor_extensions: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
treeprocessor_extensions: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
preprocessor_extensions: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
inline_macro_extensions: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
block_macro_extensions: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
block_extensions: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
document: [Circular] },
parsed: true,
header:
$Section {
'$$id': 524,
parent: [Circular],
document: [Circular],
context: 'section',
node_name: 'section',
attributes: $Hash { '$$smap': {}, '$$map': {}, '$$keys': [] },
passthroughs: $Hash { '$$smap': {}, '$$map': {}, '$$keys': [] },
content_model: 'compound',
subs: [],
default_subs: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
blocks: [],
id: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
title: 'レベル1',
caption: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
style: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
level: 0,
next_section_index: 0,
next_section_number: 1,
source_location:
$Cursor {
'$$id': 520,
file: 'README.2.adoc',
dir: '/home/ubuntu/workspace/asciidoctor',
path: 'README.2.adoc',
lineno: 1 },
numbered: false,
special: false,
index: 0,
number: 1 },
counters: $Hash { '$$smap': {}, '$$map': {}, '$$keys': [] },
attributes_modified:
$Set {
'$$id': 498,
hash:
$Hash {
'$$smap': {},
'$$map': {},
'$$keys': [],
'$$none': [Object],
'$$proc': [Object] } },
options:
$Hash {
'$$smap':
{ sourcemap: true,
safe: 'unsafe',
attributes: [Object],
header_footer: false },
'$$map': {},
'$$keys': [ 'sourcemap', 'safe', 'attributes', 'header_footer' ],
'$$none': undefined,
'$$proc': undefined },
docinfo_processor_extensions: $Hash { '$$smap': {}, '$$map': {}, '$$keys': [] },
base_dir: '/home/ubuntu/workspace/asciidoctor',
max_attribute_value_size: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
backend: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] },
reader:
$PreprocessorReader {
'$$id': 512,
document: [Circular],
file: 'README.2.adoc',
dir: '/home/ubuntu/workspace/asciidoctor',
path: 'README.2.adoc',
lineno: 17,
lines: [],
source_lines:
[ '= レベル1',
'',
'レベル1本文',
'',
'== レベル2',
'',
'レベル2本文その1',
'',
'レベル2本文その2',
'',
'=== レベル3',
'',
'レベル3本文その1',
'',
'レベル3本文その2' ],
eof: true,
look_ahead: 0,
process_lines: true,
unescape_next_line: false,
maxdepth: $Hash { '$$smap': [Object], '$$map': {}, '$$keys': [Object] },
include_stack: [],
includes: $Set { '$$id': 492, hash: [Object] },
skipping: false,
conditional_stack: [],
include_processor_extensions: NilClass_alloc { '$$id': 4, apply: [Function], call: [Function] } },
doctype: 'article',
outfilesuffix: '.html',
header_attributes:
$Hash {
'$$smap':
{ sectids: '',
notitle: '',
'toc-placement': 'auto',
stylesheet: '',
webfonts: '',
prewrap: '',
'attribute-undefined': 'drop-line',
'attribute-missing': 'skip',
'iconfont-remote': '',
'caution-caption': 'Caution',
'important-caption': 'Important',
'note-caption': 'Note',
'tip-caption': 'Tip',
'warning-caption': 'Warning',
'appendix-caption': 'Appendix',
'example-caption': 'Example',
'figure-caption': 'Figure',
'table-caption': 'Table',
'toc-title': 'Table of Contents',
'manname-title': 'NAME',
'untitled-label': 'Untitled',
'version-label': 'Version',
'last-update-label': 'Last updated',
docfile: 'README.2.adoc',
docdir: '/home/ubuntu/workspace/asciidoctor',
docname: 'README.2',
docdate: '2016-12-27',
doctime: '16:05:37 UTC',
docdatetime: '2016-12-27 16:05:37 UTC',
asciidoctor: '',
'asciidoctor-version': '1.5.5',
'safe-mode-name': 'unsafe',
'safe-mode-unsafe': '',
'safe-mode-level': 0,
embedded: '',
'max-include-depth': 64,
'user-home': '/home/ubuntu',
backend: 'html5',
doctype: 'article',
htmlsyntax: 'html',
'doctype-article': '',
'backend-html5-doctype-article': '',
'backend-html5': '',
outfilesuffix: '.html',
filetype: 'html',
'filetype-html': '',
basebackend: 'html',
'basebackend-html': '',
'basebackend-html-doctype-article': '',
localdate: '2016-12-27',
localtime: '16:12:05 UTC',
localdatetime: '2016-12-27 16:12:05 UTC',
stylesdir: '.',
iconsdir: 'images/icons',
doctitle: 'レベル1' },
'$$map': {},
'$$keys':
[ 'sectids',
'notitle',
'toc-placement',
'stylesheet',
'webfonts',
'prewrap',
'attribute-undefined',
'attribute-missing',
'iconfont-remote',
'caution-caption',
'important-caption',
'note-caption',
'tip-caption',
'warning-caption',
'appendix-caption',
'example-caption',
'figure-caption',
'table-caption',
'toc-title',
'manname-title',
'untitled-label',
'version-label',
'last-update-label',
'docfile',
'docdir',
'docname',
'docdate',
'doctime',
'docdatetime',
'asciidoctor',
'asciidoctor-version',
'safe-mode-name',
'safe-mode-unsafe',
'safe-mode-level',
'embedded',
'max-include-depth',
'user-home',
'backend',
'doctype',
'htmlsyntax',
'doctype-article',
'backend-html5-doctype-article',
'backend-html5',
'outfilesuffix',
'filetype',
'filetype-html',
'basebackend',
'basebackend-html',
'basebackend-html-doctype-article',
'localdate',
'localtime',
'localdatetime',
'stylesdir',
'iconsdir',
'doctitle' ],
'$$none': undefined,
'$$proc': undefined } }