Home
last modified time | relevance | path

Searched refs:start_token (Results 1 – 17 of 17) sorted by relevance

/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/
Dtokenutil.py98 def CustomSearch(start_token, func, end_func=None, distance=None, argument
117 token = start_token
147 def Search(start_token, token_types, distance=None, reverse=False): argument
163 return CustomSearch(start_token, lambda token: token.IsAnyType(token_types),
167 def SearchExcept(start_token, token_types, distance=None, reverse=False): argument
183 return CustomSearch(start_token,
188 def SearchUntil(start_token, token_types, end_types, distance=None, argument
206 return CustomSearch(start_token, lambda token: token.IsAnyType(token_types),
Derror_fixer.py225 start_token = token.attached_object.type_start_token
227 if start_token.type != Type.DOC_START_BRACE:
229 len(start_token.string) - len(start_token.string.lstrip()))
231 start_token = tokenutil.SplitToken(start_token, leading_space)
233 if token.attached_object.type_end_token == start_token.previous:
234 token.attached_object.type_end_token = start_token
236 new_token = Token('{', Type.DOC_START_BRACE, start_token.line,
237 start_token.line_number)
238 tokenutil.InsertTokenAfter(new_token, start_token.previous)
Dindentation.py155 start_token = self._PopTo(Type.START_BLOCK)
157 if start_token:
158 goog_scope = self._GoogScopeOrNone(start_token.token)
177 (start_token.line_number)),
442 start_token = token
445 if not token or token.line_number != start_token.line_number:
Dstatetracker.py225 def __init__(self, start_token): argument
234 self.start_token = start_token
438 def _GetNextIdentifierToken(start_token): argument
453 token = start_token.next
467 def _GetEndTokenAndContents(start_token): argument
480 iterator = start_token
Decmametadatapass.py118 def __init__(self, type, start_token, parent): argument
127 self.start_token = start_token
290 keyword_token = result.start_token.metadata.last_code
302 start_block_token = pre_keyword_token.metadata.context.start_token
Djavascriptlintrules.py216 block_start = doc_comment.start_token
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
Ddebug.rb96 def set_token_boundaries( tree, start_token, stop_token ) argument
97 super( tree, start_token, stop_token )
98 return unless tree && start_token && stop_token
100 start_token.token_index, stop_token.token_index )
/external/linux-tools-perf/src/tools/perf/util/
Dparse-events.l93 int start_token;
95 start_token = parse_events_get_extra(yyscanner);
97 if (start_token == PE_START_TERMS)
99 else if (start_token == PE_START_EVENTS)
102 if (start_token) {
104 return start_token;
Dparse-events.c846 static int parse_events__scanner(const char *str, void *data, int start_token);
849 int start_token) in parse_events_fixup() argument
869 return parse_events__scanner(s, data, start_token); in parse_events_fixup()
872 static int parse_events__scanner(const char *str, void *data, int start_token) in parse_events__scanner() argument
878 ret = parse_events_lex_init_extra(start_token, &scanner); in parse_events__scanner()
893 ret = parse_events_fixup(ret, str, data, start_token); in parse_events__scanner()
Dparse-events-flex.c1353 int start_token; variable
1355 start_token = parse_events_get_extra(yyscanner);
1357 if (start_token == PE_START_TERMS)
1359 else if (start_token == PE_START_EVENTS)
1362 if (start_token) {
1364 return start_token;
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp225 FX_BOOL CPDF_SimpleParser::FindTagPair(FX_BSTR start_token, FX_BSTR end_token, in FindTagPair() argument
228 if (!start_token.IsEmpty()) { in FindTagPair()
229 if (!SkipWord(start_token)) { in FindTagPair()
/external/mksh/src/
Dsyn.c29 int start_token; /* token than began nesting (eg, FOR) */ member
838 if (nesting.start_token) { in syntaxerr()
839 c = nesting.start_token; in syntaxerr()
879 nesting.start_token = tok; in nesting_push()
908 nesting.start_token = 0; in compile()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtree.rb779 def set_token_boundaries( tree, start_token = nil, stop_token = nil ) argument
782 start_token and start = start_token.index
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc1170 io::Tokenizer::Token start_token; in ParseExtensions() local
1175 start_token = input_->current(); in ParseExtensions()
1193 end_location.StartAt(start_token); in ParseExtensions()
1194 end_location.EndAt(start_token); in ParseExtensions()
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h215 FX_BOOL FindTagPair(FX_BSTR start_token, FX_BSTR end_token,
/external/bison/doc/
Dbison.texi11362 @code{yylex} function. Make sure a variable @code{start_token} is
11370 if (start_token)
11372 int t = start_token;
11373 start_token = 0;
Dbison.info10561 function. Make sure a variable `start_token' is available in the
10568 if (start_token)
10570 int t = start_token;
10571 start_token = 0;