Searched refs:token (Results 1 - 25 of 858) sorted by relevance

1234567891011>>

/macosx-10.9.5/ruby-104/ruby/test/rdoc/
H A Dtest_rdoc_ruby_token.rb6 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.9.5/WebCore-7537.78.1/html/parser/
H A DHTMLTreeBuilder.cpp153 explicit ExternalCharacterTokenBuffer(AtomicHTMLToken* token) argument
154 : m_current(token->characters())
155 , m_end(m_current + token->charactersLength())
156 , m_isAll8BitData(token->isAll8BitData())
362 void HTMLTreeBuilder::constructTree(AtomicHTMLToken* token) argument
364 if (shouldProcessTokenInForeignContent(token))
365 processTokenInForeignContent(token);
367 processToken(token);
383 void HTMLTreeBuilder::processToken(AtomicHTMLToken* token) argument
385 switch (token
415 processDoctypeToken(AtomicHTMLToken* token) argument
465 attributesForIsindexInput(AtomicHTMLToken* token) argument
478 processIsindexStartTagForInBody(AtomicHTMLToken* token) argument
520 processCloseWhenNestedTag(AtomicHTMLToken* token) argument
552 adjustSVGTagNameCase(AtomicHTMLToken* token) argument
568 adjustAttributes(AtomicHTMLToken* token) argument
585 adjustSVGAttributes(AtomicHTMLToken* token) argument
590 adjustMathMLAttributes(AtomicHTMLToken* token) argument
606 adjustForeignAttributes(AtomicHTMLToken* token) argument
630 processStartTagForInBody(AtomicHTMLToken* token) argument
949 processTemplateStartTag(AtomicHTMLToken* token) argument
957 processTemplateEndTag(AtomicHTMLToken* token) argument
975 processEndOfFileForInTemplateContents(AtomicHTMLToken* token) argument
1017 processStartTagForInTable(AtomicHTMLToken* token) argument
1093 processStartTag(AtomicHTMLToken* token) argument
1476 processHtmlStartTagForInBody(AtomicHTMLToken* token) argument
1488 processBodyEndTagForInBody(AtomicHTMLToken* token) argument
1501 processAnyOtherEndTagForInBody(AtomicHTMLToken* token) argument
1523 callTheAdoptionAgency(AtomicHTMLToken* token) argument
1674 processEndTagForInTableBody(AtomicHTMLToken* token) argument
1711 processEndTagForInRow(AtomicHTMLToken* token) argument
1747 processEndTagForInCell(AtomicHTMLToken* token) argument
1788 processEndTagForInBody(AtomicHTMLToken* token) argument
1968 processEndTagForInTable(AtomicHTMLToken* token) argument
1990 processEndTag(AtomicHTMLToken* token) argument
2275 processComment(AtomicHTMLToken* token) argument
2297 processCharacter(AtomicHTMLToken* token) argument
2486 processEndOfFile(AtomicHTMLToken* token) argument
2650 processStartTagForInHead(AtomicHTMLToken* token) argument
2703 processGenericRCDATAStartTag(AtomicHTMLToken* token) argument
2713 processGenericRawTextStartTag(AtomicHTMLToken* token) argument
2723 processScriptStartTag(AtomicHTMLToken* token) argument
2739 shouldProcessTokenInForeignContent(AtomicHTMLToken* token) argument
2769 processTokenInForeignContent(AtomicHTMLToken* token) argument
[all...]
H A DHTMLSourceTracker.cpp37 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...]
H A DCompactHTMLToken.cpp48 CompactHTMLToken::CompactHTMLToken(const HTMLToken* token, const TextPosition& textPosition) argument
49 : m_type(token->type())
59 m_data = HTMLIdentifier(token->name(), Likely8Bit);
60 // There is only 1 DOCTYPE token per document, so to avoid increasing the
62 m_attributes.append(Attribute(HTMLIdentifier(token->publicIdentifier(), Likely8Bit), String(token->systemIdentifier())));
63 m_doctypeForcesQuirks = token->forceQuirks();
69 m_attributes.reserveInitialCapacity(token->attributes().size());
70 for (Vector<HTMLToken::Attribute>::const_iterator it = token->attributes().begin(); it != token
[all...]
/macosx-10.9.5/emacs-92/emacs/lisp/progmodes/
H A Debnf-dtd.el570 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 Debnf-bnf.el151 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 Debnf-abn.el232 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...]
H A Debnf-yac.el45 ;; YACC-Definitions = ( "%token" | "%left" | "%right" | "%nonassoc" )
98 (defvar ebnf-yac-token-list nil
124 syntax-list token rule)
126 (setq token (ebnf-yac-lex))
127 (and (eq token 'end-of-input)
129 (or (eq (ebnf-yac-definitions token) 'yac-separator)
131 (setq token (ebnf-yac-lex))
132 (while (not (memq token '(end-of-input yac-separator)))
136 (setq token (ebnf-yac-rule token)
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/psych/yaml/
H A Dparser.c45 * 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.9.5/groff-38/groff/src/preproc/eqn/
H A Deqn.y40 %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.9.5/libxml2-26/libxml2/
H A Drngparser.c59 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.9.5/libxml2-26/libxml2/doc/
H A Dapibuild.py405 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.9.5/libxslt-13/libxslt/doc/
H A Dapibuild.py327 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.9.5/cxxfilt-11/cxxfilt/binutils/
H A Darparse.y43 %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.9.5/Security-55471.14.18/libsecurity_codesigning/antlr2/src/
H A DNoViableAltException.cpp19 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.9.5/apache-786.1/httpd/srclib/apr/strings/
H A Dapr_strtok.c29 char *token; local
41 token = str;
43 /* skip valid token characters to terminate token and
46 *last = token + 1;
55 return token;
/macosx-10.9.5/apr-30/apr/apr/strings/
H A Dapr_strtok.c29 char *token; local
41 token = str;
43 /* skip valid token characters to terminate token and
46 *last = token + 1;
55 return token;
/macosx-10.9.5/ruby-104/ruby/sample/ripper/
H A Dstrip-comment.rb10 def on_default(event, token, data)
11 print token
14 def on_comment(token, data)
/macosx-10.9.5/groff-38/groff/src/roff/troff/
H A Dtoken.h27 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.9.5/CPANInternal-140/Perl-Tidy/examples/
H A Dperlxmltok.pl10 # The script is broken at the line and token level.
143 # somewhat resemble token type characters, but are often different
172 # Now we have to map actual token types into one of the above short
173 # names; any token types not mapped will get 'punctuation'
178 # The keys of this hash table are token types and can be seen
179 # by running with --dump-token-types (-dtt).
208 # These token types will all be called identifiers for now
213 # These token types will be called 'structure'
222 my ( @marked_tokens, $j, $string, $type, $token );
226 $token
[all...]
/macosx-10.9.5/CPANInternal-140/Perl-Tidy-20121207/examples/
H A Dperlxmltok.pl10 # 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.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/json/
H A Djson.tcl44 # 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.9.5/ntp-88/ntpd/
H A Dntp_parser.y45 * 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.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/gpx/
H A Dgpx.tcl15 # 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.9.5/bless-98/libbless/Misc/
H A DBLPreserveBootArgs.c54 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...]

Completed in 243 milliseconds

1234567891011>>