Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (19 sloc) 0.759 kB
ee99867 @ccgus oh geeze
authored
1 //
2 // TDScientificNumberState.h
3 // TDParseKit
4 //
5 // Created by Todd Ditchendorf on 8/25/08.
6 // Copyright 2008 Todd Ditchendorf. All rights reserved.
7 //
8
9 #import "TDNumberState.h"
10
11 /*!
12 @class TDScientificNumberState
13 @brief A <tt>TDScientificNumberState</tt> object returns a number from a reader.
14 @details <p>This state's idea of a number expands on its superclass, allowing an 'e' followed by an integer to represent 10 to the indicated power. For example, this state will recognize <tt>1e2</tt> as equaling <tt>100</tt>.</p>
15 <p>This class exists primarily to show how to introduce a new tokenizing state.</p>
16 */
17 @interface TDScientificNumberState : TDNumberState {
18 CGFloat exp;
19 BOOL negativeExp;
20 }
21
22 @end
Something went wrong with that request. Please try again.