Searched defs:ttype (Results 1 - 25 of 73) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRTreePatternParser.h40 NSInteger ttype; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRTreePatternParser.h40 NSInteger ttype; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRTreePatternParser.h40 NSInteger ttype; variable
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRTreePatternParser.h40 NSInteger ttype; variable
60 @property NSInteger ttype; variable
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DTreePatternParser.cs38 protected int ttype; field in class:Antlr.Runtime.Tree.TreePatternParser
46 ttype = tokenizer.NextToken(); // kickstart
50 if (ttype == TreePatternLexer.BEGIN) {
52 } else if (ttype == TreePatternLexer.ID) {
54 if (ttype == TreePatternLexer.EOF) {
63 if (ttype != TreePatternLexer.BEGIN)
66 ttype = tokenizer.NextToken();
71 while (ttype == TreePatternLexer.BEGIN ||
72 ttype == TreePatternLexer.ID ||
73 ttype
[all...]
H A DITree.cs65 /** <summary>Is there is a node above with token type ttype?</summary> */
66 bool HasAncestor(int ttype); argument
69 ITree GetAncestor(int ttype); argument
H A DTreeParser.cs145 protected override object RecoverFromMismatchedToken(IIntStream input, int ttype, BitSet follow) { argument
146 throw new MismatchedTreeNodeException(ttype, (ITreeNodeStream)input);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreePatternParser.cs40 protected int ttype; field in class:Antlr.Runtime.Tree.TreePatternParser
49 ttype = tokenizer.NextToken(); // kickstart
54 if ( ttype == TreePatternLexer.Begin )
58 else if ( ttype == TreePatternLexer.Id )
61 if ( ttype == CharStreamConstants.EndOfFile )
72 if ( ttype != TreePatternLexer.Begin )
75 ttype = tokenizer.NextToken();
81 while ( ttype == TreePatternLexer.Begin ||
82 ttype == TreePatternLexer.Id ||
83 ttype
[all...]
H A DTreeParser.cs159 protected override object RecoverFromMismatchedToken( IIntStream input, int ttype, BitSet follow ) argument
161 throw new MismatchedTreeNodeException( ttype, (ITreeNodeStream)input );
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DTreePatternParser.java35 protected int ttype; field in class:TreePatternParser
43 ttype = tokenizer.nextToken(); // kickstart
47 if ( ttype==TreePatternLexer.BEGIN ) {
50 else if ( ttype==TreePatternLexer.ID ) {
52 if ( ttype==TreePatternLexer.EOF ) {
61 if ( ttype != TreePatternLexer.BEGIN ) {
64 ttype = tokenizer.nextToken();
69 while ( ttype==TreePatternLexer.BEGIN ||
70 ttype==TreePatternLexer.ID ||
71 ttype
[all...]
H A DTree.java57 /** Is there is a node above with token type ttype? */
58 public boolean hasAncestor(int ttype); argument
61 public Tree getAncestor(int ttype); argument
H A DTreeParser.java131 int ttype,
135 throw new MismatchedTreeNodeException(ttype, (TreeNodeStream)input);
130 recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow) argument
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DPythonTarget.java47 int ttype) {
50 if ( ttype >= 0 && ttype <= 3 ) {
51 return String.valueOf(ttype);
54 String name = generator.grammar.getTokenDisplayName(ttype);
58 return String.valueOf(ttype);
46 getTokenTypeAsTargetLabel(CodeGenerator generator, int ttype) argument
H A DObjCTarget.java82 public String getTokenTypeAsTargetLabel(CodeGenerator generator, int ttype) { argument
83 String name = generator.grammar.getTokenDisplayName(ttype);
86 return String.valueOf(ttype);
90 //return super.getTokenTypeAsTargetLabel(generator, ttype);
91 //return this.getTokenTextAndTypeAsTargetLabel(generator, null, ttype);
H A DActionScriptTarget.java45 int ttype) {
48 if (ttype >= 0 && ttype <= 3) {
49 return String.valueOf(ttype);
52 String name = generator.grammar.getTokenDisplayName(ttype);
56 return String.valueOf(ttype);
44 getTokenTypeAsTargetLabel(CodeGenerator generator, int ttype) argument
H A DTarget.java143 public String getTokenTypeAsTargetLabel(CodeGenerator generator, int ttype) { argument
144 String name = generator.grammar.getTokenDisplayName(ttype);
147 return String.valueOf(ttype);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DInterp.java58 public void setTokenTypeChannel(int ttype, int channel) { argument
59 hide.add(ttype);
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3treeparser.c38 static void mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow);
174 mismatch (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, pANTLR3_BITSET_LIST follow) argument
177 recognizer->recoverFromMismatchedToken(recognizer, ttype, follow);
H A Dantlr3commontoken.c73 antlr3CommonTokenNew(ANTLR3_UINT32 ttype) argument
83 token->setType(token, ttype);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DSerializedGrammar.java78 int ttype; field in class:SerializedGrammar.TokenRef
79 public TokenRef(int ttype) { this.ttype = ttype; } argument
80 public String toString() { return String.valueOf(ttype); }
153 int ttype = in.readShort();
154 alt.add(new TokenRef(ttype));
155 //System.out.println("read token "+gr.getTokenDisplayName(ttype));
H A DBufferedTokenStream.java227 public List getTokens(int start, int stop, int ttype) { argument
228 return getTokens(start,stop,BitSet.of(ttype));
H A DToken.java68 public void setType(int ttype); argument
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DLegacyCommonTokenStream.cs221 * to force all tokens of type ttype to be on channel. For example,
227 public virtual void SetTokenTypeChannel( int ttype, int channel ) argument
233 channelOverrideMap[ttype] = channel;
236 public virtual void DiscardTokenType( int ttype )
242 discardSet.Add( ttype );
311 public virtual IList<IToken> GetTokens( int start, int stop, int ttype )
313 return GetTokens( start, stop, BitSet.Of( ttype ) );
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestTrees.java45 public V(int ttype, int x) { this.x=x; token=new CommonToken(ttype); } argument
46 public V(int ttype, Token t, int x) { token=t; this.x=x;} argument
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DBufferedTokenStream.cs319 public virtual List<IToken> GetTokens(int start, int stop, int ttype) { argument
320 return GetTokens(start, stop, BitSet.Of(ttype));

Completed in 973 milliseconds

123