blob: 7d54f406db24eea157d41cd6dc8defdd047017d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
{ Parsed from Foundation.framework NSExpression.h }
{$ifdef TYPES}
{$ifndef NSEXPRESSION_PAS_T}
{$define NSEXPRESSION_PAS_T}
{ Constants }
const
NSConstantValueExpressionType = 0;
NSEvaluatedObjectExpressionType = 1;
NSVariableExpressionType = 2;
NSKeyPathExpressionType = 3;
NSFunctionExpressionType = 4;
NSUnionSetExpressionType = 5;
NSIntersectSetExpressionType = 6;
NSMinusSetExpressionType = 7;
NSSubqueryExpressionType = 13;
NSAggregateExpressionType = 14;
NSBlockExpressionType = 19;
{ Types }
type
NSExpressionType = NSUInteger;
NSExpressionTypePtr = ^NSExpressionType;
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSEXPRESSION_PAS_R}
{$define NSEXPRESSION_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSEXPRESSION_PAS_F}
{$define NSEXPRESSION_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSEXPRESSION_PAS_S}
{$define NSEXPRESSION_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSExpression = objcclass;
NSExpressionPointer = ^NSExpression;
NSExpressionPtr = NSExpressionPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSEXPRESSION_PAS_C}
{$define NSEXPRESSION_PAS_C}
{ NSExpression }
NSExpression = objcclass external (NSObject, NSCodingProtocol, NSCopyingProtocol)
private
_reserved: Pointer;
_expressionType: NSExpressionType;
public
class function expressionForConstantValue(obj: id): NSExpression; message 'expressionForConstantValue:';
class function expressionForEvaluatedObject: NSExpression; message 'expressionForEvaluatedObject';
class function expressionForVariable(string_: NSString): NSExpression; message 'expressionForVariable:';
class function expressionForKeyPath(keyPath_: NSString): NSExpression; message 'expressionForKeyPath:';
class function expressionForFunction_arguments(name: NSString; parameters: NSArray): NSExpression; message 'expressionForFunction:arguments:';
class function expressionForAggregate(subexpressions: NSArray): NSExpression; message 'expressionForAggregate:';
class function expressionForUnionSet_with(left: NSExpression; right: NSExpression): NSExpression; message 'expressionForUnionSet:with:';
class function expressionForIntersectSet_with(left: NSExpression; right: NSExpression): NSExpression; message 'expressionForIntersectSet:with:';
class function expressionForMinusSet_with(left: NSExpression; right: NSExpression): NSExpression; message 'expressionForMinusSet:with:';
class function expressionForSubquery_usingIteratorVariable_predicate(expression: NSExpression; variable_: NSString; predicate_: id): NSExpression; message 'expressionForSubquery:usingIteratorVariable:predicate:';
class function expressionForFunction_selectorName_arguments(target: NSExpression; name: NSString; parameters: NSArray): NSExpression; message 'expressionForFunction:selectorName:arguments:';
function initWithExpressionType(type_: NSExpressionType): id; message 'initWithExpressionType:';
function expressionType: NSExpressionType; message 'expressionType';
function constantValue: id; message 'constantValue';
function keyPath: NSString; message 'keyPath';
function function_: NSString; message 'function';
function variable: NSString; message 'variable';
function operand: NSExpression; message 'operand';
function arguments: NSArray; message 'arguments';
function collection: id; message 'collection';
function predicate: NSPredicate; message 'predicate';
function leftExpression: NSExpression; message 'leftExpression';
function rightExpression: NSExpression; message 'rightExpression';
function expressionValueWithObject_context(object_: id; context: NSMutableDictionary): id; message 'expressionValueWithObject:context:';
{ Adopted Protocols }
procedure encodeWithCoder(aCoder: NSCoder);
function initWithCoder(aDecoder: NSCoder): id;
function copyWithZone(zone_: NSZonePtr): id;
end;
{$endif}
{$endif}
|