Class ParsedDocument
- Namespace
- IntentSharp.Documents
- Assembly
- IntentSharp.dll
A document parsed by an IDocumentFormat: its JSON tree and lookups that give the source line of a node or of a property's key, so a problem found later can name the line.
public sealed class ParsedDocument
- Inheritance
-
objectParsedDocument
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- ParsedDocument(JsonNode?, Func<JsonNode, int?>?, Func<JsonObject, string, int?>?)
Creates a parsed document from its tree and its line lookups.
Properties
- Root
The root of the document's tree; null when the document is a JSON null.
Methods
- LineOf(JsonNode)
The 1-based line where
nodestarts in the source text; null when unknown.
- LineOf(JsonObject, string)
The 1-based line of the key
keyinowner; null when unknown.