/external/ant-glob/ |
H A D | Android.mk | 10 # distributed under the License is distributed on an "AS IS" BASIS,
|
/external/antlr/ |
H A D | Android.mk | 10 # distributed under the License is distributed on an "AS IS" BASIS,
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | BaseRecognizer.as | 60 * in a rule will cause an exception and immediate exit from 155 // if we've already reported an error and have not matched a token 183 * the message for an exception type would be difficult because you 281 * an error and next valid token match 294 /** How should a token be displayed in an error message? The default 323 /** Recover from an error found on the input stream. This is 334 // an infinite loop; this is a failsafe. 412 * not consume anything and after printing an error rule c would 414 * At this point, it gets a mismatched token error and throws an 498 * throwing an exceptio [all...] |
H A D | DFA.as | 58 * to the underlying CFL). Return an alternative number 1..n. Throw 59 * an exception upon error. 101 // eot[s]>=0 indicates that an EOT edge goes to another 109 // went to an accept...faster to do this, but
|
H A D | RecognizerSharedState.as | 3 /** The set of fields needed by an abstract recognizer to recognize input 18 /** This is true when we see an error and before having successfully 25 * This is used to prevent infinite loops where an error is found 60 * This is an instance variable as multiple rules may collaborate to
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
H A D | BaseTreeAdaptor.as | 23 * with an error. 99 * Return newRoot. Throw an exception if newRoot is not a 231 * an actual real input token. Typically this is for converting '{'
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
H A D | Antlr.Runtime.Collections.pas | 61 /// Adds an element to the top of the stack list.
|
H A D | Antlr.Runtime.Tools.pas | 315 /// This is a bit of an ugly (and slow) solution, but it works. Declare an
|
H A D | Antlr.Runtime.Tree.pas | 83 /// Return a nil node (an empty but non-null node) that can hold 90 /// Return a tree node representing an error. This node records the 153 /// Return newRoot. Throw an exception if newRoot is not a 185 /// Even BecomeRoot is an issue. Ok, we could: 212 /// This is invoked from an imaginary node ref on right side of a 220 /// This is invoked from an imaginary node ref on right side of a 229 /// This is invoked from an imaginary node ref on right side of a 253 /// Currently used only for printing an error message. The error 342 /// <summary>Get a tree node at an absolute index i; 0..n-1.</summary> 354 /// Return null for LT(0) and any index that results in an absolut [all...] |
H A D | Antlr.Runtime.pas | 150 /// and in that its argument is strictly an input cursor (index). 186 /// <summary>A source of characters for an ANTLR lexer </summary> 283 /// throw an exception not under RecognitionException and Delphi will naturally 285 /// lexing then you should not throw an exception to the parser--it has already 327 /// Return null for LT(0) and any index that results in an absolute address 333 /// Get a token at an absolute index I; 0..N-1. This is really only 345 /// an action of course in that case. 349 /// <summary>Because the user is not required to use a token with an index stored 407 /// A character stream - an <see cref="ICharStream"/> - that loads 412 /// This looks very much like an ANTLReaderStrea [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/ |
H A D | Runtime.pm | 44 In an object-oriented module, this section should begin with a sentence of the 69 restrictions on versions, and an indication whether these required modules are 86 whether they are likely to be fixed in an upcoming release.
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
H A D | BitSet.pm | 310 In an object-oriented module, this section should begin with a sentence of the 335 restrictions on versions, and an indication whether these required modules are
|
H A D | TokenSource.pm | 31 throw an exception not under RecognitionException and Java will naturally 33 lexing then you should not throw an exception to the parser--it has already
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
H A D | record-event-listener.rb | 9 A debug listener that records intercepted events as strings in an array.
|
H A D | rule-tracer.rb | 9 as they are entered and exitted to an output stream.
|
H A D | socket.rb | 57 log!( "handshake failed due to an IOError:\n" ) 260 over an IP socket.
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
H A D | dfa.rb | 40 alternatives in a rule based upon lookahead symbols from an input stream. 52 represented by an integer indexed upward from zero. State number +0+ is the 58 further and the current state is defined as an <i>accept state</i>, an 60 the current state is not an <i>accept state</i>, the prediction has failed and
|
H A D | error.rb | 56 - functions more as an internal signal, simillar to exception 70 # but rather the information necessary to generate an error. Then 92 # perhaps print an entire line of input not just a single token, for example. 99 recognition process. These errors all typically concern an expectation built in 100 to the recognizer by the rules of a grammar and an input symbol which failed to 318 A recognizer expected to match an input symbol (either a character value or 319 an integer token type value) that falls into a range of possible values, but 424 one occurence of the subrule, the recognizer will raise an EarlyExit 516 There is an inconsistency between the number of appearances of some symbol
|
H A D | main.rb | 78 # constructs an OptionParser and parses the argument list provided by +argv+ 88 | run an interactive session with the recognizer 234 @error.puts( "received an error while attempting to load %p" % lib ) 314 A class which implements a handy test script which is executed whenever an ANTLR 362 A class which implements a handy test script which is executed whenever an ANTLR 436 | and #@parser_class does not appear to have an associated 481 A class which implements a handy test script which is executed whenever an ANTLR 572 result.respond_to?( :tree ) or fail( "Parser did not return an AST for rule #@parser_rule" )
|
H A D | profile.rb | 191 Profiler is an event-listener that performs all of the profiling accounting and 347 | [%s @ %s]: failed to write profile report to %p due to an IO Error:
|
H A D | streams.rb | 68 A subclass of StringStream, FileStream simply wraps data read from an IO or 76 the ability to produce new output text from an input token-sequence by 81 an Abstract Syntax Tree into a flat, one-dimensional sequence, but preserves 123 about the current stream state, place the data in an internal memory table, and 124 return a memento, <tt>marker</tt>. The marker object is typically an integer key 128 be used to restore the stream to an earlier state. This is used by recognizers 131 <tt>stream.release(marker = last_marker)</tt> can be used to release an existing 136 <tt>stream.seek(position)</tt> moves the stream cursor to an absolute position 143 <tt>ANTLR3::Stream</tt> is an abstract-ish base mixin for all IO-like stream 148 class that wants to be a Stream. Right now this exists as an artifac [all...] |
H A D | template.rb | 77 | does not appear to have an associated lexer class 280 raise ArgumentError, "cannot convert %p to an instance variable name" % name
|
H A D | token.rb | 45 Furthermore, ANTLR tokens are assigned a "channel" number, an extra degree of 52 originated. Token streams will also provide an index value for the token, which 57 == Token as an Interface 108 # @example Match against an integer token type constant 297 TokenSource is a simple mixin module that demands an 345 ANTLR3::CommonToken). Token classes are presumed to have an #initialize method 384 represented by an integer -- some arbitrary value that ANTLR will decide to use 385 as it is creating the recognizer. The purpose of using an integer (instead of 435 overwriting (which would mess up recognizer code fairly badly) and adds an 568 # raise an erro [all...] |
H A D | tree.rb | 93 an input stream, which should be a TreeNodeStream. ANTLR intends to keep its 96 this flexibility is that tree parsers also require an extra tree adaptor object, 194 As ANTLR is concerned, an Abstract Syntax Tree (AST) node is an object that 198 The Tree module, like the Token and Stream modules, emulates an abstract base 210 than one children -- functions like an array of 216 [error node] a special node used to represent an erroneous series of tokens 217 from an input stream 305 A base implementation of an Abstract Syntax Tree Node. It mainly defines the 669 trees. Using an adapto [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
H A D | visitor.rb | 40 AST::Visitor is an extra utility class for working with tree objects. Visitor
|