Search Results for

    Show / Hide Table of Contents

    Class Parser

    Parses a string according to the rules of the Parser grammar.

    Inheritance
    object
    Parser
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Platform.Protocols.Lino
    Assembly: Platform.Protocols.Lino.dll
    Syntax
    public class Parser

    Methods

    | Edit this page View Source

    Parse(string, string)

    Parses a string according to the rules of the Parser grammar.

    Declaration
    public IList<Link<string>> Parse(string subject, string fileName = null)
    Parameters
    Type Name Description
    string subject

    The parsing subject.

    string fileName

    The optional file name to use in error messages.

    Returns
    Type Description
    IList<Link<string>>

    The IList<Link<string>> parsed from subject.

    Exceptions
    Type Condition
    FormatException

    Thrown when parsing fails against subject. The exception's

    Data["cursor"]
    will be set with the cursor where the fatal error occurred.
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX