T_Cyjb_Markdown_Document - CYJB/Cyjb.Markdown GitHub Wiki
表示一个 Markdown 文档。
System.Object
Cyjb.Markdown.Syntax.Node
Cyjb.Markdown.Document
Namespace: Cyjb.Markdown
Assembly: Cyjb.Markdown (in Cyjb.Markdown.dll) Version: 1.0.2+f073417ab111e884603147b5dc42e8ccc863a984
C#
public sealed class Document : Node,
INodeContainer<BlockNode>The Document type exposes the following members.
| 名称 | 说明 | |
|---|---|---|
![]() |
Document | 使用指定的文本范围初始化 Document 类的新实例。 |
| 名称 | 说明 | |
|---|---|---|
![]() |
Children | 获取子节点列表。 |
![]() |
FirstChild |
获取第一个子节点,如果不存在则返回 null。 |
![]() |
IsHtml | 获取节点是否是 HTML 节点。 (继承自 Node。) |
![]() |
Kind | 获取节点的类型。 (继承自 Node。) |
![]() |
LastChild |
获取最后一个子节点,如果不存在则返回 null。 |
![]() |
LinePositionSpan | 获取节点的行列位置范围。 (继承自 Node。) |
![]() |
Locator | 获取或设置关联到的行定位器。 (继承自 Node。) |
![]() |
Next | 获取后继兄弟节点。 (重写 Node.Next.) |
![]() |
Parent | 获取所属父节点。 (继承自 Node。) |
![]() |
Prev | 获取前驱兄弟节点。 (重写 Node.Prev.) |
![]() |
Span | 获取或设置节点的文本范围。 (继承自 Node。) |
| 名称 | 说明 | |
|---|---|---|
![]() |
Accept(SyntaxVisitor) | 应用指定的访问器。 (重写 Node.Accept(SyntaxVisitor).) |
![]() |
Accept(TResult)(SyntaxVisitor(TResult)) | 应用指定的访问器。 (重写 Node.Accept(TResult)(SyntaxVisitor(TResult)).) |
![]() |
Accept(TResult)(SyntaxVisitor(TResult)) | 应用指定的访问器。 (继承自 Node。) |
![]() |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
![]() |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
![]() |
GetType | Gets the Type of the current instance. (继承自 Object。) |
![]()
|
Parse(String, Nullable(ParseOptions)) | 解析指定 Markdown 字符串,并返回解析后的语法树。 |
![]()
|
Parse(TextReader, Nullable(ParseOptions)) | 解析指定 Markdown 字符串,并返回解析后的语法树。 |
![]() |
Remove | 将当前节点从父节点中移除。 (继承自 Node。) |
![]() |
ToString | 返回当前对象的字符串表示形式。 (继承自 Node。) |

