Searched refs:first (Results 1 - 25 of 9193) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DDFA.as184 // walk first to find how big it is.
H A DRecognizerSharedState.as75 /** The line on which the first character of the token resides */
78 /** The character position of first character within the line */
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DCommonErrorNode.as23 // Also handle case where start is the first token and no token
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3tokenstream.c349 * first symbol of lookahead.
418 ANTLR3_MARKER first; local
423 first = is->index(is);
425 for (i=0; i<first; i++)
641 ts->debugger->consumeToken(ts->debugger, t); // Tell the debugger that we consumed the first token
1021 /* Set the consume pointer to the first token that is on our channel
1028 /// Given a starting index, return the index of the first on-channel
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DCheck.cs88 public static void FirstAndSecond (object first, object second) argument
90 if (first == null)
91 throw new ArgumentNullException ("first");
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.Tools.pas236 { The TDictionary class in the first release of Delphi 2009 is very buggy.
H A DAntlr.Runtime.Tree.pas721 /// Walk tree with depth-first-search and fill nodes buffer.
1357 /// as we don't what the trees look like. Load upon first need of
1433 /// Walk tree with depth-first-search and fill nodes buffer.
1989 /// <summary>lookahead[head] is the first symbol of lookahead, LT(1). </summary>
2002 /// upon first call to Mark().
2057 /// Navigates to the next node found during a depth-first walk of root.
2622 // Also handle case where start is the first token and no token
4633 // point to first child in prep for subsequent next()
4746 // initial condition (first time method is called)
H A DAntlr.Runtime.pas75 /// LA(-i) where i is before first token should yield -1, invalid char or EOF.
163 /// the ith symbol. So, seeking to 0 means LA(1) will return the first
252 /// The index of the first character relative to the beginning of the line 0..N-1
610 /// The line on which the first character of the token resides
614 /// <summary>The character position of first character within the line</summary>
1268 /// the first example shows.
1366 /// want to quit upon first error, you can turn off the automatic error
1635 /// A null is kept @ index 0. Create upon first call to Mark().
2327 /// This is done upon first LT request because you might want to
2335 /// <summary>Given a starting index, return the index of the first o
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DTokenRewriteStream.js50 * the first example shows.
205 // now pos is the index in rewrites of first op with op.index
288 var programName, first, last, text;
291 first = arguments[0];
296 first = arguments[0];
301 first = arguments[1];
306 if (first instanceof org.antlr.runtime.Token) {
307 first = first.index;
314 if ( first > las
[all...]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dstreams.py67 just matched). LA(-i) where i is before first token should
156 first element in the stream.
680 This is done upon first LT request because you might want to
717 # leave p pointing at first token on channel
740 Given a starting index, return the index of the first on-channel
814 first symbol of lookahead.
1000 def __init__(self, stream, first, last, text):
1001 RewriteOperation.__init__(self, stream, first, text)
1075 the first example shows.
1171 first
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Drecognizers.rb303 @default_rule ||= rules.first
714 # like bailing out after the first error
H A Dstreams.rb42 This documentation first covers the general concept of streams as used by ANTLR
243 Hey this is the first line.
246 Line 1 is the string "Hey this is the first line\\n". If a character stream is at
468 initial_location = @markers.first
683 # attempt to set its +name+ object first trying the method #name
842 @tokens.empty? ? CommonToken : @tokens.first.class
H A Dtemplate.rb243 when SETTER_FORM then return( self[ $1 ] = args.first )
H A Dtoken.rb534 tk_class = Class === token_names.first ? token_names.shift : nil
593 if names.length == 1 and Hash === names.first
594 names.first.each do |value, name|
H A Dtree.rb513 return ( empty? ? 0 : first.line )
520 return( empty? ? 0 : first.column )
555 first, last = tokens.minmax_by { |t| t.index }
556 first.start .. last.stop
567 @start_index = first.start_index
881 if n == 1 and args.first.is_a?( Token ) then create_with_payload( args[ 0 ] )
882 elsif n == 2 and Integer === args.first and String === args[ 1 ]
884 elsif n >= 2 and Integer === args.first
907 elsif root.child_count == 1 then root = root.first.detach
989 @root = args.first
[all...]
H A Dutil.rb152 range.first >= first or return false
165 range.include?( first ) or include?( range.first )
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
H A Drewrite.rb151 location.first
246 if location == prior_location.first
286 cursor = range.first
325 first, last = loc.first.to_i, loc.last.to_i
327 return cast_range( args.unshift( first, last ), extra )
333 first, last = args.shift( 2 ).map! { |arg| arg.to_i }
334 if first < 0 and last < 0
335 first += @stream.length
339 first
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
H A Dgroup-file-parser.rb656 if __FILE__ == $0 and ARGV.first != '--'
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dcore-extensions.rb191 elsif list.first.empty? then list.first.replace( File::Separator )
197 while target_list.first == reference_list.first
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Drewrites.rb864 a : first=ID others+=ID* -> $first VAR $others+ ;
1216 example "missing first token gives error node" do
1231 example "missing first token gives error node2" do
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
H A Dmain-scripts.rb32 lexer_script = grammar.target_files.first
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
H A Dcalc.rb96 errors.first.should =~ /mismatched/
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DIntervalSet.java231 Interval first = (Interval)intervals.get(0);
232 // add a range from 0 to first.a constrained to vocab
233 if ( first.a > 0 ) {
234 IntervalSet s = IntervalSet.of(0, first.a-1);

Completed in 753 milliseconds

1234567891011>>