Inherits from NSObject
Declared in DTScriptExpression.h

Overview

Instances of this class represent a single Objective-C script expression

Properties

parameters

The parameters of the script expression

@property (nonatomic, readonly) NSArray *parameters

Declared In

DTScriptExpression.h

receiver

Accesses the receiver of the expression

@property (nonatomic, readonly) DTScriptVariable *receiver

Declared In

DTScriptExpression.h

Class Methods

scriptExpressionWithString:

Creates a script expression from an NSString

+ (DTScriptExpression *)scriptExpressionWithString:(NSString *)string

Parameters

string

A string representing an Object-C command including square brackets.

Declared In

DTScriptExpression.h

Instance Methods

enumerateParametersWithBlock:

Enumerates the script parameters and executes the block for each parameter.

- (void)enumerateParametersWithBlock:(DTScriptExpressionParameterEnumerationBlock)block

Parameters

block

The block to be executed for each parameter

Declared In

DTScriptExpression.h

initWithString:

Creates a script expression from an NSString

- (id)initWithString:(NSString *)string

Parameters

string

A string representing an Object-C command including square brackets.

Declared In

DTScriptExpression.h

selector

The method selector

- (SEL)selector

Declared In

DTScriptExpression.h