NSExpression class
NSExpression
- Available extensions
Constructors
- NSExpression()
-
Returns a new instance of NSExpression constructed with the default
newmethod.factory - NSExpression.castFrom(ObjCObjectBase other)
-
Constructs a NSExpression that points to the same underlying object as
other. -
NSExpression.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSExpression that wraps the given raw object pointer.
Properties
- arguments → NSArray?
-
arguments
no setter
- collection → ObjCObjectBase
-
collection
no setter
- constantValue → ObjCObjectBase?
-
constantValue
no setter
- debugDescription$1 → NSString
-
debugDescription
no setterinherited
- description$1 → NSString
-
description
no setterinherited
-
expressionBlock
→ ObjCBlock<
Pointer< ObjCObject> Function(Pointer<ObjCObject> ?, NSArray, NSMutableDictionary?)> -
expressionBlock
no setter
- expressionType → NSExpressionType
-
expressionType
no setter
- falseExpression → NSExpression
-
falseExpression
no setter
- function → NSString
-
function
no setter
- hash$1 → int
-
hash
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isProxy → bool
-
isProxy
no setterinherited
- keyPath → NSString
-
keyPath
no setter
- leftExpression → NSExpression
-
leftExpression
no setter
- mgl_jsonExpressionObject → ObjCObjectBase
-
Available on NSExpression, provided by the MLNAdditions extension
An equivalent Foundation object that can be serialized as JSON.no setter - operand → NSExpression
-
operand
no setter
- predicate → NSPredicate
-
predicate
no setter
- ref → ObjCObjectRef
-
finalinherited
- rightExpression → NSExpression
-
rightExpression
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- superclass$1 → ObjCObjectBase
-
superclass
no setterinherited
- trueExpression → NSExpression
-
trueExpression
no setter
- variable → NSString
-
variable
no setter
Methods
-
allowEvaluation(
) → void - allowEvaluation
-
autorelease(
) → NSExpression - autorelease
-
class$1(
) → ObjCObjectBase -
class
inherited
-
conformsToProtocol$1(
Protocol aProtocol) → bool -
conformsToProtocol:
inherited
-
copy(
) → ObjCObjectBase -
copy
inherited
-
dealloc(
) → void -
dealloc
inherited
-
doesNotRecognizeSelector(
Pointer< ObjCSelector> aSelector) → void -
doesNotRecognizeSelector:
inherited
-
encodeWithCoder(
NSCoder coder) → void - encodeWithCoder:
-
expressionValueWithObject(
ObjCObjectBase? object, {NSMutableDictionary? context}) → ObjCObjectBase? - expressionValueWithObject:context:
-
forwardingTargetForSelector(
Pointer< ObjCSelector> aSelector) → ObjCObjectBase -
forwardingTargetForSelector:
inherited
-
forwardInvocation(
NSInvocation anInvocation) → void -
forwardInvocation:
inherited
-
init(
) → NSExpression - init
-
initWithCoder(
NSCoder coder) → NSExpression? - initWithCoder:
-
initWithExpressionType(
NSExpressionType type) → NSExpression - initWithExpressionType:
-
isEqual(
ObjCObjectBase object) → bool -
isEqual:
inherited
-
isKindOfClass(
ObjCObjectBase aClass) → bool -
isKindOfClass:
inherited
-
isMemberOfClass(
ObjCObjectBase aClass) → bool -
isMemberOfClass:
inherited
-
methodForSelector(
Pointer< ObjCSelector> aSelector) → Pointer<NativeFunction< Void Function()> > -
methodForSelector:
inherited
-
methodSignatureForSelector(
Pointer< ObjCSelector> aSelector) → NSMethodSignature -
methodSignatureForSelector:
inherited
-
mgl_expressionByAppendingExpression(
NSExpression expression) → NSExpression - Returns a constant expression appending the passed expression.
-
mgl_expressionLocalizedIntoLocale(
NSLocale? locale) → NSExpression -
Available on NSExpression, provided by the MLNAdditions extension
Returns a copy of the receiver localized into the given locale. -
mutableCopy(
) → ObjCObjectBase -
mutableCopy
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performSelector(
Pointer< ObjCSelector> aSelector) → ObjCObjectBase -
performSelector:
inherited
-
performSelector$1(
Pointer< ObjCSelector> aSelector, {required ObjCObjectBase withObject}) → ObjCObjectBase -
performSelector:withObject:
inherited
-
performSelector$2(
Pointer< ObjCSelector> aSelector, {required ObjCObjectBase withObject, required ObjCObjectBase withObject$1}) → ObjCObjectBase -
performSelector:withObject:withObject:
inherited
-
release(
) → void -
release
inherited
-
respondsToSelector(
Pointer< ObjCSelector> aSelector) → bool -
respondsToSelector:
inherited
-
retain(
) → NSExpression - retain
-
retainCount(
) → int -
retainCount
inherited
-
self$1(
) → NSExpression - self
-
toString(
) → String -
A string representation of this object.
inherited
-
zone(
) → Pointer< NSZone> -
zone
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
alloc(
) → NSExpression - alloc
-
allocWithZone(
Pointer< NSZone> zone) → NSExpression - allocWithZone:
-
expressionForAggregate(
NSArray subexpressions) → NSExpression - expressionForAggregate:
-
expressionForAnyKey(
) → NSExpression - expressionForAnyKey
-
expressionForBlock(
ObjCBlock< Pointer< block, {NSArray? arguments}) → NSExpressionObjCObject> Function(Pointer<ObjCObject> ?, NSArray, NSMutableDictionary?)> - expressionForBlock:arguments:
-
expressionForConditional(
NSPredicate predicate, {required NSExpression trueExpression, required NSExpression falseExpression}) → NSExpression - expressionForConditional:trueExpression:falseExpression:
-
expressionForConstantValue(
ObjCObjectBase? obj) → NSExpression - expressionForConstantValue:
-
expressionForEvaluatedObject(
) → NSExpression - expressionForEvaluatedObject
-
expressionForFunction(
NSString name, {required NSArray arguments}) → NSExpression - expressionForFunction:arguments:
-
expressionForFunction$1(
NSExpression target, {required NSString selectorName, NSArray? arguments}) → NSExpression - expressionForFunction:selectorName:arguments:
-
expressionForIntersectSet(
NSExpression left, {required NSExpression with$}) → NSExpression - expressionForIntersectSet:with:
-
expressionForKeyPath(
NSString keyPath) → NSExpression - expressionForKeyPath:
-
expressionForMinusSet(
NSExpression left, {required NSExpression with$}) → NSExpression - expressionForMinusSet:with:
-
expressionForSubquery(
NSExpression expression, {required NSString usingIteratorVariable, required NSPredicate predicate}) → NSExpression - expressionForSubquery:usingIteratorVariable:predicate:
-
expressionForUnionSet(
NSExpression left, {required NSExpression with$}) → NSExpression - expressionForUnionSet:with:
-
expressionForVariable(
NSString string) → NSExpression - expressionForVariable:
-
expressionWithFormat(
NSString expressionFormat, {required NSArray argumentArray}) → NSExpression - expressionWithFormat:argumentArray:
-
expressionWithFormat$1(
NSString expressionFormat) → NSExpression - expressionWithFormat:
-
expressionWithMLNJSONObject(
ObjCObjectBase object) → NSExpression - Returns an expression equivalent to the given Foundation object deserialized from JSON data.
-
getSupportsSecureCoding(
) → bool - supportsSecureCoding
-
isInstance(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSExpression. -
mgl_expressionForAttributedExpressions(
NSArray attributedExpressions) → NSExpression -
Returns an attributed function expression specifying an
MLNAttributedExpressionconstant expression array. -
mgl_expressionForConditional(
NSPredicate conditionPredicate, {required NSExpression trueExpression$1, required NSExpression falseExpresssion}) → NSExpression - Returns a conditional function expression specifying the string predicate, and expressions for each condition.
-
mgl_expressionForInterpolatingExpression(
NSExpression inputExpression, {required NSString withCurveType, NSExpression? parameters, required NSExpression stops}) → NSExpression - Returns an interpolated function expression specifying the function operator, curve type, parameters and steps.
-
mgl_expressionForMatchingExpression(
NSExpression inputExpression, {required NSDictionary inDictionary, required NSExpression defaultExpression}) → NSExpression - Returns a match function expression specifying the input, matching values, and default value.
-
mgl_expressionForSteppingExpression(
NSExpression steppingExpression, {required NSExpression fromExpression, required NSExpression stops}) → NSExpression - Returns a step function expression specifying the stepping, from expression and stops.
-
new$(
) → NSExpression - new