# AsciiDocSyntaxTree

Lossless AsciiDoc syntax tree rooted in the original source text.

Class 

`OfficeIMO.AsciiDoc`

**Namespace**

`OfficeIMO.AsciiDoc`

**Assembly**

`OfficeIMO.AsciiDoc`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[AsciiDocSyntaxTree.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Syntax/AsciiDocSyntaxTree.cs#L14)

**Modifiers**

sealed

Lossless AsciiDoc syntax tree rooted in the original source text.

## Inheritance

- object
- AsciiDocSyntaxTree

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [AsciiDocDocument.SyntaxTree](/api/ascii-doc/officeimo-asciidoc-asciidocdocument/#property-syntaxtree)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public AsciiDocSourceText Source { get; }` [#](#property-source)

[AsciiDocSyntaxTree.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Syntax/AsciiDocSyntaxTree.cs#L14)

Original source text and line mapping.

`public AsciiDocSyntaxNode Root { get; }` [#](#property-root)

[AsciiDocSyntaxTree.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Syntax/AsciiDocSyntaxTree.cs#L17)

Document root node.

`public bool IsLossless { get; }` [#](#property-islossless)

[AsciiDocSyntaxTree.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Syntax/AsciiDocSyntaxTree.cs#L22)

True when root children are contiguous, cover the complete input, and retain the exact source characters.

<!-- PowerForge markdown artifact sha256:CB89BA0F290C676BBF8113AE2346E20F47C3327C68B7239956B556EBF05464A0 -->
