/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
MismatchedTokenException.cs | 65 public MismatchedTokenException(int expecting, IIntStream input, IList<string> tokenNames) 69 if (tokenNames != null) 70 this._tokenNames = new List<string>(tokenNames).AsReadOnly(); 72 public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames) 76 if (tokenNames != null) { 77 this._tokenNames = new ReadOnlyCollection<string>(new List<string>(tokenNames)); 81 public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames, Exception innerException) 85 if (tokenNames != null) 86 this._tokenNames = new ReadOnlyCollection<string>(new List<string>(tokenNames)); 95 this._tokenNames = new ReadOnlyCollection<string>((string[])info.GetValue("TokenNames", typeof(string[]))) [all...] |
UnwantedTokenException.cs | 57 public UnwantedTokenException(int expecting, IIntStream input, IList<string> tokenNames) 58 : base(expecting, input, tokenNames) { 61 public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames) 62 : base(message, expecting, input, tokenNames) { 65 public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames, Exception innerException) 66 : base(message, expecting, input, tokenNames, innerException) { 81 //string unexpected = ( tokenNames != null && unexpectedType >= 0 && unexpectedType < tokenNames.Length ) ? tokenNames[unexpectedType] : unexpectedType.ToString(); 82 string expected = (TokenNames != null && Expecting >= 0 && Expecting < TokenNames.Count) ? TokenNames[Expecting] : Expecting.ToS (…) [all...] |
MissingTokenException.cs | 63 public MissingTokenException(int expecting, IIntStream input, object inserted, IList<string> tokenNames) 64 : base(expecting, input, tokenNames) { 68 public MissingTokenException(string message, int expecting, IIntStream input, object inserted, IList<string> tokenNames) 69 : base(message, expecting, input, tokenNames) { 73 public MissingTokenException(string message, int expecting, IIntStream input, object inserted, IList<string> tokenNames, Exception innerException) 74 : base(message, expecting, input, tokenNames, innerException) {
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
MismatchedTokenException.cs | 68 public MismatchedTokenException(int expecting, IIntStream input, IList<string> tokenNames) 73 if (tokenNames != null) 74 this._tokenNames = new List<string>(tokenNames).AsReadOnly(); 77 public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames) 82 if (tokenNames != null) 83 this._tokenNames = new List<string>(tokenNames).AsReadOnly(); 86 public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames, Exception innerException) 91 if (tokenNames != null) 92 this._tokenNames = new List<string>(tokenNames).AsReadOnly(); 102 this._tokenNames = new ReadOnlyCollection<string>((string[])info.GetValue("TokenNames", typeof(string[]))) [all...] |
UnwantedTokenException.cs | 63 public UnwantedTokenException(int expecting, IIntStream input, IList<string> tokenNames) 64 : base(expecting, input, tokenNames) 68 public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames) 69 : base(message, expecting, input, tokenNames) 73 public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames, Exception innerException) 74 : base(message, expecting, input, tokenNames, innerException) 94 //string unexpected = ( tokenNames != null && unexpectedType >= 0 && unexpectedType < tokenNames.Length ) ? tokenNames[unexpectedType] : unexpectedType.ToString(); 95 string expected = (TokenNames != null && Expecting >= 0 && Expecting < TokenNames.Count) ? TokenNames[Expecting] : Expecting.ToS (…) [all...] |
MissingTokenException.cs | 69 public MissingTokenException(int expecting, IIntStream input, object inserted, IList<string> tokenNames) 70 : base(expecting, input, tokenNames) 75 public MissingTokenException(string message, int expecting, IIntStream input, object inserted, IList<string> tokenNames) 76 : base(message, expecting, input, tokenNames) 81 public MissingTokenException(string message, int expecting, IIntStream input, object inserted, IList<string> tokenNames, Exception innerException) 82 : base(message, expecting, input, tokenNames, innerException)
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Lexer.java | 99 addKeyword(TokenNames.REGISTER, TokenTypes.REGISTER); 100 addKeyword(TokenNames.ACK, TokenTypes.ACK); 101 addKeyword(TokenNames.OPTIONS, TokenTypes.OPTIONS); 102 addKeyword(TokenNames.BYE, TokenTypes.BYE); 103 addKeyword(TokenNames.INVITE, TokenTypes.INVITE); 104 addKeyword(TokenNames.SIP.toUpperCase(), TokenTypes.SIP); 105 addKeyword(TokenNames.SIPS.toUpperCase(), TokenTypes.SIPS); 106 addKeyword(TokenNames.SUBSCRIBE, TokenTypes.SUBSCRIBE); 107 addKeyword(TokenNames.NOTIFY, TokenTypes.NOTIFY); 108 addKeyword(TokenNames.MESSAGE, TokenTypes.MESSAGE) [all...] |
HeaderParser.java | 55 if (TokenNames.MON.equalsIgnoreCase(id)) 57 else if (TokenNames.TUE.equalsIgnoreCase(id)) 59 else if (TokenNames.WED.equalsIgnoreCase(id)) 61 else if (TokenNames.THU.equalsIgnoreCase(id)) 63 else if (TokenNames.FRI.equalsIgnoreCase(id)) 65 else if (TokenNames.SAT.equalsIgnoreCase(id)) 67 else if (TokenNames.SUN.equalsIgnoreCase(id))
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t053heteroTP15.g | 15 return t053heteroTP15Parser.tokenNames[this.getType()] + "<V>";
|
t053heteroTP16.g | 15 return t053heteroTP16Parser.tokenNames[this.getType()] + "<V>;" + this.foobar;
|
t053heteroTP17.g | 14 return t053heteroTP17Parser.tokenNames[this.getType()] + "<V>";
|
t053heteroTP18.g | 19 return t053heteroTP18Parser.tokenNames[this.getType()] + "<V>@" +
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
AbstractTParser.java | 53 * @param tokenNames token names as known by ANTLR (which we ignore) 57 public void displayRecognitionError(String[] tokenNames, RecognitionException e) { 61 super.displayRecognitionError(tokenNames, e);
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
read.h | 27 NOTE: Keep these in sync with tokenNames in parse.c */
|
/external/icu4c/tools/genrb/ |
read.h | 27 NOTE: Keep these in sync with tokenNames in parse.c */
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testtree.py | 909 tokenNames = [ 917 wiz = TreeWizard(adaptor, self.tokenNames) 929 found = TreeParser._inContext(adaptor, self.tokenNames, node, "VEC") 936 wiz = TreeWizard(adaptor, self.tokenNames) 948 found = TreeParser._inContext(adaptor, self.tokenNames, node, "VEC" [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreeParser.java | 150 public String getErrorMessage(RecognitionException e, String[] tokenNames) { 159 return super.getErrorMessage(e, tokenNames); 180 String[] tokenNames, 202 Object ancestor = getAncestor(adaptor, tokenNames, t, goal); 207 String name = tokenNames[adaptor.getType(t)]; 222 protected static Object getAncestor(TreeAdaptor adaptor, String[] tokenNames, Object t, String goal) { 224 String name = tokenNames[adaptor.getType(t)];
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestSymbolDefinitions.java | 51 String tokenNames = "A, B, C"; 52 checkSymbols(g, rules, tokenNames); 65 String tokenNames = "A, B, C, D"; 66 checkSymbols(g, rules, tokenNames); 79 String tokenNames = "A, C, D"; 80 checkSymbols(g, rules, tokenNames); 93 String tokenNames = "A, B, C, D, 'c'"; 94 checkSymbols(g, rules, tokenNames); 106 String tokenNames = "C, FOO, ID, 'begin', 'end', ';'"; 107 checkSymbols(g, rules, tokenNames); [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRLexer.h | 84 - (NSString *)getErrorMessage:(ANTLRRecognitionException *)e TokenNames:(NSMutableArray *)tokenNames;
|
ANTLRTreeParser.h | 82 - (NSString *)getErrorMessage:(ANTLRRecognitionException *)e TokenNames:(NSArray *) tokenNames;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRLexer.h | 84 - (NSString *)getErrorMessage:(ANTLRRecognitionException *)e TokenNames:(NSMutableArray *)tokenNames;
|
ANTLRTreeParser.h | 82 - (NSString *)getErrorMessage:(ANTLRRecognitionException *)e TokenNames:(NSArray *) tokenNames;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRLexer.h | 84 - (NSString *)getErrorMessage:(ANTLRRecognitionException *)e TokenNames:(NSMutableArray *)tokenNames;
|
ANTLRTreeParser.h | 82 - (NSString *)getErrorMessage:(ANTLRRecognitionException *)e TokenNames:(NSArray *) tokenNames;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRLexer.h | 84 - (NSString *)getErrorMessage:(ANTLRRecognitionException *)e TokenNames:(AMutableArray *)tokenNames;
|