Class ParseTree
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TinyPG
Assembly: OpenSilver.Compiler.TypeScriptDefToCSharp.dll
Syntax
[Serializable]
public class ParseTree : ParseNode
Constructors
| Improve this Doc View SourceParseTree()
Declaration
public ParseTree()
Fields
| Improve this Doc View SourceErrors
Declaration
public ParseErrors Errors
Field Value
Type | Description |
---|---|
ParseErrors |
Skipped
Declaration
public List<Token> Skipped
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<Token> |
Methods
| Improve this Doc View SourceEval(Object[])
this is the entry point for executing and evaluating the parse tree.
Declaration
public object Eval(params object[] paramlist)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | paramlist | additional optional input parameters |
Returns
Type | Description |
---|---|
System.Object | the output of the evaluation function |
PrintTree()
Declaration
public string PrintTree()
Returns
Type | Description |
---|---|
System.String |