HomeSort by relevance Sort by last modified time
    Searched refs:token_type (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
matcher.py 46 def __init__(self, regex, token_type, result_mode=None, line_start=False):
51 token_type: The type of token a successful match indicates.
58 self.type = token_type
tokens.py 50 def __init__(self, string, token_type, line, line_number, values=None):
55 token_type: The type of token.
62 self.type = token_type
97 def IsType(self, token_type):
101 token_type: The type to test for.
106 return self.type == token_type
tokenizer.py 78 def _CreateToken(self, string, token_type, line, line_number, values=None):
83 token_type: The type of token.
93 return tokens.Token(string, token_type, line, line_number, values)
  /external/chromium_org/third_party/closure_linter/closure_linter/common/
matcher.py 46 def __init__(self, regex, token_type, result_mode=None, line_start=False):
51 token_type: The type of token a successful match indicates.
58 self.type = token_type
tokens.py 50 def __init__(self, string, token_type, line, line_number, values=None,
56 token_type: The type of token.
66 self.type = token_type
103 def IsType(self, token_type):
107 token_type: The type to test for.
112 return self.type == token_type
tokenizer.py 78 def _CreateToken(self, string, token_type, line, line_number, values=None):
83 token_type: The type of token.
93 return tokens.Token(string, token_type, line, line_number, values,
  /external/chromium_org/sandbox/win/tools/finder/
main.cc 32 sandbox::TokenLevel token_type = sandbox::USER_LOCKDOWN; local
48 token_type = sandbox::USER_LOCKDOWN;
50 token_type = sandbox::USER_RESTRICTED;
52 token_type = sandbox::USER_LIMITED;
54 token_type = sandbox::USER_INTERACTIVE;
56 token_type = sandbox::USER_NON_ADMIN;
58 token_type = sandbox::USER_RESTRICTED_SAME_ACCESS;
60 token_type = sandbox::USER_UNPROTECTED;
141 finder_obj.Init(token_type, object_type, access_type, file_output);
finder.cc 24 DWORD Finder::Init(sandbox::TokenLevel token_type,
38 err_code = sandbox::CreateRestrictedToken(&token_handle_, token_type,
  /external/openfst/src/include/fst/extensions/far/
print-strings.h 46 typename StringPrinter<Arc>::TokenType token_type; local
48 token_type = StringPrinter<Arc>::SYMBOL;
50 token_type = StringPrinter<Arc>::BYTE;
52 token_type = StringPrinter<Arc>::UTF8;
95 token_type, syms ? syms : fst.InputSymbols());
127 if (token_type == StringPrinter<Arc>::SYMBOL)
compile-strings.h 54 TokenType token_type,
59 token_type_(token_type), symbols_(syms), done_(false),
60 compiler_(token_type, syms, unknown_label, allow_negative_labels) {
166 typename StringCompiler<Arc>::TokenType token_type; local
168 token_type = StringCompiler<Arc>::SYMBOL;
170 token_type = StringCompiler<Arc>::BYTE;
172 token_type = StringCompiler<Arc>::UTF8;
246 entry_type, token_type, allow_negative_labels,
260 << " in file " << inputs[i] << " failed with token_type = "
farscript.h 211 const FarTokenType token_type; member in struct:fst::script::FarPrintStringsArgs
224 const FarTokenType token_type, const string &begin_key,
229 ifilenames(ifilenames), entry_type(entry_type), token_type(token_type),
240 args->ifilenames, args->entry_type, args->token_type,
250 const FarTokenType token_type,
  /frameworks/compile/mclinker/include/mcld/Script/
ScriptScanner.h 18 mcld::ScriptParser::token_type \
40 virtual ScriptParser::token_type lex(ScriptParser::semantic_type* yylval,
  /external/chromium_org/third_party/WebKit/Source/build/scripts/
make_mediaquery_tokenizer_codepoints.py 28 def token_type(i): function
87 token_lines = [' &MediaQueryTokenizer::%s,' % token_type(i)
88 if token_type(i) else ' 0,'
  /frameworks/compile/mclinker/lib/Script/
ScriptScanner.ll 20 typedef mcld::ScriptParser::token_type token_type;
177 <LDSCRIPT,EXPRESSION>"," { return static_cast<token_type>(*yytext); }
178 <LDSCRIPT,EXPRESSION>"=" { return static_cast<token_type>(*yytext); }
179 <LDSCRIPT,EXPRESSION>"?" { return static_cast<token_type>(*yytext); }
180 <LDSCRIPT,EXPRESSION>":" { return static_cast<token_type>(*yytext); }
181 <LDSCRIPT,EXPRESSION>"|" { return static_cast<token_type>(*yytext); }
182 <LDSCRIPT,EXPRESSION>"^" { return static_cast<token_type>(*yytext); }
183 <LDSCRIPT,EXPRESSION>"&" { return static_cast<token_type>(*yytext); }
184 <LDSCRIPT,EXPRESSION>"<" { return static_cast<token_type>(*yytext);
    [all...]
  /external/chromium_org/testing/gtest/scripts/
pump.py 140 def __init__(self, start=None, end=None, value=None, token_type=None):
150 self.token_type = token_type
154 self.start, self.value, self.token_type)
160 self.token_type)
171 for (regex, token_type) in token_table:
178 best_match_token_type = token_type
197 (start_column, length, token_type) = m
202 return MakeToken(lines, found_start, found_end, token_type)
237 def MakeToken(lines, start, end, token_type)
    [all...]
  /external/chromium_org/sandbox/win/src/
restricted_token_utils.h 27 // restricted. The token_type determines if the token will be used as a primary
38 TokenType token_type);
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
ecmametadatapass.py 264 token_type = token.type
279 if token_type == TokenType.START_PAREN:
287 elif token_type == TokenType.END_PAREN:
315 elif (token_type == TokenType.KEYWORD and
323 elif token_type == TokenType.START_PARAMETERS:
326 elif token_type == TokenType.END_PARAMETERS:
329 elif token_type == TokenType.START_BRACKET:
336 elif token_type == TokenType.END_BRACKET:
339 elif token_type == TokenType.START_BLOCK:
354 elif token_type == TokenType.END_BLOCK
    [all...]
indentation.py 139 token_type = token.type
145 if token_type == Type.END_PAREN:
148 elif token_type == Type.END_PARAMETERS:
151 elif token_type == Type.END_BRACKET:
154 elif token_type == Type.END_BLOCK:
181 elif token_type == Type.KEYWORD and token.string in ('case', 'default'):
191 elif token_type == Type.SEMICOLON:
194 not_binary_operator = (token_type != Type.OPERATOR or
212 if token_type in Type.COMMENT_TYPES:
232 if token_type == Type.START_BRACKET
    [all...]
  /external/bison/examples/calc++/
calc++-driver.hh 10 yy::calcxx_parser::token_type \
  /external/chromium_org/third_party/closure_linter/closure_linter/
indentation.py 139 token_type = token.type
145 if token_type == Type.END_PAREN:
148 elif token_type == Type.END_PARAMETERS:
151 elif token_type == Type.END_BRACKET:
154 elif token_type == Type.END_BLOCK:
181 elif token_type == Type.KEYWORD and token.string in ('case', 'default'):
191 elif token_type == Type.SEMICOLON:
194 not_binary_operator = (token_type != Type.OPERATOR or
212 if token_type in Type.COMMENT_TYPES:
232 if token_type == Type.START_BRACKET
    [all...]
ecmametadatapass.py 311 token_type = token.type
326 if token_type == TokenType.START_PAREN:
334 elif token_type == TokenType.END_PAREN:
362 elif (token_type == TokenType.KEYWORD and
370 elif token_type == TokenType.START_PARAMETERS:
373 elif token_type == TokenType.END_PARAMETERS:
376 elif token_type == TokenType.START_BRACKET:
383 elif token_type == TokenType.END_BRACKET:
386 elif token_type == TokenType.START_BLOCK:
401 elif token_type == TokenType.END_BLOCK
    [all...]
ecmalintrules.py 289 token_type = token.type
301 if token_type == Type.PARAMETERS:
316 elif (token_type == Type.START_BLOCK and
320 elif token_type == Type.END_BLOCK:
367 elif token_type == Type.SEMICOLON:
404 elif token_type == Type.START_PAREN:
416 elif token_type == Type.START_BRACKET:
418 elif token_type in (Type.END_PAREN, Type.END_BRACKET):
440 elif token_type == Type.WHITESPACE:
472 elif token_type == Type.OPERATOR
    [all...]
  /external/chromium_org/v8/src/
token.cc 34 const char Token::token_type[] = { member in class:v8::internal::Token
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
wizard.rb 197 @token_type = tokenizer.next_token
201 case @token_type
205 @token_type == EOF and return node
214 @token_type != :open and return nil
215 @token_type = @tokenizer.next_token
219 case @token_type
229 @token_type == :close or return nil
230 @token_type = @tokenizer.next_token
236 if @token_type == :percent
237 ( @token_type = @tokenizer.next_token ) == :identifier or return ni
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/
pep8.py 430 for token_type, text, start, end, line in tokens:
435 newline = not last_token_multiline and token_type not in NEWLINE
447 close_bracket = (token_type == tokenize.OP and text in ']})')
504 if (parens[row] and token_type not in (tokenize.NL, tokenize.COMMENT)
511 elif (token_type in (tokenize.STRING, tokenize.COMMENT) or
521 if token_type == tokenize.OP:
586 token_type, text, start, end, __ = tokens[index]
587 if (token_type == tokenize.OP and
596 prev_type = token_type
656 for token_type, text, start, end, line in tokens
    [all...]

Completed in 822 milliseconds

1 2 3