/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
ANTLRFileStream.js | 3 * {@link org.antlr.runtime.ANTLRStringStream}. 6 * @extends org.antlr.runtime.ANTLRStringStream 10 org.antlr.runtime.ANTLRFileStream = function(fileName, encoding) { 16 if (org.antlr.env.ua.rhino) { 20 "ANTLR File I/O is not supported in this JS implementation." 25 org.antlr.runtime.ANTLRFileStream.superclass.constructor.call(this, data); 28 org.antlr.lang.extend(org.antlr.runtime.ANTLRFileStream, 29 org.antlr.runtime.ANTLRStringStream, 30 /** @lends org.antlr.runtime.ANTLRFileStream.prototype */ [all...] |
CommonToken.js | 1 org.antlr.runtime.CommonToken = function() { 5 this.channel = 0; // org.antlr.runtime.CommonToken.DEFAULT_CHANNEL 9 if (org.antlr.lang.isNumber(arguments[0])) { 19 if ( oldToken instanceof org.antlr.runtime.CommonToken ) { 27 this.channel = 0; // org.antlr.runtime.CommonToken.DEFAULT_CHANNEL 37 org.antlr.lang.extend(org.antlr.runtime.CommonToken, 38 org.antlr.runtime.Token, 49 if ( org.antlr.lang.isString(this.text) ) { 130 if ( !org.antlr.lang.isNull(txt) ) [all...] |
EarlyExitException.js | 5 * @param {org.antlr.runtime.CommonTokenStream|org.antlr.runtime.tree.TreeNodeStream|org.antlr.runtime.ANTLRStringStream} input input stream that has an exception. 6 * @extends org.antlr.runtime.RecognitionException 8 org.antlr.runtime.EarlyExitException = function(decisionNumber, input) { 9 org.antlr.runtime.EarlyExitException.superclass.constructor.call( 14 org.antlr.lang.extend( 15 org.antlr.runtime.EarlyExitException, 16 org.antlr.runtime.RecognitionException, 17 /** @lends org.antlr.runtime.EarlyExitException.prototype * [all...] |
FailedPredicateException.js | 7 * @param {org.antlr.runtime.CommonTokenStream|org.antlr.runtime.tree.TreeNodeStream|org.antlr.runtime.ANTLRStringStream} input input stream that has an exception. 10 * @extends org.antlr.runtime.RecognitionException 12 org.antlr.runtime.FailedPredicateException = function(input, ruleName, predicateText){ 13 org.antlr.runtime.FailedPredicateException.superclass.constructor.call(this, input); 18 org.antlr.lang.extend( 19 org.antlr.runtime.FailedPredicateException, 20 org.antlr.runtime.RecognitionException, 21 /** @lends org.antlr.runtime.FailedPredicateException.prototype * [all...] |
IndexOutOfBoundsExceptions.js | 1 org.antlr.runtime.IndexOutOfBoundsException = function(m) { 2 org.antlr.runtime.IndexOutOfBoundsException.superclass.constructor.call(this, m); 5 org.antlr.lang.extend(org.antlr.runtime.IndexOutOfBoundsException, Error, { 6 name: "org.antlr.runtime.IndexOutOfBoundsException"
|
Lexer.js | 6 org.antlr.runtime.Lexer = function(input, state) { 8 org.antlr.runtime.Lexer.superclass.constructor.call(this, state); 15 org.antlr.lang.extend(org.antlr.runtime.Lexer, org.antlr.runtime.BaseRecognizer, { 18 org.antlr.runtime.Lexer.superclass.reset.call(this); 19 if ( org.antlr.lang.isValue(this.input) ) { 22 if ( !org.antlr.lang.isValue(this.state) ) { 26 this.state.type = org.antlr.runtime.Token.INVALID_TOKEN_TYPE; 27 this.state.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL [all...] |
MismatchedNotSetException.js | 1 org.antlr.runtime.MismatchedNotSetException = function(expecting, input) { 2 org.antlr.runtime.MismatchedNotSetException.superclass.constructor.call(this, expecting, input); 5 org.antlr.lang.extend( 6 org.antlr.runtime.MismatchedNotSetException, 7 org.antlr.runtime.MismatchedSetException, { 12 name: "org.antlr.runtime.MismatchedNotSetException"
|
MismatchedRangeExceptions.js | 1 org.antlr.runtime.MismatchedRangeException = function(a, b, input) { 6 org.antlr.runtime.MismatchedRangeException.superclass.constructor.call( 12 org.antlr.lang.extend( 13 org.antlr.runtime.MismatchedRangeException, 14 org.antlr.runtime.RecognitionException, { 19 name: "org.antlr.runtime.MismatchedRangeException"
|
MismatchedSetException.js | 1 org.antlr.runtime.MismatchedSetException = function(expecting, input) { 2 org.antlr.runtime.MismatchedSetException.superclass.constructor.call( 7 org.antlr.lang.extend( 8 org.antlr.runtime.MismatchedSetException, 9 org.antlr.runtime.RecognitionException, { 14 name: "org.antlr.runtime.MismatchedSetException"
|
MismatchedTokenException.js | 1 org.antlr.runtime.MismatchedTokenException = function(expecting, input) { 3 this.expecting = org.antlr.runtime.Token.INVALID_TOKEN_TYPE; 5 org.antlr.runtime.MismatchedTokenException.superclass.constructor.call( 11 org.antlr.lang.extend( 12 org.antlr.runtime.MismatchedTokenException, 13 org.antlr.runtime.RecognitionException, { 18 name: "org.antlr.runtime.MismatchedTokenException"
|
MismatchedTreeNodeException.js | 1 org.antlr.runtime.MismatchedTreeNodeException = function(expecting, input) { 3 org.antlr.runtime.MismatchedTreeNodeException.superclass.constructor.call( 9 org.antlr.lang.extend( 10 org.antlr.runtime.MismatchedTreeNodeException, 11 org.antlr.runtime.RecognitionException, { 16 name: "org.antlr.runtime.MismatchedTreeNodeException"
|
MissingTokenException.js | 1 org.antlr.runtime.MissingTokenException = function(expecting, input, inserted) { 3 org.antlr.runtime.MissingTokenException.superclass.constructor.call( 9 org.antlr.lang.extend( 10 org.antlr.runtime.MissingTokenException, 11 org.antlr.runtime.MismatchedTokenException, { 17 if (org.antlr.lang.isValue(this.inserted) && 18 org.antlr.lang.isValue(this.token)) 22 if ( org.antlr.lang.isValue(this.token) ) { 27 name: "org.antlr.runtime.MissingTokenException"
|
NoViableAltException.js | 1 org.antlr.runtime.NoViableAltException = function(grammarDecisionDescription, 6 org.antlr.runtime.NoViableAltException.superclass.constructor.call(this, input); 12 org.antlr.lang.extend( 13 org.antlr.runtime.NoViableAltException, 14 org.antlr.runtime.RecognitionException, { 16 if ( this.input instanceof org.antlr.runtime.CharStream ) { 23 name: "org.antlr.runtime.NoViableAltException"
|
Parser.js | 4 org.antlr.runtime.Parser = function(input, state) { 5 org.antlr.runtime.Parser.superclass.constructor.call(this, state); 9 org.antlr.lang.extend(org.antlr.runtime.Parser, org.antlr.runtime.BaseRecognizer, { 12 org.antlr.runtime.Parser.superclass.reset.call(this); 13 if ( org.antlr.lang.isValue(this.input) ) { 29 var t = new org.antlr.runtime.CommonToken(expectedTokenType, tokenText); 32 if ( current.getType() === org.antlr.runtime.Token.EOF ) { 42 t.channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL [all...] |
RecognitionException.js | 1 /** The root of the ANTLR exception hierarchy. 11 * <p>ANTLR generates code that throws exceptions upon recognition error and 27 * @param {org.antlr.runtime.CommonTokenStream|org.antlr.runtime.tree.TreeNodeStream|org.antlr.runtime.ANTLRStringStream} input input stream that has an exception. 31 org.antlr.runtime.RecognitionException = function(input) { 32 org.antlr.runtime.RecognitionException.superclass.constructor.call(this); 35 if ( input instanceof org.antlr.runtime.TokenStream ) { 40 if ( input instanceof org.antlr.runtime.tree.TreeNodeStream ) { 43 else if ( input instanceof org.antlr.runtime.CharStream ) [all...] |
RecognizerSharedState.js | 8 org.antlr.runtime.RecognizerSharedState = function() {
|
Token.js | 8 * @memberOf org.antlr.runtime 10 org.antlr.runtime.Token = function() {}; 11 org.antlr.lang.augmentObject(org.antlr.runtime.Token, /** @lends Token */ { 21 EOF: org.antlr.runtime.CharStream.EOF, 27 /** In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR
|
UnwantedTokenException.js | 2 org.antlr.runtime.UnwantedTokenException = function(expecting, input) { 4 org.antlr.runtime.UnwantedTokenException.superclass.constructor.call( 9 org.antlr.lang.extend( 10 org.antlr.runtime.UnwantedTokenException, 11 org.antlr.runtime.MismatchedTokenException, { 17 if ( this.expecting===org.antlr.runtime.Token.INVALID_TOKEN_TYPE ) { 20 if ( !org.antlr.lang.isValue(this.token) ) { 25 name: "org.antlr.runtime.UnwantedTokenException"
|
ANTLRStringStream.js | 5 * @extends org.antlr.runtime.CharStream 8 org.antlr.runtime.ANTLRStringStream = function(data) { 72 org.antlr.lang.extend(org.antlr.runtime.ANTLRStringStream, 73 org.antlr.runtime.CharStream, 74 /** @lends org.antlr.runtime.ANTLRStringStream.prototype */ 118 return org.antlr.runtime.CharStream.EOF; 189 if (!org.antlr.lang.isNumber(m)) { 316 * @methodOf org.antlr.runtime.ANTLRStringStream.prototype 318 org.antlr.runtime.ANTLRStringStream.prototype.LT = org.antlr.runtime.ANTLRStringStream.prototype.LA [all...] |
CharStream.js | 2 * A source of characters for an ANTLR lexer. 5 * @extends org.antlr.runtime.IntStream 7 org.antlr.runtime.CharStream = function() {}; 8 org.antlr.runtime.IntStream = function() {}; 10 org.antlr.lang.extend(org.antlr.runtime.CharStream, 11 org.antlr.runtime.IntStream); 13 org.antlr.lang.augmentObject(org.antlr.runtime.CharStream, 14 /** @lends org.antlr.runtime.CharStream * [all...] |
CommonTokenStream.js | 8 org.antlr.runtime.CommonTokenStream = function(tokenSource, channel) { 10 this.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL; 20 org.antlr.runtime.TokenStream = function() {}; 22 org.antlr.lang.extend(org.antlr.runtime.CommonTokenStream, 23 org.antlr.runtime.TokenStream, 30 this.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL; 42 while ( org.antlr.lang.isValue(t) && 43 t.getType()!=org.antlr.runtime.CharStream.EOF ) 49 if ( org.antlr.lang.isValue(channelI) ) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
CSharp2Target.java | 28 package org.antlr.codegen;
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
DebugTestAutoAST.java | 28 package org.antlr.test;
|
DebugTestCompositeGrammars.java | 28 package org.antlr.test;
|
DebugTestRewriteAST.java | 28 package org.antlr.test;
|