/macosx-10.10/ruby-106/ruby/test/rdoc/ |
H A D | test_rdoc_ruby_token.rb | 6 token = RDoc::RubyToken::Token.new 0, 0, 0, 'text' 8 assert_equal 'text', token.text 12 token = RDoc::RubyToken::TkOp.new 0, 0, 0, '&' 14 assert_equal '&', token.text 15 assert_equal '&', token.name
|
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/External/CodeMirror/ |
H A D | livescript.js | 30 return r.token; 39 return r.token; 56 token: function(stream, state){ 81 token: 'string', 87 token: 'comment.doc', 91 token: 'comment', 94 token: 'keyword', 97 token: 'constant.language', 100 token: 'invalid.illegal', 103 token [all...] |
/macosx-10.10/emacs-93/emacs/lisp/progmodes/ |
H A D | ebnf-dtd.el | 570 rule-list token rule the-end) 572 (setq token (ebnf-dtd-lex)) 573 (and (eq token 'end-of-input) 575 (setq token (ebnf-dtd-prolog token)) 576 (unless (eq (car token) 'end-prolog) 577 (setq the-end (cdr token) 578 token (car token)) 579 (while (not (eq token th [all...] |
H A D | ebnf-bnf.el | 151 prod-list token rule) 153 (setq token (ebnf-bnf-lex)) 154 (and (eq token 'end-of-input) 156 (while (not (eq token 'end-of-input)) 160 (setq token (ebnf-production token) 161 rule (cdr token) 162 token (car token)) 171 (defun ebnf-production (token) [all...] |
H A D | ebnf-abn.el | 232 rule-list token rule) 234 (setq token (ebnf-abn-lex)) 235 (and (eq token 'end-of-input) 237 (and (eq token 'end-of-rule) 238 (setq token (ebnf-abn-lex))) 239 (while (not (eq token 'end-of-input)) 243 (setq token (ebnf-abn-rule token) 244 rule (cdr token) 245 token (ca [all...] |
/macosx-10.10/ruby-106/ruby/ext/psych/yaml/ |
H A D | parser.c | 45 * Peek the next token in the token queue. 53 * Remove the next token from the queue (must be called after PEEK_TOKEN). 315 yaml_token_t *token; local 317 token = PEEK_TOKEN(parser); 318 if (!token) return 0; 320 if (token->type != YAML_STREAM_START_TOKEN) { 322 "did not find expected <stream-start>", token->start_mark); 326 STREAM_START_EVENT_INIT(*event, token->data.stream_start.encoding, 327 token 345 yaml_token_t *token; local 442 yaml_token_t *token; local 472 yaml_token_t *token; local 532 yaml_token_t *token; local 729 yaml_token_t *token; local 787 yaml_token_t *token; local 837 yaml_token_t *token; local 902 yaml_token_t *token; local 952 yaml_token_t *token; local 1013 yaml_token_t *token; local 1043 yaml_token_t *token; local 1074 yaml_token_t *token; local 1103 yaml_token_t *token; local 1173 yaml_token_t *token; local 1246 yaml_token_t *token; local [all...] |
/macosx-10.10/groff-38/groff/src/preproc/eqn/ |
H A D | eqn.y | 40 %token OVER 41 %token SMALLOVER 42 %token SQRT 43 %token SUB 44 %token SUP 45 %token LPILE 46 %token RPILE 47 %token CPILE 48 %token PILE 49 %token LEF [all...] |
/macosx-10.10/libxml2-26/libxml2/ |
H A D | rngparser.c | 59 const xmlChar *token; member in struct:_token 92 tokenPtr token; member in struct:_xmlCRelaxNGParserCtxt 244 * Scan the schema to get the next token 252 tokenPtr token; local 256 token = &(ctxt->tokens[(ctxt->firstToken + ctxt->nbTokens) % MAX_TOKEN]); 257 token->toktype = CRNG_NONE; 291 token->toklen = cur - ctxt->cur; 292 token->token = xmlDictLookup(ctxt->dict, ctxt->cur, token 420 tokenPtr token; local 670 tokenPtr token; local 699 tokenPtr token; local 769 tokenPtr token; local 805 tokenPtr token; local 834 tokenPtr token; local 908 tokenPtr token; local 1002 tokenPtr token; local 1045 tokenPtr token; local 1093 tokenPtr token, tok2; local 1186 tokenPtr token; local 1210 tokenPtr token, tok2; local 1260 tokenPtr token; local 1295 tokenPtr token; local 1391 tokenPtr token; local [all...] |
/macosx-10.10/libxml2-26/libxml2/doc/ |
H A D | apibuild.py | 405 def push(self, token): 406 self.tokens.insert(0, token); 409 print("Last token: ", self.last) 413 def token(self): member in class:CLexer 632 def error(self, msg, token=-1): 637 if token != -1: 638 print("Got token ", token) 642 def debug(self, msg, token=-1): 644 if token ! 1022 def token(self): member in class:CParser [all...] |
/macosx-10.10/libxslt-13/libxslt/doc/ |
H A D | apibuild.py | 327 def push(self, token): 328 self.tokens.insert(0, token); 331 print "Last token: ", self.last 335 def token(self): member in class:CLexer 544 def error(self, msg, token=-1): 549 if token != -1: 550 print "Got token ", token 554 def debug(self, msg, token=-1): 556 if token ! 595 token = self.lexer.token() variable in class:CParser 808 token = self.lexer.token() variable in class:CParser 821 token = self.lexer.token() variable in class:CParser 832 def token(self): member in class:CParser 838 token = self.parseComment(token) variable in class:CParser 841 token = self.parsePreproc(token) variable in class:CParser 849 token = self.lexer.token() variable in class:CParser 863 token = self.parseType(token) variable in class:CParser 888 token = self.token() variable in class:CParser 907 token = self.token() variable in class:CParser 918 token = self.parseBlock(token) variable in class:CParser 958 token = self.parseTypeBlock(token) variable in class:CParser 968 token = self.parseType(token) variable in class:CParser 984 token = self.token() variable in class:CParser 986 token = self.token() variable in class:CParser 1010 token = self.parseTypeBlock(token) variable in class:CParser 1044 token = self.token() variable in class:CParser 1057 token = self.parseTypeBlock(token) variable in class:CParser 1106 token = self.token() variable in class:CParser 1108 token = self.token() variable in class:CParser 1109 token = self.parseStruct(token) variable in class:CParser 1112 token = self.token() variable in class:CParser 1128 token = nametok variable in class:CParser 1139 token = self.token() variable in class:CParser 1140 token = self.parseEnumBlock(token) variable in class:CParser 1164 token = self.token() variable in class:CParser 1178 token = self.token() variable in class:CParser 1187 token = self.token() variable in class:CParser 1217 token = self.token() variable in class:CParser 1226 token = self.token() variable in class:CParser 1227 token = self.token() variable in class:CParser 1246 token = self.token() variable in class:CParser 1248 token = self.token() variable in class:CParser 1287 token = self.parseGlobal(token) variable in class:CParser 1292 token = self.parseGlobal(token) variable in class:CParser 1294 token = self.token() variable in class:CParser 1314 token = self.token() variable in class:CParser 1323 token = self.token() variable in class:CParser 1329 token = self.token() variable in class:CParser 1364 token = self.token() variable in class:CParser 1370 token = self.token() variable in class:CParser 1371 token = self.parseBlock(token); variable in class:CParser 1380 token = self.token() variable in class:CParser 1383 token = self.token() variable in class:CParser 1398 token = self.parseGlobal(token) variable in class:CParser [all...] |
/macosx-10.10/cxxfilt-11/cxxfilt/binutils/ |
H A D | arparse.y | 43 %token NEWLINE 44 %token VERBOSE 45 %token <name> FILENAME 46 %token ADDLIB 47 %token LIST 48 %token ADDMOD 49 %token CLEAR 50 %token CREATE 51 %token DELETE 52 %token DIRECTOR [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/src/ |
H A D | NoViableAltException.cpp | 19 token(0), node(t) 27 token(t), node(nullASTptr) 33 if (token) 35 if( token->getType() == Token::EOF_TYPE ) 37 else if( token->getType() == Token::NULL_TREE_LOOKAHEAD ) 40 return string("unexpected token: ")+token->getText(); 43 // must a tree parser error if token==null
|
/macosx-10.10/apr-32/apr/apr/strings/ |
H A D | apr_strtok.c | 29 char *token; local 41 token = str; 43 /* skip valid token characters to terminate token and 46 *last = token + 1; 55 return token;
|
/macosx-10.10/ruby-106/ruby/sample/ripper/ |
H A D | strip-comment.rb | 10 def on_default(event, token, data) 11 print token 14 def on_comment(token, data)
|
/macosx-10.10/WebCore-7600.1.25/html/parser/ |
H A D | HTMLTreeBuilder.cpp | 140 explicit ExternalCharacterTokenBuffer(AtomicHTMLToken* token) argument 141 : m_text(token->characters(), token->charactersLength()) 142 , m_isAll8BitData(token->isAll8BitData()) 349 void HTMLTreeBuilder::constructTree(AtomicHTMLToken* token) argument 351 if (shouldProcessTokenInForeignContent(token)) 352 processTokenInForeignContent(token); 354 processToken(token); 370 void HTMLTreeBuilder::processToken(AtomicHTMLToken* token) argument 372 switch (token 402 processDoctypeToken(AtomicHTMLToken* token) argument 452 attributesForIsindexInput(AtomicHTMLToken* token) argument 465 processIsindexStartTagForInBody(AtomicHTMLToken* token) argument 507 processCloseWhenNestedTag(AtomicHTMLToken* token) argument 540 adjustSVGTagNameCase(AtomicHTMLToken& token) argument 549 adjustAttributes(HashMap<AtomicString, QualifiedName>& map, AtomicHTMLToken& token) argument 559 adjustAttributes(AtomicHTMLToken& token) argument 565 adjustSVGAttributes(AtomicHTMLToken& token) argument 570 adjustMathMLAttributes(AtomicHTMLToken& token) argument 597 adjustForeignAttributes(AtomicHTMLToken& token) argument 603 processStartTagForInBody(AtomicHTMLToken* token) argument 931 processTemplateStartTag(AtomicHTMLToken* token) argument 939 processTemplateEndTag(AtomicHTMLToken* token) argument 957 processEndOfFileForInTemplateContents(AtomicHTMLToken* token) argument 999 processStartTagForInTable(AtomicHTMLToken* token) argument 1075 processStartTag(AtomicHTMLToken* token) argument 1461 processHtmlStartTagForInBody(AtomicHTMLToken* token) argument 1473 processBodyEndTagForInBody(AtomicHTMLToken* token) argument 1486 processAnyOtherEndTagForInBody(AtomicHTMLToken* token) argument 1508 callTheAdoptionAgency(AtomicHTMLToken* token) argument 1677 processEndTagForInTableBody(AtomicHTMLToken* token) argument 1714 processEndTagForInRow(AtomicHTMLToken* token) argument 1750 processEndTagForInCell(AtomicHTMLToken* token) argument 1791 processEndTagForInBody(AtomicHTMLToken* token) argument 1982 processEndTagForInTable(AtomicHTMLToken* token) argument 2004 processEndTag(AtomicHTMLToken* token) argument 2287 processComment(AtomicHTMLToken* token) argument 2309 processCharacter(AtomicHTMLToken* token) argument 2591 processEndOfFile(AtomicHTMLToken* token) argument 2755 processStartTagForInHead(AtomicHTMLToken* token) argument 2808 processGenericRCDATAStartTag(AtomicHTMLToken* token) argument 2818 processGenericRawTextStartTag(AtomicHTMLToken* token) argument 2828 processScriptStartTag(AtomicHTMLToken* token) argument 2844 shouldProcessTokenInForeignContent(AtomicHTMLToken* token) argument 2874 processTokenInForeignContent(AtomicHTMLToken* token) argument [all...] |
H A D | HTMLSourceTracker.cpp | 37 void HTMLSourceTracker::start(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token) argument 39 if (token.type() == HTMLToken::Uninitialized) { 47 token.setBaseOffset(m_currentSource.numberOfCharactersConsumed() - m_previousSource.length()); 50 void HTMLSourceTracker::end(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token) argument 55 token.end(currentInput.numberOfCharactersConsumed() - tokenizer->numberOfBufferedCharacters()); 58 String HTMLSourceTracker::sourceForToken(const HTMLToken& token) argument 60 if (token.type() == HTMLToken::EndOfFile) 66 ASSERT(!token.startIndex()); 67 size_t length = static_cast<size_t>(token.endIndex() - token [all...] |
/macosx-10.10/groff-38/groff/src/roff/troff/ |
H A D | token.h | 27 class token { class 65 token(); 66 ~token(); 67 token(const token &); 68 void operator=(const token &); 74 int space(); // is the current token a space? 75 int stretchable_space(); // is the current token a stretchable space? 76 int unstretchable_space(); // is the current token an unstretchable space? 77 int white_space(); // is the current token spac [all...] |
/macosx-10.10/WebKit2-7600.1.25/UIProcess/ |
H A D | PageLoadState.cpp | 145 void PageLoadState::reset(const Transaction::Token& token) argument 147 ASSERT_UNUSED(token, &token.m_pageLoadState == this); 229 void PageLoadState::setPendingAPIRequestURL(const Transaction::Token& token, const String& pendingAPIRequestURL) argument 231 ASSERT_UNUSED(token, &token.m_pageLoadState == this); 235 void PageLoadState::clearPendingAPIRequestURL(const Transaction::Token& token) argument 237 ASSERT_UNUSED(token, &token.m_pageLoadState == this); 241 void PageLoadState::didStartProvisionalLoad(const Transaction::Token& token, cons argument 253 didReceiveServerRedirectForProvisionalLoad(const Transaction::Token& token, const String& url) argument 261 didFailProvisionalLoad(const Transaction::Token& token) argument 272 didCommitLoad(const Transaction::Token& token) argument 286 didFinishLoad(const Transaction::Token& token) argument 295 didFailLoad(const Transaction::Token& token) argument 303 didSameDocumentNavigation(const Transaction::Token& token, const String& url) argument 311 didDisplayOrRunInsecureContent(const Transaction::Token& token) argument 318 setUnreachableURL(const Transaction::Token& token, const String& unreachableURL) argument 331 setTitle(const Transaction::Token& token, const String& title) argument 342 setCanGoBack(const Transaction::Token& token, bool canGoBack) argument 353 setCanGoForward(const Transaction::Token& token, bool canGoForward) argument 359 didStartProgress(const Transaction::Token& token) argument 365 didChangeProgress(const Transaction::Token& token, double value) argument 371 didFinishProgress(const Transaction::Token& token) argument 377 setNetworkRequestsInProgress(const Transaction::Token& token, bool networkRequestsInProgress) argument [all...] |
/macosx-10.10/bootstrap_cmds-91/migcom.tproj/ |
H A D | parser.y | 49 %token sySkip 50 %token syRoutine 51 %token sySimpleRoutine 53 %token sySubsystem 54 %token syKernelUser 55 %token syKernelServer 57 %token syMsgOption 58 %token syMsgSeqno 59 %token syWaitTime 60 %token sySendTim [all...] |
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Controllers/ |
H A D | CodeMirrorDragToAdjustNumberController.js | 84 var token = this._codeMirror.getTokenAt(position); 86 if (!token || !token.type || !token.string) { 92 // Stop right here if we're hovering the same token as we were last time. 94 this._hoveredTokenInfo.token.start === token.start && this._hoveredTokenInfo.token.end === token.end) 95 return this._hoveredTokenInfo.token 99 token: token, property in class:_hoveredTokenInfo [all...] |
/macosx-10.10/CPANInternal-159.1/Perl-Tidy-20121207/examples/ |
H A D | perlxmltok.pl | 10 # The script is broken at the line and token level. 146 # somewhat resemble token type characters, but are often different 175 # Now we have to map actual token types into one of the above short 176 # names; any token types not mapped will get 'punctuation' 181 # The keys of this hash table are token types and can be seen 182 # by running with --dump-token-types (-dtt). 211 # These token types will all be called identifiers for now 216 # These token types will be called 'structure' 225 my ( @marked_tokens, $j, $string, $type, $token ); 229 $token [all...] |
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/json/ |
H A D | json.tcl | 44 # JSON token 78 # Throw an exception signaling an unexpected token 79 proc json::unexpected {tokenCursor token expected} { 80 return -code error "unexpected token \"$token\" at position $tokenCursor; expecting $expected" 83 # Get rid of the quotes surrounding a string token and substitute the 85 # @param token 86 # @return unquoted unescaped value of the string contained in $token 87 proc json::unquoteUnescapeString {token} { 88 set unquoted [string range $token [all...] |
/macosx-10.10/ntp-92/ntpd/ |
H A D | ntp_parser.y | 45 * Enable generation of token names array even without YYDEBUG. 48 %token-table 66 %token <Integer> T_Age 67 %token <Integer> T_All 68 %token <Integer> T_Allan 69 %token <Integer> T_Auth 70 %token <Integer> T_Autokey 71 %token <Integer> T_Automax 72 %token <Integer> T_Average 73 %token <Intege [all...] |
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/gpx/ |
H A D | gpx.tcl | 15 # set token [::gpx::Create gpxFilename] 16 # ::gpx::Cleanup $token 17 # ::gpx::GetGPXMetadata $token => dict of metadata 18 # ::gpx::GetWaypointCount $token => number of waypoints 19 # ::gpx::GetAllWaypoints $token => list of waypoint items 20 # ::gpx::GetTrackCount $token => number of tracks 21 # ::gpx::GetTrackMetadata $token $whichTrack => dict of metadata for this track 22 # ::gpx::GetTrackPoints $token $whichTrack => list of trkpts for this track 23 # ::gpx::GetRouteCount $token => number of routes 24 # ::gpx::GetRouteMetadata $token [all...] |
/macosx-10.10/bless-103/libbless/Misc/ |
H A D | BLPreserveBootArgs.c | 54 char *token, *restargs; local 66 while((token = strsep(&restargs, " ")) != NULL) { 68 contextprintf(context, kBLLogLevelVerbose, "\tGot token: %s\n", token); 73 if(strcmp(remove_boot_args[i], token) == 0) { 80 if(strlen(token) >= keylen+1 81 && strncmp(remove_boot_args[i], token, keylen) == 0 82 && token[keylen] == '=') { 98 contextprintf(context, kBLLogLevelVerbose, "\tPreserving: %s\n", token); 99 strncat(bootargs, token, bootlef [all...] |