public ScriptGrammarAccess.AbstractUnitElements getAbstractUnitAccess() { return gaScript.getAbstractUnitAccess(); }
public ScriptGrammarAccess.COMMON_UNIT_SYMBOLSElements getCOMMON_UNIT_SYMBOLSAccess() { return gaScript.getCOMMON_UNIT_SYMBOLSAccess(); }
public ScriptGrammarAccess.IDUnitElements getIDUnitAccess() { return gaScript.getIDUnitAccess(); }
private static void init(ImmutableMap.Builder<AbstractElement, String> builder, ScriptGrammarAccess grammarAccess) { builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); builder.put(grammarAccess.getAbstractUnitAccess().getAlternatives(), "rule__AbstractUnit__Alternatives"); builder.put(grammarAccess.getCOMMON_UNIT_SYMBOLSAccess().getAlternatives(), "rule__COMMON_UNIT_SYMBOLS__Alternatives"); builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives");
@Inject protected void init(IGrammarAccess access) { grammarAccess = (ScriptGrammarAccess) access; match_Script_SemicolonKeyword_1_1_q = new TokenAlias(false, true, grammarAccess.getScriptAccess().getSemicolonKeyword_1_1()); match_XBlockExpression_SemicolonKeyword_2_1_q = new TokenAlias(false, true, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1()); match_XExpressionInClosure_SemicolonKeyword_1_1_q = new TokenAlias(false, true, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1()); match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()), new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2())); match_XImportDeclaration_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); match_XParenthesizedExpression_LeftParenthesisKeyword_0_a = new TokenAlias(true, true, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); match_XParenthesizedExpression_LeftParenthesisKeyword_0_p = new TokenAlias(true, false, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); }
public ScriptGrammarAccess.StringUnitElements getStringUnitAccess() { return gaScript.getStringUnitAccess(); }
public ScriptGrammarAccess.QuantityLiteralElements getQuantityLiteralAccess() { return gaScript.getQuantityLiteralAccess(); }
public ScriptGrammarAccess.SpecificUnitElements getSpecificUnitAccess() { return gaScript.getSpecificUnitAccess(); }
public ScriptGrammarAccess.XLiteralElements getXLiteralAccess() { return gaScript.getXLiteralAccess(); }
grammarAccess.getScriptAccess().getScriptAction_0(), current); newCompositeNode(grammarAccess.getScriptAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0_0()); current = createModelElementForParent(grammarAccess.getScriptRule()); if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getScriptAccess().getSemicolonKeyword_1_1());
if ( state.backtracking==0 ) { newLeafNode(lv_value_0_0, grammarAccess.getStringUnitAccess().getValueSTRINGTerminalRuleCall_0()); current = createModelElement(grammarAccess.getStringUnitRule());
if ( state.backtracking==0 ) { newLeafNode(lv_value_0_0, grammarAccess.getIDUnitAccess().getValueIDTerminalRuleCall_0()); current = createModelElement(grammarAccess.getIDUnitRule());
grammarAccess.getQuantityLiteralAccess().getQuantityLiteralAction_0(), current); newCompositeNode(grammarAccess.getQuantityLiteralAccess().getValueNumberParserRuleCall_1_0()); current = createModelElementForParent(grammarAccess.getQuantityLiteralRule()); if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getQuantityLiteralAccess().getVerticalLineKeyword_2()); newCompositeNode(grammarAccess.getQuantityLiteralAccess().getUnitAbstractUnitParserRuleCall_3_0()); current = createModelElementForParent(grammarAccess.getQuantityLiteralRule());
newCompositeNode(grammarAccess.getSpecificUnitAccess().getValueCOMMON_UNIT_SYMBOLSParserRuleCall_0()); current = createModelElementForParent(grammarAccess.getSpecificUnitRule());
public ScriptGrammarAccess.ScriptElements getScriptAccess() { return gaScript.getScriptAccess(); }
public ParserRule getArrayBracketsRule() { return getArrayBracketsAccess().getRule(); }
public ParserRule getFeatureCallIDRule() { return getFeatureCallIDAccess().getRule(); }
public ParserRule getStringUnitRule() { return getStringUnitAccess().getRule(); }
public ParserRule getQuantityLiteralRule() { return getQuantityLiteralAccess().getRule(); }
public ParserRule getSpecificUnitRule() { return getSpecificUnitAccess().getRule(); }