| /plugin/asciidocjs/node_modules/pug-walk/ |
| D | index.js | 4 function walkAST(ast, before, after, options) { argument 16 ast = replacement; 20 parents[0].type === 'RawInclude' && ast.type === 'IncludeFilter'); 23 var result = before(ast, replace); 25 return ast; 26 } else if (Array.isArray(ast)) { 28 return walkAndMergeNodes(ast); 32 parents.unshift(ast); 34 switch (ast.type) { 37 ast.nodes = walkAndMergeNodes(ast.nodes); [all …]
|
| D | README.md | 21 ### `walk(ast, before, after, options)` 23 Traverse and optionally transform a [Pug AST](https://github.com/pugjs/pug-ast-spec). 25 `ast` is not cloned, so any changes done to it will be done directly on the AST provided. 36 * `parents` (array<Node>): Nodes that are ancestors to the current `ast`. This option is used mainl… 48 var ast = parse(lex(source)); 50 ast = walk(ast, function before(node, replace) { 62 assert.deepEqual(parse(lex(dest)), ast); 70 var ast = parse(lex(source)); 72 ast = walk(ast, function before(node, replace) { 87 assert.deepEqual(parse(lex(dest)), ast); [all …]
|
| /plugin/asciidocjs/node_modules/nunjucks/src/ |
| D | transformer.js | 24 function walk(ast, func, depthFirst) { argument 25 if (!(ast instanceof nodes.Node)) { 26 return ast; 29 var astT = func(ast); 30 if (astT && astT !== ast) { 34 if (ast instanceof nodes.NodeList) { 35 var children = mapCOW(ast.children, function (node) { 38 if (children !== ast.children) { 39 ast = new nodes[ast.typename](ast.lineno, ast.colno, children); 41 } else if (ast instanceof nodes.CallExtension) { [all …]
|
| /plugin/asciidocjs/node_modules/pug-linker/ |
| D | index.js | 11 function link(ast) { argument 12 assert(ast.type === 'Block', 'The top level element should always be a block'); 14 if (ast.nodes.length) { 15 var hasExtends = ast.nodes[0].type === 'Extends'; 16 checkExtendPosition(ast, hasExtends); 18 extendsNode = ast.nodes.shift(); 21 ast = applyIncludes(ast); 22 ast.declaredBlocks = findDeclaredBlocks(ast); 26 ast.nodes.forEach(function addNode(node) { 37 var parent = link(extendsNode.file.ast); [all …]
|
| /plugin/findologicxmlexport/vendor/hoa/math/Test/Unit/ |
| D | Issue.php | 60 $ast = $compiler->parse('1 / 0') 62 ->exception(function () use ($visitor, $ast) { 63 $visitor->visit($ast); 74 $ast = $compiler->parse('1 / (1 / 0)') 76 ->exception(function () use ($visitor, $ast) { 77 $visitor->visit($ast); 89 ->when($ast = $compiler->parse('C')) 91 ->object($ast) 93 ->string($ast->getId()) 95 ->string($ast->getValueToken()) [all …]
|
| /plugin/asciidocjs/node_modules/pug/lib/ |
| D | index.js | 86 var ast = load.string(str, { 154 ast = applyPlugins(ast, options, plugins, 'postLoad'); 155 ast = applyPlugins(ast, options, plugins, 'preFilters'); 166 ast = filters.handleFilters(ast, filtersSet, options.filterOptions, options.filterAliases); 168 ast = applyPlugins(ast, options, plugins, 'postFilters'); 169 ast = applyPlugins(ast, options, plugins, 'preLink'); 170 ast = link(ast); 171 ast = applyPlugins(ast, options, plugins, 'postLink'); 174 ast = applyPlugins(ast, options, plugins, 'preCodeGen'); 175 var js = generateCode(ast, {
|
| /plugin/asciidocjs/node_modules/acorn-globals/ |
| D | index.js | 32 var ast; 35 ast = reallyParse(source); 37 ast = source; 40 if (!(ast && typeof ast === 'object' && ast.type === 'Program')) { 80 ast.locals = ast.locals || {}; 81 ast.locals[node.local.name] = true; 83 walk.ancestor(ast, { 141 walk.ancestor(ast, {
|
| /plugin/asciidocjs/node_modules/pug-load/ |
| D | index.js | 9 function load(ast, options) { argument 12 ast = JSON.parse(JSON.stringify(ast)); 13 return walk(ast, function (node) { 31 file.ast = load.string(str, assign({}, options, { 45 var ast = options.parse(tokens, options); 46 return load(ast, options);
|
| /plugin/asciidocjs/node_modules/handlebars/lib/handlebars/compiler/ |
| D | base.js | 24 let ast = parser.parse(input); 26 return ast; 30 let ast = parseWithoutProcessing(input, options); 33 return strip.accept(ast);
|
| /plugin/asciidocjs/node_modules/handlebars/dist/amd/handlebars/compiler/ |
| D | base.js | 33 var ast = _parser2['default'].parse(input); 35 return ast; 39 var ast = parseWithoutProcessing(input, options); 42 return strip.accept(ast);
|
| /plugin/combo/vendor/carica/phpcss/src/ |
| H A D | PhpCss.php | 24 $ast = self::getAst($cssSelector); 26 $ast->accept($visitor); 39 $ast = self::getAst($cssSelector); 41 $ast->accept($visitor);
|
| /plugin/asciidocjs/node_modules/handlebars/dist/cjs/handlebars/compiler/ |
| D | base.js | 46 var ast = _parser2['default'].parse(input); 48 return ast; 52 var ast = parseWithoutProcessing(input, options); 55 return strip.accept(ast);
|
| /plugin/asciidocjs/node_modules/babylon/ |
| D | README.md | 76 [Babel AST format]: https://github.com/babel/babylon/blob/master/ast/spec.md 83 [StringLiteral]: https://github.com/babel/babylon/blob/master/ast/spec.md#stringliteral 84 [NumericLiteral]: https://github.com/babel/babylon/blob/master/ast/spec.md#numericliteral 85 [BooleanLiteral]: https://github.com/babel/babylon/blob/master/ast/spec.md#booleanliteral 86 [NullLiteral]: https://github.com/babel/babylon/blob/master/ast/spec.md#nullliteral 87 [RegExpLiteral]: https://github.com/babel/babylon/blob/master/ast/spec.md#regexpliteral 88 [ObjectProperty]: https://github.com/babel/babylon/blob/master/ast/spec.md#objectproperty 89 [ObjectMethod]: https://github.com/babel/babylon/blob/master/ast/spec.md#objectmethod 90 [ClassMethod]: https://github.com/babel/babylon/blob/master/ast/spec.md#classmethod 91 [Program]: https://github.com/babel/babylon/blob/master/ast/spec.md#programs [all …]
|
| /plugin/ifauthex/_test/ |
| D | general.test.php | 139 $ast = null; 141 $this->assertNotNull($ast = auth_expr_parse($expr)); 142 $this->assertNotNull($rebuiltExpr = $ast->getRepresentation()); 148 $ast = null; 150 $this->assertNotNull($ast = auth_expr_parse($expr)); 151 $this->assertNotNull($rebuiltExpr = $ast->getRepresentation()); 202 $ast = null; 204 $this->assertNotNull($ast = auth_expr_parse($expr)); 205 $ast->ensureWellFormed();
|
| /plugin/findologicxmlexport/vendor/hoa/compiler/Test/Integration/ |
| D | Documentation.php | 113 ->when($ast = $compiler->parse('{"foo": true, "bar": [null, 42]}')) 115 ->object($ast) 118 ->when($result = $dump->visit($ast))
|
| /plugin/asciidocjs/node_modules/babylon/bin/ |
| D | babylon.js | 14 var ast = babylon.parse(file); variable 16 console.log(JSON.stringify(ast, null, " "));
|
| /plugin/findologicxmlexport/vendor/jms/serializer/src/Type/ |
| D | Parser.php | 28 $ast = $this->parser->parse($type, 'type'); 30 return $this->visitor->visit($ast);
|
| /plugin/asciidocjs/node_modules/uglify-js/lib/ |
| D | propmangle.js | 125 function reserve_quoted_keys(ast, reserved) { argument 126 ast.walk(new TreeWalker(function(node) { 158 function mangle_properties(ast, options) { argument 201 ast.walk(new TreeWalker(function(node) { 235 ast.walk(new TreeWalker(function(node) {
|
| /plugin/asciidocjs/node_modules/with/ |
| D | index.js | 76 var ast = reallyParse(src) 81 if ((ref = ast.body).length !== 1 89 walk.recursive(ast, null, {
|
| /plugin/asciidocjs/node_modules/pug-filters/lib/ |
| D | handle-filters.js | 10 function handleFilters(ast, filters, options, filterAliases) { argument 12 walk(ast, function (node) { 78 return ast;
|
| /plugin/findologicxmlexport/vendor/hoa/math/Bin/ |
| D | Calc.php | 95 $ast = $compiler->parse($expression); 96 echo $expression . ' = ' . $visitor->visit($ast), "\n";
|
| /plugin/asciidocjs/node_modules/uglify-js/bin/ |
| D | uglifyjs | 241 if (/^ast|spidermonkey$/.test(output)) { 243 options.output.ast = true; 279 if (/^ast|spidermonkey$/.test(name)) fatal("invalid file name specified"); 413 var toplevel = result.ast; 424 print(JSON.stringify(result.ast, function(key, value) { 450 print(JSON.stringify(result.ast.to_mozilla_ast(), null, 2)); 453 if (result.ast) { 456 if (!/^ast|code$/.test(name)) opts[name] = options.output[name]; 458 … code = UglifyJS.AST_Node.from_mozilla_ast(result.ast.to_mozilla_ast()).print_to_string(opts);
|
| /plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/lib/ |
| D | propmangle.js | 71 function mangle_properties(ast, options) { argument 110 ast.walk(new TreeWalker(function(node){ 127 return ast.transform(new TreeTransformer(function(node){
|
| /plugin/asciidocjs/node_modules/pug-code-gen/ |
| D | README.md | 19 ### `generateCode(ast, options)` 23 `ast` is a fully expanded AST for Pug, with all inclusion, extends, and filters resolved. 58 ### `new generateCode.CodeGenerator(ast, options)`
|
| /plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/bin/ |
| D | extract-props.js | 31 var ast = U2.parse(code); 33 ast.walk(new U2.TreeWalker(function(node){
|