LineParser
Class in Yarn.Markup
Inherits from System.Object
Summary
Parses text and produces markup information.
public sealed class LineParser : IDisposableFields
| Name | Description |
|---|---|
| CharacterAttribute | The name of the implicitly-generated character attribute. |
| CharacterAttributeNameProperty | The name of the ‘name’ property, on the implicitly-generated character attribute. |
| NoMarkupAttribute | The name of the attribute to use to indicate that no marker processing should occur. |
| ReplacementMarkerContents | The name of the property in replacement attributes that contains the text of the attribute. |
| TrimWhitespaceProperty | The name of the property to use to signify that trailing whitespace should be trimmed if a tag had preceding whitespace or begins the line. This property must be a bool value. |
Methods
| Name | Description |
|---|---|
| DeregisterMarkerProcessor(string) | Removes any marker processor associated with a given marker name. |
| Dispose() | |
| ExpandSubstitutions(string,IList | Replaces all substitution markers in a text with the given substitution list. |
| ParseString(string,string,bool) | Parses a string of text and produces a markup parse result. |
| RegisterMarkerProcessor(string,IAttributeMarkerProcessor) | Registers an object as a marker processor for a given marker name. |
Structs
| Name | Description |
|---|---|
| MarkupDiagnostic | Represents a diagnostic message produced during markup parsing. |