Home
last modified time | relevance | path

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

/external/chromium_org/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/chromium-trace/trace-viewer/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/chromium_org/webkit/common/fileapi/
Dfile_system_util.cc352 std::string start_token(":"); in CrackIsolatedFileSystemName() local
353 start_token = start_token.append( in CrackIsolatedFileSystemName()
359 start_token = StringToUpperASCII(start_token); in CrackIsolatedFileSystemName()
361 size_t pos = filesystem_name_upper.find(start_token); in CrackIsolatedFileSystemName()
367 *filesystem_id = filesystem_name.substr(pos + start_token.length(), in CrackIsolatedFileSystemName()
/external/mksh/src/
Dsyn.c29 int start_token; /* token than began nesting (eg, FOR) */ member
845 if (nesting.start_token) { in syntaxerr()
846 c = nesting.start_token; in syntaxerr()
886 nesting.start_token = tok; in nesting_push()
915 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/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dparser.cc1109 io::Tokenizer::Token start_token; in ParseExtensions() local
1114 start_token = input_->current(); in ParseExtensions()
1132 end_location.StartAt(start_token); in ParseExtensions()
1133 end_location.EndAt(start_token); in ParseExtensions()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/UglifyJS/
Dparse-js.js296 function start_token() { function
527 start_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;