Home
last modified time | relevance | path

Searched refs:isStatement (Results 1 – 13 of 13) sorted by relevance

/plugin/asciidocjs/node_modules/esutils/lib/
Dast.js64 function isStatement(node) { function
91 return isStatement(node) || node != null && node.type === 'FunctionDeclaration';
136 isStatement: isStatement, property
/plugin/asciidocjs/node_modules/acorn/src/loose/
Dstatement.js251 lp.parseClass = function(isStatement) { argument
254 if (isStatement == null) isStatement = this.tok.type === tt.name
256 else if (isStatement) node.id = this.dummyIdent()
317 return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression")
320 lp.parseFunction = function(node, isStatement, isAsync) { argument
329 if (isStatement == null) isStatement = this.tok.type === tt.name
331 else if (isStatement) node.id = this.dummyIdent()
336 return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression")
/plugin/asciidocjs/node_modules/acorn/src/
Dstatement.js447 pp.parseFunction = function(node, isStatement, allowExpressionBody, isAsync) { argument
454 if (isStatement == null)
455 isStatement = this.type == tt.name
456 if (isStatement)
467 if (!isStatement && this.type === tt.name)
477 return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression")
489 pp.parseClass = function(node, isStatement) { argument
491 if (isStatement == null) isStatement = this.type === tt.name
492 this.parseClassId(node, isStatement)
552 return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression")
[all …]
/plugin/asciidocjs/node_modules/with/node_modules/acorn/src/
Dstatement.js428 pp.parseFunction = function(node, isStatement, allowExpressionBody) { argument
434 if (isStatement || this.type === tt.name)
439 return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression")
450 pp.parseClass = function(node, isStatement) { argument
452 this.parseClassId(node, isStatement)
503 return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression")
511 pp.parseClassId = function(node, isStatement) { argument
512 node.id = this.type === tt.name ? this.parseIdent() : isStatement ? this.unexpected() : null
/plugin/asciidocjs/node_modules/with/node_modules/acorn/src/loose/
Dstatement.js246 lp.parseClass = function(isStatement) { argument
250 else if (isStatement) node.id = this.dummyIdent()
303 return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression")
306 lp.parseFunction = function(node, isStatement) { argument
312 else if (isStatement) node.id = this.dummyIdent()
315 return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression")
/plugin/asciidocjs/node_modules/babel-types/lib/
Dconverters.js224 if (t.isStatement(node)) {
290 if (!t.isStatement(node)) {
/plugin/asciidocjs/node_modules/acorn/dist/
Dacorn.es.js1103 pp$1.parseFunction = function(node, isStatement, allowExpressionBody, isAsync) { argument
1110 if (isStatement == null)
1111 isStatement = this.type == tt.name
1112 if (isStatement)
1123 if (!isStatement && this.type === tt.name)
1133 return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression")
1145 pp$1.parseClass = function(node, isStatement) { argument
1149 if (isStatement == null) isStatement = this.type === tt.name
1150 this.parseClassId(node, isStatement)
1210 return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression")
[all …]
Dacorn.js1109 pp$1.parseFunction = function(node, isStatement, allowExpressionBody, isAsync) { argument
1116 if (isStatement == null)
1117 isStatement = this.type == tt.name
1118 if (isStatement)
1129 if (!isStatement && this.type === tt.name)
1139 return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression")
1151 pp$1.parseClass = function(node, isStatement) { argument
1155 if (isStatement == null) isStatement = this.type === tt.name
1156 this.parseClassId(node, isStatement)
1216 return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression")
[all …]
/plugin/asciidocjs/node_modules/with/node_modules/acorn/dist/
Dacorn.es.js1050 pp$1.parseFunction = function(node, isStatement, allowExpressionBody) { argument
1056 if (isStatement || this.type === tt.name)
1061 return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression")
1072 pp$1.parseClass = function(node, isStatement) { argument
1076 this.parseClassId(node, isStatement)
1127 return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression")
1135 pp$1.parseClassId = function(node, isStatement) { argument
1136 node.id = this.type === tt.name ? this.parseIdent() : isStatement ? this.unexpected() : null
Dacorn.js1056 pp$1.parseFunction = function(node, isStatement, allowExpressionBody) { argument
1062 if (isStatement || this.type === tt.name)
1067 return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression")
1078 pp$1.parseClass = function(node, isStatement) { argument
1082 this.parseClassId(node, isStatement)
1133 return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression")
1141 pp$1.parseClassId = function(node, isStatement) { argument
1142 node.id = this.type === tt.name ? this.parseIdent() : isStatement ? this.unexpected() : null
/plugin/asciidocjs/node_modules/esutils/
DREADME.md14 #### ast.isStatement(node)
/plugin/asciidocjs/node_modules/babylon/lib/
Dindex.js2362 pp$1.parseFunction = function (node, isStatement, allowExpressionBody, isAsync, optionalId) { argument
2377 if (isStatement && !optionalId && !this.match(types.name) && !this.match(types._yield)) {
2390 return this.finishNode(node, isStatement ? "FunctionDeclaration" : "FunctionExpression");
2401 pp$1.parseClass = function (node, isStatement, optionalId) { argument
2404 this.parseClassId(node, isStatement, optionalId);
2407 return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression");
2587 pp$1.parseClassId = function (node, isStatement, optionalId) { argument
2591 if (optionalId || !isStatement) {
6203 return function (node, isStatement) { argument
6204 inner.call(this, node, isStatement);
/plugin/asciidocjs/node_modules/@types/babel-types/
Dindex.d.ts2217 export function isStatement(node: object | null | undefined, opts?: object): node is Statement;