메소드 | 설명 | |
---|---|---|
Append ( Constraint constraint ) : void |
Appends the specified constraint to the expresson by pushing it on the constraint stack.
|
|
Append ( |
Appends the specified operator to the expression by first reducing the operator stack and then pushing the new operator on the stack.
|
|
ConstraintBuilder ( ) : System |
Initializes a new instance of the T:ConstraintBuilder class.
|
|
Resolve ( ) : Constraint |
Resolves this instance, returning a Constraint. If the builder is not currently in a resolvable state, an exception is thrown.
|
메소드 | 설명 | |
---|---|---|
ReduceOperatorStack ( int targetPrecedence ) : void |
Reduces the operator stack until the topmost item precedence is greater than or equal to the target precedence.
|
|
SetTopOperatorRightContext ( object rightContext ) : void |
Sets the top operator right context.
|
public Append ( Constraint constraint ) : void | ||
constraint | Constraint | The constraint to push. |
리턴 | void |
public Append ( |
||
op | The operator to push. | |
리턴 | void |