C# Class Microsoft.R.Core.AST.Operators.TokenOperator

Inheritance: Operator
显示文件 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
GetOperatorType ( string text ) : OperatorType
Parse ( ParseContext context, IAstNode parent ) : bool
ToString ( ) : string
TokenOperator ( OperatorType operatorType, bool unary ) : System.Diagnostics
TokenOperator ( bool firstInExpression ) : System.Diagnostics

Method Details

GetOperatorType() public static method

public static GetOperatorType ( string text ) : OperatorType
text string
return OperatorType

Parse() public method

public Parse ( ParseContext context, IAstNode parent ) : bool
context Microsoft.R.Core.Parser.ParseContext
parent IAstNode
return bool

ToString() public method

public ToString ( ) : string
return string

TokenOperator() public method

public TokenOperator ( OperatorType operatorType, bool unary ) : System.Diagnostics
operatorType OperatorType
unary bool
return System.Diagnostics

TokenOperator() public method

public TokenOperator ( bool firstInExpression ) : System.Diagnostics
firstInExpression bool
return System.Diagnostics