Class ParseNode
Inheritance
System.Object
ParseNode
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()
Assembly: OpenSilver.Compiler.TypeScriptDefToCSharp.dll
Syntax
[Serializable]
public class ParseNode
Constructors
|
Improve this Doc
View Source
ParseNode(Token, String)
Declaration
protected ParseNode(Token token, string text)
Parameters
Type |
Name |
Description |
Token |
token |
|
System.String |
text |
|
Fields
|
Improve this Doc
View Source
nodes
Declaration
protected List<ParseNode> nodes
Field Value
Type |
Description |
System.Collections.Generic.List<ParseNode> |
|
|
Improve this Doc
View Source
Parent
Declaration
Field Value
|
Improve this Doc
View Source
text
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Token
Declaration
Field Value
Properties
|
Improve this Doc
View Source
Nodes
Declaration
public List<ParseNode> Nodes { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<ParseNode> |
|
|
Improve this Doc
View Source
Text
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
CreateNode(Token, String)
Declaration
public virtual ParseNode CreateNode(Token token, string text)
Parameters
Type |
Name |
Description |
Token |
token |
|
System.String |
text |
|
Returns
|
Improve this Doc
View Source
EvalAccessTag(ParseTree, Object[])
Declaration
protected virtual object EvalAccessTag(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalAnonymousType(ParseTree, Object[])
Declaration
protected virtual object EvalAnonymousType(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalBlockElement(ParseTree, Object[])
Declaration
protected virtual object EvalBlockElement(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalClass(ParseTree, Object[])
Declaration
protected virtual object EvalClass(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalEnum(ParseTree, Object[])
Declaration
protected virtual object EvalEnum(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalExport(ParseTree, Object[])
Declaration
protected virtual object EvalExport(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalExtends(ParseTree, Object[])
Declaration
protected virtual object EvalExtends(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalFunction(ParseTree, Object[])
Declaration
protected virtual object EvalFunction(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalFunctionType(ParseTree, Object[])
Declaration
protected virtual object EvalFunctionType(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalGeneric(ParseTree, Object[])
Declaration
protected virtual object EvalGeneric(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalGetter(ParseTree, Object[])
Declaration
protected virtual object EvalGetter(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalImport(ParseTree, Object[])
Declaration
protected virtual object EvalImport(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalIndexer(ParseTree, Object[])
Declaration
protected virtual object EvalIndexer(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalInterface(ParseTree, Object[])
Declaration
protected virtual object EvalInterface(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalNamespace(ParseTree, Object[])
Declaration
protected virtual object EvalNamespace(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalNamespaceContent(ParseTree, Object[])
Declaration
protected virtual object EvalNamespaceContent(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalParamList(ParseTree, Object[])
Declaration
protected virtual object EvalParamList(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalSetter(ParseTree, Object[])
Declaration
protected virtual object EvalSetter(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalStart(ParseTree, Object[])
Declaration
protected virtual object EvalStart(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalType(ParseTree, Object[])
Declaration
protected virtual object EvalType(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalTypeof(ParseTree, Object[])
Declaration
protected virtual object EvalTypeof(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
EvalVariable(ParseTree, Object[])
Declaration
protected virtual object EvalVariable(ParseTree tree, params object[] paramlist)
Parameters
Type |
Name |
Description |
ParseTree |
tree |
|
System.Object[] |
paramlist |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
GetValue(ParseTree, TokenType, Int32)
Declaration
protected object GetValue(ParseTree tree, TokenType type, int index)
Parameters
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
GetValue(ParseTree, TokenType, ref Int32)
Declaration
protected object GetValue(ParseTree tree, TokenType type, ref int index)
Parameters
Returns
Type |
Description |
System.Object |
|
Extension Methods