C# Class fCraft.SimpleParser

Mostrar archivo Open project: GlennMR/800craft

Public Methods

Method Description
Parse ( string expression, IEnumerable vars ) : Expression
ParseAsEquality ( string expression, IEnumerable vars ) : Expression
PreparseAssignment ( string &assignmentFunction ) : string

Private Methods

Method Description
ProcessComma ( Expression e, Stack tmpStack, int pos ) : void
ProcessOperator ( FuncData op, Expression e, Stack tmpStack ) : void
ProcessRightParenth ( Expression e, Stack tmpStack, int pos ) : void
ReadSpaces ( string s, int &pos ) : void
ReadTerm ( string s, int &pos ) : string
SimpleParser ( ) : System

Method Details

Parse() public static method

public static Parse ( string expression, IEnumerable vars ) : Expression
expression string
vars IEnumerable
return Expression

ParseAsEquality() public static method

public static ParseAsEquality ( string expression, IEnumerable vars ) : Expression
expression string
vars IEnumerable
return Expression

PreparseAssignment() public static method

public static PreparseAssignment ( string &assignmentFunction ) : string
assignmentFunction string
return string