Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 84 lines (79 sloc) 3.989 kb
05eedb5 @itod initial add
authored
1 // Copyright 2010 Todd Ditchendorf
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 #import <ParseKit/PKCollectionParser.h>
16
17 @interface PKGrammarParser : NSObject {
18 id assembler;
19 PKCollectionParser *statementParser;
20 PKCollectionParser *declarationParser;
21 PKCollectionParser *callbackParser;
22 PKCollectionParser *selectorParser;
23 PKCollectionParser *exprParser;
24 PKCollectionParser *termParser;
25 PKCollectionParser *orTermParser;
26 PKCollectionParser *factorParser;
27 PKCollectionParser *nextFactorParser;
28 PKCollectionParser *phraseParser;
29 PKCollectionParser *phraseStarParser;
30 PKCollectionParser *phrasePlusParser;
31 PKCollectionParser *phraseQuestionParser;
32 PKCollectionParser *phraseCardinalityParser;
33 PKCollectionParser *cardinalityParser;
34 PKCollectionParser *primaryExprParser;
35 PKCollectionParser *negatedPrimaryExprParser;
36 PKCollectionParser *barePrimaryExprParser;
37 PKCollectionParser *predicateParser;
38 PKCollectionParser *intersectionParser;
39 PKCollectionParser *differenceParser;
40 PKCollectionParser *atomicValueParser;
41 PKCollectionParser *parserParser;
42 PKCollectionParser *discardParser;
43 PKCollectionParser *patternParser;
44 PKCollectionParser *delimitedStringParser;
45 PKParser *literalParser;
46 PKParser *variableParser;
47 PKParser *constantParser;
48 }
49
50 - (id)initWithAssembler:(id)a;
51
52 @property (nonatomic, retain) PKCollectionParser *statementParser;
53 @property (nonatomic, retain) PKCollectionParser *declarationParser;
54 @property (nonatomic, retain) PKCollectionParser *callbackParser;
55 @property (nonatomic, retain) PKCollectionParser *selectorParser;
56 @property (nonatomic, retain) PKCollectionParser *exprParser;
57 @property (nonatomic, retain) PKCollectionParser *termParser;
58 @property (nonatomic, retain) PKCollectionParser *orTermParser;
59 @property (nonatomic, retain) PKCollectionParser *factorParser;
60 @property (nonatomic, retain) PKCollectionParser *nextFactorParser;
61 @property (nonatomic, retain) PKCollectionParser *phraseParser;
62 @property (nonatomic, retain) PKCollectionParser *phraseStarParser;
63 @property (nonatomic, retain) PKCollectionParser *phrasePlusParser;
64 @property (nonatomic, retain) PKCollectionParser *phraseQuestionParser;
65 @property (nonatomic, retain) PKCollectionParser *phraseCardinalityParser;
66 @property (nonatomic, retain) PKCollectionParser *cardinalityParser;
67 @property (nonatomic, retain) PKCollectionParser *primaryExprParser;
68 @property (nonatomic, retain) PKCollectionParser *negatedPrimaryExprParser;
69 @property (nonatomic, retain) PKCollectionParser *barePrimaryExprParser;
70 @property (nonatomic, retain) PKCollectionParser *predicateParser;
71 @property (nonatomic, retain) PKCollectionParser *intersectionParser;
72 @property (nonatomic, retain) PKCollectionParser *differenceParser;
73 @property (nonatomic, retain) PKCollectionParser *atomicValueParser;
74 @property (nonatomic, retain) PKCollectionParser *parserParser;
75 @property (nonatomic, retain) PKCollectionParser *discardParser;
76 @property (nonatomic, retain) PKCollectionParser *patternParser;
77 @property (nonatomic, retain) PKCollectionParser *delimitedStringParser;
78 @property (nonatomic, retain) PKParser *literalParser;
79 @property (nonatomic, retain) PKParser *variableParser;
80 @property (nonatomic, retain) PKParser *constantParser;
81 @property (nonatomic, retain, readonly) PKParser *whitespaceParser;
32bd9bf @itod cleaning up factory method return types. adding twitter state test.
authored
82 @property (nonatomic, retain, readonly) PKParser *optionalWhitespaceParser;
05eedb5 @itod initial add
authored
83 @end
Something went wrong with that request. Please try again.