• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/antlr/

Lines Matching refs:index

35  *	 augmentation or other manipulations.	Tokens are index from 0..n-1
42 * current index. If so, the operation is done and then normal String
47 * screw up the token index values. That is, an insert operation at token
48 * index i does not change the index values for tokens i+1..n-1.
103 : index(idx), text(txt)
111 * Return the index of the next token to operate on.
114 return index;
117 return index;
123 size_t index;
143 InsertBeforeOp( size_t index, const ANTLR_USE_NAMESPACE(std)string& text )
144 : RewriteOperation(index, text)
151 return index;
221 void insertAfter(size_t index, const ANTLR_USE_NAMESPACE(std)string& text) {
222 insertAfter(DEFAULT_PROGRAM_NAME, index, text);
233 size_t index,
236 // to insert after, just insert before next index (even if past end)
237 insertBefore(programName,index+1, text);
243 // std::cout << "insertBefore index " << t->getIndex() << " " << text << std::endl;
247 void insertBefore(size_t index, const ANTLR_USE_NAMESPACE(std)string& text) {
248 insertBefore(DEFAULT_PROGRAM_NAME, index, text);
259 size_t index,
262 addToSortedRewriteList(programName, new InsertBeforeOp(index,text));
265 void replace(size_t index, const ANTLR_USE_NAMESPACE(std)string& text)
267 replace(DEFAULT_PROGRAM_NAME, index, index, text);
307 void remove(size_t index) {
308 remove(DEFAULT_PROGRAM_NAME, index, index);
386 /** Return the last index for the program named programName
407 /** If op.index > lastRewriteTokenIndexes, just add to the end.
419 /** track index of tokens */
420 size_t index;