Home
last modified time | relevance | path

Searched refs:walker (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/node/deps/npm/node_modules/yallist/
Dyallist.js155 for (var walker = this.head, i = 0; walker !== null; i++) {
156 fn.call(thisp, walker.value, i, this)
157 walker = walker.next
163 for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {
164 fn.call(thisp, walker.value, i, this)
165 walker = walker.prev
170 for (var i = 0, walker = this.head; walker !== null && i < n; i++) {
172 walker = walker.next
174 if (i === n && walker !== null) {
175 return walker.value
[all …]
Diterator.js4 for (let walker = this.head; walker; walker = walker.next) {
5 yield walker.value
/third_party/typescript/tests/baselines/reference/
DparserRealSource12.types62 (ast: AST, parent: AST, walker: IAstWalker): AST;
65 >walker : IAstWalker
69 (preAst: AST, parent: AST, walker: IAstWalker): void;
72 >walker : IAstWalker
304 …deType.None] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => vo…
312 >ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void
314 >walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void
317 …eType.Empty] = ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => vo…
325 >ChildrenWalkers.walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void
327 >walkNone : (preAst: ASTList, parent: AST, walker: IAstWalker) => void
[all …]
DparserRealSource12.symbols62 (ast: AST, parent: AST, walker: IAstWalker): AST;
67 >walker : Symbol(walker, Decl(parserRealSource12.ts, 24, 31))
75 (preAst: AST, parent: AST, walker: IAstWalker): void;
80 >walker : Symbol(walker, Decl(parserRealSource12.ts, 28, 34))
1205 export function walkNone(preAst: ASTList, parent: AST, walker: IAstWalker): void {
1211 >walker : Symbol(walker, Decl(parserRealSource12.ts, 220, 62))
1217 export function walkListChildren(preAst: ASTList, parent: AST, walker: IAstWalker): void {
1223 >walker : Symbol(walker, Decl(parserRealSource12.ts, 224, 70))
1230 if (walker.options.reverseSiblings) {
1231 >walker.options.reverseSiblings : Symbol(AstWalkOptions.reverseSiblings, Decl(parserRealSource12.ts…
[all …]
DparserRealSource12.errors.txt245 (ast: AST, parent: AST, walker: IAstWalker): AST;
255 (preAst: AST, parent: AST, walker: IAstWalker): void;
677 export function walkNone(preAst: ASTList, parent: AST, walker: IAstWalker): void {
685 … export function walkListChildren(preAst: ASTList, parent: AST, walker: IAstWalker): void {
691 if (walker.options.reverseSiblings) {
693 if (walker.options.goNextSibling) {
694 preAst.members[i] = walker.walk(preAst.members[i], preAst);
700 if (walker.options.goNextSibling) {
701 preAst.members[i] = walker.walk(preAst.members[i], preAst);
707 …nction walkUnaryExpressionChildren(preAst: UnaryExpression, parent: AST, walker: IAstWalker): void…
[all …]
DparserRealSource5.js53 export function prePrintAST(ast: AST, parent: AST, walker: IAstWalker) {
54 var pc: PrintContext = <PrintContext>walker.state;
62 export function postPrintAST(ast: AST, parent: AST, walker: IAstWalker) {
63 var pc: PrintContext = <PrintContext>walker.state;
116 function prePrintAST(ast, parent, walker) { argument
117 var pc = walker.state;
123 function postPrintAST(ast, parent, walker) { argument
124 var pc = walker.state;
DparserRealSource5.types177 export function prePrintAST(ast: AST, parent: AST, walker: IAstWalker) {
178 >prePrintAST : (ast: AST, parent: AST, walker: IAstWalker) => AST
181 >walker : IAstWalker
183 var pc: PrintContext = <PrintContext>walker.state;
185 ><PrintContext>walker.state : PrintContext
186 >walker.state : any
187 >walker : IAstWalker
208 export function postPrintAST(ast: AST, parent: AST, walker: IAstWalker) {
209 >postPrintAST : (ast: AST, parent: AST, walker: IAstWalker) => AST
212 >walker : IAstWalker
[all …]
DparserRealSource6.js80 export function preFindMemberScope(ast: AST, parent: AST, walker: IAstWalker) {
81 var memScope: MemberScopeContext = walker.state;
114 export function preFindEnclosingScope(ast: AST, parent: AST, walker: IAstWalker) {
115 var context: EnclosingScopeContext = walker.state;
200 walker.options.goChildren = true;
203 walker.options.goChildren = false;
298 function preFindMemberScope(ast, parent, walker) { argument
299 var memScope = walker.state;
324 function preFindEnclosingScope(ast, parent, walker) { argument
325 var context = walker.state;
[all …]
DparserRealSource5.symbols151 export function prePrintAST(ast: AST, parent: AST, walker: IAstWalker) {
157 >walker : Symbol(walker, Decl(parserRealSource5.ts, 51, 54))
160 var pc: PrintContext = <PrintContext>walker.state;
164 >walker : Symbol(walker, Decl(parserRealSource5.ts, 51, 54))
180 export function postPrintAST(ast: AST, parent: AST, walker: IAstWalker) {
186 >walker : Symbol(walker, Decl(parserRealSource5.ts, 60, 55))
189 var pc: PrintContext = <PrintContext>walker.state;
193 >walker : Symbol(walker, Decl(parserRealSource5.ts, 60, 55))
DparserRealSource6.types236 export function preFindMemberScope(ast: AST, parent: AST, walker: IAstWalker) {
237 >preFindMemberScope : (ast: AST, parent: AST, walker: IAstWalker) => AST
240 >walker : IAstWalker
242 var memScope: MemberScopeContext = walker.state;
244 >walker.state : any
245 >walker : IAstWalker
424 export function preFindEnclosingScope(ast: AST, parent: AST, walker: IAstWalker) {
425 >preFindEnclosingScope : (ast: AST, parent: AST, walker: IAstWalker) => AST
428 >walker : IAstWalker
430 var context: EnclosingScopeContext = walker.state;
[all …]
DparserRealSource14.js479 var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) {
519 walker.options.goChildren = (minChar <= pos && pos <= limChar);
536 …var pre = (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker): TypeScript…
545 walker.options.goChildren = false;
559 …export function walkAST(ast: TypeScript.AST, callback: (path: AstPath, walker: TypeScript.IAstWalk…
560 … var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) {
561 var path: TypeScript.AstPath = walker.state;
563 callback(path, walker);
566 … var post = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) {
567 var path: TypeScript.AstPath = walker.state;
[all …]
DparserRealSource5.errors.txt70 export function prePrintAST(ast: AST, parent: AST, walker: IAstWalker) {
77 var pc: PrintContext = <PrintContext>walker.state;
85 export function postPrintAST(ast: AST, parent: AST, walker: IAstWalker) {
92 var pc: PrintContext = <PrintContext>walker.state;
DparserRealSource13.js120 walker.options.goChildren = AstWalkerCallback(true, cur, callback);
129 var walker = TypeScript.getAstWalkerFactory().getWalker(pre, post); variable
130 walker.walk(script, null);
159 walker.options.goChildren = AstWalkerCallback(true, cur, callback);
166 var walker = TypeScript.getAstWalkerFactory().getWalker(pre, post);
167 walker.walk(script, null);
DparserRealSource6.symbols221 export function preFindMemberScope(ast: AST, parent: AST, walker: IAstWalker) {
227 >walker : Symbol(walker, Decl(parserRealSource6.ts, 78, 61))
230 var memScope: MemberScopeContext = walker.state;
233 >walker : Symbol(walker, Decl(parserRealSource6.ts, 78, 61))
371 export function preFindEnclosingScope(ast: AST, parent: AST, walker: IAstWalker) {
377 >walker : Symbol(walker, Decl(parserRealSource6.ts, 112, 64))
380 var context: EnclosingScopeContext = walker.state;
383 >walker : Symbol(walker, Decl(parserRealSource6.ts, 112, 64))
614 walker.options.goChildren = true;
615 >walker : Symbol(walker, Decl(parserRealSource6.ts, 112, 64))
[all …]
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource12.ts25 (ast: AST, parent: AST, walker: IAstWalker): AST;
29 (preAst: AST, parent: AST, walker: IAstWalker): void;
221 export function walkNone(preAst: ASTList, parent: AST, walker: IAstWalker): void {
225 export function walkListChildren(preAst: ASTList, parent: AST, walker: IAstWalker): void {
227 if (walker.options.reverseSiblings) {
229 if (walker.options.goNextSibling) {
230 preAst.members[i] = walker.walk(preAst.members[i], preAst);
236 if (walker.options.goNextSibling) {
237 preAst.members[i] = walker.walk(preAst.members[i], preAst);
243 …export function walkUnaryExpressionChildren(preAst: UnaryExpression, parent: AST, walker: IAstWalk…
[all …]
DparserRealSource5.ts52 export function prePrintAST(ast: AST, parent: AST, walker: IAstWalker) {
53 var pc: PrintContext = <PrintContext>walker.state;
61 export function postPrintAST(ast: AST, parent: AST, walker: IAstWalker) {
62 var pc: PrintContext = <PrintContext>walker.state;
DparserRealSource6.ts79 export function preFindMemberScope(ast: AST, parent: AST, walker: IAstWalker) {
80 var memScope: MemberScopeContext = walker.state;
113 export function preFindEnclosingScope(ast: AST, parent: AST, walker: IAstWalker) {
114 var context: EnclosingScopeContext = walker.state;
199 walker.options.goChildren = true;
202 walker.options.goChildren = false;
DparserRealSource14.ts478 var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) {
518 walker.options.goChildren = (minChar <= pos && pos <= limChar);
535 …var pre = (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker): TypeScript…
544 walker.options.goChildren = false;
558 …export function walkAST(ast: TypeScript.AST, callback: (path: AstPath, walker: TypeScript.IAstWalk…
559 … var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) {
560 var path: TypeScript.AstPath = walker.state;
562 callback(path, walker);
565 … var post = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) {
566 var path: TypeScript.AstPath = walker.state;
/third_party/node/deps/npm/node_modules/semver/node_modules/lru-cache/
Dindex.js104 for (let walker = this[LRU_LIST].tail; walker !== null;) {
105 const prev = walker.prev
106 forEachStep(this, fn, walker, thisp)
107 walker = prev
113 for (let walker = this[LRU_LIST].head; walker !== null;) {
114 const next = walker.next
115 forEachStep(this, fn, walker, thisp)
116 walker = next
289 for (let walker = self[LRU_LIST].tail;
290 self[LENGTH] > self[MAX] && walker !== null;) {
[all …]
/third_party/node/deps/acorn/acorn-walk/
DCHANGELOG.md75 The walker now walks `TemplateElement` nodes.
95 Make sure the walker and bin files are rebuilt on release (the previous release didn't get the up-t…
101 Fix crash in walker when walking a binding-less catch node.
107 In the walker, go back to allowing the `baseVisitor` argument to be null to default to the default …
119 Fix a bug in the walker that caused a crash when walking an object pattern spread.
125 Fix regression in walker causing property values in object patterns to be walked as expressions.
131 Support object spread in the AST walker.
149 New walker functions `full` and `fullAncestor`.
161 The walker now allows defining handlers for `CatchClause` nodes.
167 Fix bug where the walker walked an exported `let` statement as an expression.
DREADME.md1 # Acorn AST walker
3 An abstract syntax tree walker for the
38 such a walker.
46 is a walker algorithm, and `state` is a start state. The default
47 walker will simply visit all statements and expressions and not
78 walk, where the walker functions are responsible for continuing the
81 to walker functions. Such functions are called with `(node, state, c)`
84 `base` argument provides the fallback walker functions for node types
88 **make**`(functions, base)` builds a new walker object by using the
89 walker functions in `functions` and filling in the missing ones by
[all …]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DLigatureTree.java145 public void walk(TreeWalker walker) in walk() argument
148 walker.down(target); in walk()
154 subnodes[i].walk(walker); in walk()
159 walker.ligature(ligature); in walk()
162 walker.up(); in walk()
236 public void walk(TreeWalker walker) in walk() argument
238 root.walk(walker); in walk()
239 walker.done(); in walk()
/third_party/gstreamer/gstreamer/tests/check/elements/
Dselector.c715 GList *walker; in GST_START_TEST() local
724 for (walker = output_pads; walker; walker = g_list_next (walker)) { in GST_START_TEST()
728 pad = gst_pad_get_peer ((GstPad *) walker->data); in GST_START_TEST()
750 GList *walker; in GST_START_TEST() local
764 for (walker = output_pads; walker; walker = g_list_next (walker)) { in GST_START_TEST()
768 pad = gst_pad_get_peer ((GstPad *) walker->data); in GST_START_TEST()
790 GList *walker; in GST_START_TEST() local
800 for (walker = output_pads; walker; walker = g_list_next (walker)) { in GST_START_TEST()
805 pad = gst_pad_get_peer ((GstPad *) walker->data); in GST_START_TEST()
812 templ = gst_pad_get_pad_template ((GstPad *) walker->data); in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datoms.c360 GSList *walker; in atom_elst_clear() local
363 walker = elst->entries; in atom_elst_clear()
364 while (walker) { in atom_elst_clear()
365 g_free ((EditListEntry *) walker->data); in atom_elst_clear()
366 walker = g_slist_next (walker); in atom_elst_clear()
700 GList *walker; in atom_stsd_remove_entries() local
702 walker = stsd->entries; in atom_stsd_remove_entries()
703 while (walker) { in atom_stsd_remove_entries()
704 GList *aux = walker; in atom_stsd_remove_entries()
707 walker = g_list_next (walker); in atom_stsd_remove_entries()
[all …]
/third_party/typescript/src/testRunner/unittests/services/extract/
DsymbolWalker.ts25 const walker = checker.getSymbolWalker(symbol => { constant
39 walker.walkSymbol(symbol);

1234