Declaration

init!(tokenType t: TDTokenType, stringValue s: String!, floatValue n: CGFloat)

Declaration

- (instancetype) initWithTokenType:(TDTokenType) t stringValue:(NSString *) s floatValue:(CGFloat) n;

Declaration

initWithTokenType_stringValue_floatValue_(t: TDTokenType, s: str, n: float) -> TDToken

Parameters

t

The type of this token.

s

The string value of this token.

n

The number falue of this token.

Return Value

An autoreleased initialized token.

Discussion

Designated initializer. Constructs a token of the indicated type and associated string or numeric values.