Compare Revisions

Parser API

Revision 36057:

Revision 36057 by jbclements on

Revision 298575:

Revision 298575 by Dherman on

Title:
Parser API
Parser API
Slug:
SpiderMonkey/Parser_API
SpiderMonkey/Parser_API
Tags:
NeedsTechnicalReview, NeedsEditorialReview, SpiderMonkey
"SpiderMonkey","NeedsEditorialReview","NeedsTechnicalReview"
Content:

Revision 36057
Revision 298575
n47    <h4 id="Reflect.parse(src[,_options])">n47    <h4 id="Reflect.parse(src.5B.2C_options.5D)">
n169    elements: [ Statement ];n169    body: [ Statement ];
n196      If the&nbsp;<span style="font-family: monospace;">ge</span>n196      If the <code>generator</code> flag is <code>true</code>, th
><code>nerator</code> flag is <code>true</code>, the function is a>e function is a <a href="/en/JavaScript/Guide/Iterators_and_Gener
> <a href="/en/JavaScript/Guide/Iterators_and_Generators" title="h>ators" title="https://developer.mozilla.org/en/Core_JavaScript_1.
>ttps://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Iterato>5_Guide/Iterators_and_Generators">generator function</a>, i.e., c
>rs_and_Generators">generator function</a>, i.e., contains a <code>ontains a <code>yield</code> expression in its body (other than i
>>yield</code> expression in its body (other than in a nested func>n a nested function).
>tion). 
n1050    <h5 id="program(body[,_loc])">n1050    <h5 id="program(body.5B.2C_loc.5D)">
n1066    <h5 id="emptyStatement([loc])">n1066    <h5 id="emptyStatement(.5Bloc.5D)">
n1078    <h5 id="blockStatement(body[,_loc])">n1078    <h5 id="blockStatement(body.5B.2C_loc.5D)">
n1091    <h5 id="expressionStatement(expr[,_loc])">n1091    <h5 id="expressionStatement(expr.5B.2C_loc.5D)">
n1104    <h5 id="labeledStatement(label,_body[,_loc])">n1104    <h5 id="labeledStatement(label.2C_body.5B.2C_loc.5D)">
n1118    <h5 id="ifStatement(test,_cons,_alt[,_loc])">n1118    <h5 id="ifStatement(test.2C_cons.2C_alt.5B.2C_loc.5D)">
n1133    <h5 id="switchStatement(disc,_cases,_isLexical[,_loc])">n1133    <h5 id="switchStatement(disc.2C_cases.2C_isLexical.5B.2C_loc.
 >5D)">
n1148    <h5 id="whileStatement(test,_body[,_loc])">n1148    <h5 id="whileStatement(test.2C_body.5B.2C_loc.5D)">
n1162    <h5 id="doWhileStatement(body,_test[,_loc])">n1162    <h5 id="doWhileStatement(body.2C_test.5B.2C_loc.5D)">
n1176    <h5 id="forStatement(init,_test,_update,_body[,_loc])">n1176    <h5 id="forStatement(init.2C_test.2C_update.2C_body.5B.2C_loc
 >.5D)">
n1192    <h5 id="forInStatement(left,_right,_body,_isForEach[,_loc])">n1192    <h5 id="forInStatement(left.2C_right.2C_body.2C_isForEach.5B.
 >2C_loc.5D)">
n1208    <h5 id="breakStatement(label[,_loc])">n1208    <h5 id="breakStatement(label.5B.2C_loc.5D)">
n1221    <h5 id="continueStatement(label[,_loc])">n1221    <h5 id="continueStatement(label.5B.2C_loc.5D)">
n1234    <h5 id="withStatement(obj,_body[,_loc])">n1234    <h5 id="withStatement(obj.2C_body.5B.2C_loc.5D)">
n1248    <h5 id="returnStatement(arg[,_loc])">n1248    <h5 id="returnStatement(arg.5B.2C_loc.5D)">
n1261    <h5 id="tryStatement(body,_handlers,_fin[,_loc])">n1261    <h5 id="tryStatement(body.2C_handlers.2C_fin.5B.2C_loc.5D)">
n1276    <h5 id="throwStatement(arg[,_loc])">n1276    <h5 id="throwStatement(arg.5B.2C_loc.5D)">
n1289    <h5 id="debuggerStatement([loc])">n1289    <h5 id="debuggerStatement(.5Bloc.5D)">
n1301    <h5 id="letStatement(head,_body[,_loc])">n1301    <h5 id="letStatement(head.2C_body.5B.2C_loc.5D)">
n1318    <h5 id="functionDeclaration(name,_args,_body,_isGenerator,_isn1318    <h5 id="functionDeclaration(name.2C_args.2C_body.2C_isGenerat
>Expression[,_loc])">>or.2C_isExpression.5B.2C_loc.5D)">
n1335    <h5 id="variableDeclaration(kind,_dtors[,_loc])">n1335    <h5 id="variableDeclaration(kind.2C_dtors.5B.2C_loc.5D)">
n1349    <h5 id="variableDeclarator(patt,_init[,_loc])">n1349    <h5 id="variableDeclarator(patt.2C_init.5B.2C_loc.5D)">
n1366    <h5 id="sequenceExpression(exprs[,_loc])">n1366    <h5 id="sequenceExpression(exprs.5B.2C_loc.5D)">
n1379    <h5 id="conditionalExpression(test,_cons,_alt[,_loc])">n1379    <h5 id="conditionalExpression(test.2C_cons.2C_alt.5B.2C_loc.5
 >D)">
n1394    <h5 id="unaryExpression(op,_arg,_isPrefix[,_loc])">n1394    <h5 id="unaryExpression(op.2C_arg.2C_isPrefix.5B.2C_loc.5D)">
n1409    <h5 id="binaryExpression(op,_left,_right[,_loc])">n1409    <h5 id="binaryExpression(op.2C_left.2C_right.5B.2C_loc.5D)">
n1424    <h5 id="assignmentExpression(op,_left,_right[,_loc])">n1424    <h5 id="assignmentExpression(op.2C_left.2C_right.5B.2C_loc.5D
 >)">
n1439    <h5 id="logicalExpression(op,_left,_right[,_loc])">n1439    <h5 id="logicalExpression(op.2C_left.2C_right.5B.2C_loc.5D)">
n1454    <h5 id="updateExpression(op,_arg,_isPrefix[,_loc])">n1454    <h5 id="updateExpression(op.2C_arg.2C_isPrefix.5B.2C_loc.5D)"
 >>
n1469    <h5 id="newExpression(callee,_args[,_loc])">n1469    <h5 id="newExpression(callee.2C_args.5B.2C_loc.5D)">
n1483    <h5 id="callExpression(callee,_args[,_loc])">n1483    <h5 id="callExpression(callee.2C_args.5B.2C_loc.5D)">
n1497    <h5 id="memberExpression(obj,_prop,_isComputed[,_loc])">n1497    <h5 id="memberExpression(obj.2C_prop.2C_isComputed.5B.2C_loc.
 >5D)">
n1512    <h5 id="functionExpression(name,_args,_body,_isGenerator,_isEn1512    <h5 id="functionExpression(name.2C_args.2C_body.2C_isGenerato
>xpression[,_loc])">>r.2C_isExpression.5B.2C_loc.5D)">
n1529    <h5 id="arrayExpression(elts[,_loc])">n1529    <h5 id="arrayExpression(elts.5B.2C_loc.5D)">
n1542    <h5 id="objectExpression(props[,_loc])">n1542    <h5 id="objectExpression(props.5B.2C_loc.5D)">
n1555    <h5 id="thisExpression([loc])">n1555    <h5 id="thisExpression(.5Bloc.5D)">
n1567    <h5 id="graphExpression(index,_expr[,_loc])">n1567    <h5 id="graphExpression(index.2C_expr.5B.2C_loc.5D)">
n1581    <h5 id="graphIndexExpression(index[,_loc])">n1581    <h5 id="graphIndexExpression(index.5B.2C_loc.5D)">
n1594    <h5 id="comprehensionExpression(body,_blocks,_filter[,_loc])"n1594    <h5 id="comprehensionExpression(body.2C_blocks.2C_filter.5B.2
>>>C_loc.5D)">
n1609    <h5 id="generatorExpression(body,_blocks,_filter[,_loc])">n1609    <h5 id="generatorExpression(body.2C_blocks.2C_filter.5B.2C_lo
 >c.5D)">
n1624    <h5 id="yieldExpression(arg[,_loc])">n1624    <h5 id="yieldExpression(arg.5B.2C_loc.5D)">
n1637    <h5 id="letExpression(head,_body[,_loc])">n1637    <h5 id="letExpression(head.2C_body.5B.2C_loc.5D)">
n1654    <h5 id="arrayPattern(elts[,_loc])">n1654    <h5 id="arrayPattern(elts.5B.2C_loc.5D)">
n1667    <h5 id="objectPattern(props[,_loc])">n1667    <h5 id="objectPattern(props.5B.2C_loc.5D)">
n1680    <h5 id="propertyPattern(key,_patt[,_loc])">n1680    <h5 id="propertyPattern(key.2C_patt.5B.2C_loc.5D)">
n1697    <h5 id="switchCase(test,_cons[,_loc])">n1697    <h5 id="switchCase(test.2C_cons.5B.2C_loc.5D)">
n1711    <h5 id="catchClause(arg,_guard,_body[,_loc])">n1711    <h5 id="catchClause(arg.2C_guard.2C_body.5B.2C_loc.5D)">
n1726    <h5 id="comprehensionBlock(left,_right,_isForEach[,_loc])">n1726    <h5 id="comprehensionBlock(left.2C_right.2C_isForEach.5B.2C_l
 >oc.5D)">
n1744    <h5 id="identifier(name[,_loc])">n1744    <h5 id="identifier(name.5B.2C_loc.5D)">
n1757    <h5 id="literal(val[,_loc])">n1757    <h5 id="literal(val.5B.2C_loc.5D)">
n1770    <h5 id="property(kind,_key,_val[,_loc])">n1770    <h5 id="property(kind.2C_key.2C_val.5B.2C_loc.5D)">
n1791    <h5 id="xmlDefaultDeclaration(ns[,_loc])">n1791    <h5 id="xmlDefaultDeclaration(ns.5B.2C_loc.5D)">
n1806    <h5 id="xmlAnyName([loc])">n1806    <h5 id="xmlAnyName(.5Bloc.5D)">
n1818    <h5 id="xmlAttributeSelector(expr[,_loc])">n1818    <h5 id="xmlAttributeSelector(expr.5B.2C_loc.5D)">
n1831    <h5 id="xmlFilterExpression(left,_right[,_loc])">n1831    <h5 id="xmlFilterExpression(left.2C_right.5B.2C_loc.5D)">
n1845    <h5 id="xmlQualifiedIdentifier(left,_right,_isComputed[,_loc]n1845    <h5 id="xmlQualifiedIdentifier(left.2C_right.2C_isComputed.5B
>)">>.2C_loc.5D)">
n1860    <h5 id="xmlFunctionQualifiedIdentifier(right,_isComputed[,_lon1860    <h5 id="xmlFunctionQualifiedIdentifier(right.2C_isComputed.5B
>c])">>.2C_loc.5D)">
n1874    <h5 id="xmlElement(contents[,_loc])">n1874    <h5 id="xmlElement(contents.5B.2C_loc.5D)">
n1887    <h5 id="xmlList(contents[,_loc])">n1887    <h5 id="xmlList(contents.5B.2C_loc.5D)">
n1903    <h5 id="xmlEscape(expr[,_loc])">n1903    <h5 id="xmlEscape(expr.5B.2C_loc.5D)">
n1916    <h5 id="xmlText(text[,_loc])">n1916    <h5 id="xmlText(text.5B.2C_loc.5D)">
n1929    <h5 id="xmlStartTag(contents[,_loc])">n1929    <h5 id="xmlStartTag(contents.5B.2C_loc.5D)">
n1942    <h5 id="xmlEndTag(contents[,_loc])">n1942    <h5 id="xmlEndTag(contents.5B.2C_loc.5D)">
n1955    <h5 id="xmlPointTag(contents[,_loc])">n1955    <h5 id="xmlPointTag(contents.5B.2C_loc.5D)">
n1968    <h5 id="xmlName(contents[,_loc])">n1968    <h5 id="xmlName(contents.5B.2C_loc.5D)">
n1981    <h5 id="xmlAttribute(value[,_loc])">n1981    <h5 id="xmlAttribute(value.5B.2C_loc.5D)">
n1994    <h5 id="xmlCdata(contents[,_loc])">n1994    <h5 id="xmlCdata(contents.5B.2C_loc.5D)">
n2007    <h5 id="xmlComment(contents[,_loc])">n2007    <h5 id="xmlComment(contents.5B.2C_loc.5D)">
t2020    <h5 id="xmlProcessingInstruction(target,_contents[,_loc])">t2020    <h5 id="xmlProcessingInstruction(target.2C_contents.5B.2C_loc
 >.5D)">

Back to History