Method | Description | |
---|---|---|
Eval ( ) : System |
Initialize a new instance of the Eval class.
|
|
Eval ( System.Language language ) : System |
Initialize a new instance of the Eval class.
|
|
Eval ( string input ) : System |
Initialize a new instance of the Eval class.
|
|
Eval ( string input, System.Language language ) : System |
Initialize a new instance of the Eval class.
|
|
PerformResolveIdentifier ( string identifier ) : object |
Attempt to resolve the provided identifier into a value.
|
Method | Description | |
---|---|---|
OnResolveIdentifier ( |
Raises the ResolveIdentifier event.
|
|
ParseAccess ( ) : EvalNode |
Parse the 'access' rule. access ::= primary access2 |
|
ParseAccess2 ( ) : EvalNode |
Process the 'term2' rule. access2 ::= '.' identifier methodcall access2 | '[' arglist1 ']' access2 | {empty} |
|
ParseAccess2VB ( ) : EvalNode |
Process the 'access2VB' rule. access2VB ::= '.' identifier methodcall access2VB | '(' arglist1 ')' access2VB | {empty} |
|
ParseAccessVB ( ) : EvalNode |
Parse the 'accessVB' rule. accessVB ::= primary access2VB |
|
ParseAddSub ( ) : EvalNode |
Parse the 'addsub' rule. addsub ::= term expression2 |
|
ParseAddSub2VB ( ) : EvalNode |
Process the 'addsub2VB' rule. addsub2VB ::= '+' modVB addsub2VB | '-' modVB addsub2VB | {empty} |
|
ParseAddSubVB ( ) : EvalNode |
Parse the 'addsubVB' rule. addsubVB ::= modVB addsub2VB |
|
ParseArgList ( ) : EvalNode |
Process the 'arglist' rule. arglist ::= expression arglist2 | {empty} |
|
ParseArgList1 ( ) : EvalNode |
Process the 'arglist1' rule. arglist1 ::= expression arglist2 | |
|
ParseArgList2 ( ) : |
Process the 'arglist2' rule. arglist2 ::= ',' expression arglist2 | {empty} |
|
ParseConcat2VB ( ) : EvalNode |
Process the 'concat2VB' rule. concat2VB ::= '&' addsubVB concat2VB | {empty} |
|
ParseConcatVB ( ) : EvalNode |
Parse the 'concatVB' rule. concatVB ::= addsubVB concat2VB |
|
ParseCond2 ( ) : EvalNode |
Parse the 'cond2' rule. cond2 ::= '?' expression ':' expression | '??' expression | {empty} |
|
ParseCondAnd ( ) : EvalNode |
Parse the 'condAnd' rule. condAnd ::= logicalOr condAnd2 |
|
ParseCondAnd2 ( ) : EvalNode |
Parse the 'condAnd2' rule. condAnd2 ::= '&&' logicalOr condAnd2 | {empty} |
|
ParseCondOr ( ) : EvalNode |
Parse the 'condOr' rule. condOr ::= condAnd condOr2 |
|
ParseCondOr2 ( ) : EvalNode |
Parse the 'condOr2' rule. condOr2 ::= '||' condAnd condOr2 | {empty} |
|
ParseEquality ( ) : EvalNode |
Parse the 'equality' rule. equality ::= relational equality2 |
|
ParseEquality2 ( ) : EvalNode |
Parse the 'equality2' rule. equality2 ::= '==' relational equality2 | '!=' relational equality2 | {empty} |
|
ParseExpo2VB ( ) : EvalNode |
Parse the 'expo2VB' rule. expo2VB ::= '^' accessVB expo2VB | {empty} |
|
ParseExpoVB ( ) : EvalNode |
Parse the 'expoVB' rule. expoVB ::= accessVB expo2VB |
|
ParseExpression ( ) : EvalNode |
Parse the 'expression' rule. expression ::= condOr cond2 |
|
ParseExpressionCS ( ) : EvalNode |
Parse the 'expression' rule. expression ::= condOr cond2 |
|
ParseExpressionVB ( ) : EvalNode |
Parse the 'expression' rule. expression ::= logicalOrVB logicalXor2VB |
|
ParseFactor ( ) : EvalNode |
Parse the 'factor' rule. factor ::= '+' factor | '-' factor | '!' factor | '~' factor | access |
|
ParseFactorVB ( ) : EvalNode |
Parse the 'factorVB' rule. factorVB ::= '+' factorVB | '-' factorVB | expoVB |
|
ParseIntDiv2VB ( ) : EvalNode |
Process the 'intdiv2VB' rule. intdiv2VB ::= '\' termVB intdiv2VB | {empty} |
|
ParseIntDivVB ( ) : EvalNode |
Parse the 'intdivVB' rule. intdivVB ::= termVB intdiv2VB |
|
ParseLogicalAnd ( ) : EvalNode |
Parse the 'logicalAnd' rule. logicalAnd ::= equality logicalAnd2 |
|
ParseLogicalAnd2 ( ) : EvalNode |
Parse the 'logicalAnd2' rule. logicalAnd2 ::= '&' equality logicalAnd2 | {empty} |
|
ParseLogicalAnd2VB ( ) : EvalNode |
Parse the 'logicalAnd2VB' rule. logicalAnd2VB ::= 'And' logicalNotVB logicalAnd2VB | 'AndAlso' logicalNotVB logicalAnd2VB | {empty} |
|
ParseLogicalAndVB ( ) : EvalNode |
Parse the 'logicalAndVB' rule. logicalAndVB ::= logicalNotVB logicalAnd2VB |
|
ParseLogicalNotVB ( ) : EvalNode |
Parse the 'logicalNotVB' rule. logicalNotVB ::= 'Not' logicalNotVB | relationalVB |
|
ParseLogicalOr ( ) : EvalNode |
Parse the 'logicalOr' rule. logicalOr ::= logicalXor logicalOr2 |
|
ParseLogicalOr2 ( ) : EvalNode |
Parse the 'logicalOr2' rule. logicalOr2 ::= '|' logicalXor logicalOr2 | {empty} |
|
ParseLogicalOr2VB ( ) : EvalNode |
Parse the 'logicalOr2VB' rule. logicalOr2VB ::= 'Or' logicalAndVB logicalOr2VB | 'OrElse' logicalAndVB logicalOr2VB | {empty} |
|
ParseLogicalOrVB ( ) : EvalNode |
Parse the 'logicalOrVB' rule. logicalOrVB ::= logicalAndVB logicalOr2VB |
|
ParseLogicalXor ( ) : EvalNode |
Parse the 'logicalXor' rule. logicalXor ::= logicalAnd logicalXor2 |
|
ParseLogicalXor2 ( ) : EvalNode |
Parse the 'logicalXor2' rule. logicalXor2 ::= '^' logicalAnd logicalXor2 | {empty} |
|
ParseLogicalXor2VB ( ) : EvalNode |
Parse the 'logicalXor2VB' rule. logicalXor2VB ::= 'Xor' logicalOrVB logicalXor2VB | {empty} |
|
ParseMethodCall ( ) : EvalNode |
Process the 'methodcall' rule. methodcall ::= '(' arglist ')' | {empty} |
|
ParseMod2VB ( ) : EvalNode |
Process the 'mod2VB' rule. mod2VB ::= 'Mod' intdivVB mod2VB | {empty} |
|
ParseModVB ( ) : EvalNode |
Parse the 'modVB' rule. modVB ::= intdivVB mod2VB |
|
ParsePrimary ( ) : EvalNode |
Parse the 'primary' rule. primary ::= integer-literal | real-literal | boolean-literal | char-literal | string-literal | identifier | '(' expression ')' |
|
ParseRelational ( ) : EvalNode |
Parse the 'relational' rule. relational ::= shift relational2 |
|
ParseRelational2 ( ) : EvalNode |
Parse the 'relational2' rule. relational2 ::= '<' shift relational2 | '>' shift relational2 | '<=' shift relational2 | '>=' shift relational2 | {empty} |
|
ParseRelational2VB ( ) : EvalNode |
Parse the 'relational2VB' rule. relational2VB ::= '<' shiftVB relational2VB | '>' shiftVB relational2VB | '<=' shiftVB relational2VB | '>=' shiftVB relational2VB | '=' shiftVB relational2VB | '<>' shiftVB relational2VB | {empty} |
|
ParseRelationalVB ( ) : EvalNode |
Parse the 'relationalVB' rule. relationalVB ::= shiftVB relational2VB |
|
ParseShift ( ) : EvalNode |
Parse the 'shift' rule. shift ::= addsub shift2 |
|
ParseShift2 ( ) : EvalNode |
Parse the 'shift2' rule. shift2 ::= '<<' addsub shift2 | '>>' addsub shift2 | {empty} |
|
ParseShift2VB ( ) : EvalNode |
Process the 'shift2VB' rule. shift2VB ::= '<<' concatVB shift2VB | '>>' concatVB shift2VB | {empty} |
|
ParseShiftVB ( ) : EvalNode |
Parse the 'shiftVB' rule. shiftVB ::= concatVB shift2VB |
|
ParseTerm2 ( ) : EvalNode |
Process the 'term2' rule. term2 ::= '*' factor term2 | '/' factor term2 | '%' factor term2 | {empty} |
|
ParseTerm2VB ( ) : EvalNode |
Process the 'term2VB' rule. term2VB ::= '*' factorVB term2VB | '/' factorVB term2VB | {empty} |
|
ParseTermVB ( ) : EvalNode |
Parse the 'termVB' rule. termVB ::= factorVB term2VB |
public Eval ( System.Language language ) : System | ||
language | System.Language | Language used for parsing. |
return | System |
public Eval ( string input ) : System | ||
input | string | Input string to parse. |
return | System |
public Eval ( string input, System.Language language ) : System | ||
input | string | Input string to parse. |
language | System.Language | Language used for parsing. |
return | System |
protected OnResolveIdentifier ( |
||
e | An ResolveIdentifierEventArgs containing the event data. | |
return | void |
protected ParseArgList2 ( ) : |
||
return |
public PerformResolveIdentifier ( string identifier ) : object | ||
identifier | string | Identifier to resolve. |
return | object |