org.sonar.javascript.parser
Class EcmaScriptGrammarImpl

java.lang.Object
  extended by com.sonar.sslr.api.Grammar
      extended by org.sonar.sslr.parser.LexerlessGrammar
          extended by org.sonar.javascript.api.EcmaScriptGrammar
              extended by org.sonar.javascript.parser.EcmaScriptGrammarImpl

public class EcmaScriptGrammarImpl
extends EcmaScriptGrammar

Grammar for ECMAScript. Based on ECMA-262 edition 5.1 (June 2011).


Field Summary
 
Fields inherited from class org.sonar.javascript.api.EcmaScriptGrammar
additiveExpression, and, andand, andEqu, arguments, arrayLiteral, assignmentExpression, assignmentExpressionNoIn, assignmentOperator, bang, bitwiseAndExpression, bitwiseAndExpressionNoIn, bitwiseOrExpression, bitwiseOrExpressionNoIn, bitwiseXorExpression, bitwiseXorExpressionNoIn, block, booleanLiteral, breakKeyword, breakStatement, callExpression, caseBlock, caseClause, caseClauses, caseKeyword, catch_, catchKeyword, classKeyword, colon, comma, condition, conditionalExpression, conditionalExpressionNoIn, constKeyword, continueKeyword, continueStatement, debuggerKeyword, debuggerStatement, dec, defaultClause, defaultKeyword, deleteKeyword, div, divEqu, doKeyword, dot, doWhileStatement, elseClause, elseKeyword, emptyStatement, enumKeyword, eof, eos, eosNoLb, equ, equal, equal2, equalityExpression, equalityExpressionNoIn, exportKeyword, expression, expressionNoIn, expressionStatement, extendsKeyword, falseKeyword, finally_, finallyKeyword, forInStatement, forKeyword, formalParameterList, forStatement, functionBody, functionDeclaration, functionExpression, functionKeyword, ge, gt, identifier, identifierName, ifKeyword, ifStatement, inc, initialiser, initialiserNoIn, inKeyword, instanceofKeyword, iterationStatement, keyword, labelledStatement, lbracket, lcurlybrace, le, leftHandSideExpression, letterOrDigit, literal, logicalAndExpression, logicalAndExpressionNoIn, logicalOrExpression, logicalOrExpressionNoIn, lparenthesis, lt, memberExpression, minus, minusEqu, mod, modEqu, multiplicativeExpression, newExpression, newKeyword, notequal, notequal2, nullKeyword, nullLiteral, numericLiteral, objectLiteral, or, orEqu, oror, plus, plusEqu, postfixExpression, primaryExpression, program, propertyAssignment, propertyName, propertySetParameterList, query, rbracket, rcurlybrace, regularExpressionLiteral, relationalExpression, relationalExpressionNoIn, returnKeyword, returnStatement, rparenthesis, semi, shebang, shiftExpression, sl, slEqu, sourceElement, sourceElements, spacing, sr, sr2, srEqu, srEqu2, starEqu, start, statement, statementList, stringLiteral, superKeyword, switchKeyword, switchStatement, thisKeyword, throwKeyword, throwStatement, tilda, trueKeyword, tryKeyword, tryStatement, typeofKeyword, unaryExpression, variableDeclaration, variableDeclarationList, variableDeclarationListNoIn, variableDeclarationNoIn, variableStatement, varKeyword, voidKeyword, whileKeyword, whileStatement, withKeyword, withStatement, xor, xorEqu
 
Constructor Summary
EcmaScriptGrammarImpl()
           
 
Method Summary
 
Methods inherited from class org.sonar.javascript.api.EcmaScriptGrammar
getRootRule
 
Methods inherited from class com.sonar.sslr.api.Grammar
getAllRuleFields, getRuleFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcmaScriptGrammarImpl

public EcmaScriptGrammarImpl()


Copyright © 2011-2012 Eriks Nukis and SonarSource. All Rights Reserved.