[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Source position: pscanner.pp line 606
type TCondDirectiveEvaluator = class |
protected |
type |
TPrecedenceLevel = ( |
ceplFirst, |
ceplSecond, |
ceplThird, |
ceplFourth |
); |
TStackItem = record |
Level: TPrecedenceLevel; |
Operathor: TToken; |
Operand: string; |
OperandPos: Integer; |
end; |
protected |
FTokenStart: PChar; |
FTokenEnd: PChar; |
FStack: array of TStackItem; |
FStackTop: Integer; |
function IsFalse(); |
function IsTrue(); |
function IsInteger(); |
function IsExtended(); |
procedure NextToken; |
procedure Log(); |
procedure LogXExpectedButTokenFound(); |
procedure ReadOperand(); |
procedure ReadExpression; |
procedure ResolveStack(); |
function GetTokenString; |
function GetStringLiteralValue; |
procedure Push(); |
public |
Expression: string; |
MsgCurLine: Integer; |
MsgPos: Integer; |
MsgNumber: Integer; |
MsgPattern: string; |
isMac: Boolean; |
constructor Create(); |
destructor Destroy; override; |
function Eval(); |
property OnEvalVariable: TCEEvalVarEvent; [rw] |
property OnEvalFunction: TCEEvalFunctionEvent; [rw] |
property OnLog: TCELogEvent; [rw] |
end; |
| |
TObject |