Show / Hide Table of Contents

Class Parser

Represents a Fluency parser.

Inheritance
System.Object
Parser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fluency.Execution.Parsing
Assembly: Execution.dll
Syntax
public class Parser

Constructors

| Improve this Doc View Source

Parser(Boolean, Boolean, Int32)

Construct a new parser.

Declaration
public Parser(bool verbose = false, bool tabWarn = true, int tabWidth = 4)
Parameters
Type Name Description
System.Boolean verbose

Be verbose.

System.Boolean tabWarn

Whether to warn about tabs after text.

System.Int32 tabWidth

How wide to try to expand tabs to.

Methods

| Improve this Doc View Source

Parse(IEnumerable<String>)

Parse an IEnumerable of lines, such as those from File.ReadAllLines.

Declaration
public IEnumerable<FunctionGraph> Parse(IEnumerable<string> lines)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> lines
Returns
Type Description
System.Collections.Generic.IEnumerable<FunctionGraph>
| Improve this Doc View Source

Register(ParsedCallback)

Declaration
public void Register(ParsedCallback func)
Parameters
Type Name Description
ParsedCallback func
  • Improve this Doc
  • View Source
Back to top Generated by DocFX