C# 클래스 xFunc.Maths.Parser

The parser for mathematical expressions.
파일 보기 프로젝트 열기: sys27/xFunc 1 사용 예제들

공개 메소드들

메소드 설명
Parse ( IEnumerable tokens ) : IExpression

Parses the specified function.

Parser ( ) : System

Initializes a new instance of the Parser class with default implementations of IExpressionFactory.

Parser ( IExpressionFactory factory ) : System

Initializes a new instance of the Parser class.

비공개 메소드들

메소드 설명
ConvertToReversePolishNotation ( IEnumerable tokens ) : IEnumerable
ConvertTokensToExpressions ( IEnumerable tokens ) : IEnumerable

메소드 상세

Parse() 공개 메소드

Parses the specified function.
public Parse ( IEnumerable tokens ) : IExpression
tokens IEnumerable The list of tokens.
리턴 IExpression

Parser() 공개 메소드

Initializes a new instance of the Parser class with default implementations of IExpressionFactory.
public Parser ( ) : System
리턴 System

Parser() 공개 메소드

Initializes a new instance of the Parser class.
public Parser ( IExpressionFactory factory ) : System
factory IExpressionFactory The factory.
리턴 System