@Override protected void emitUnassignedTokens( EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { if (transition.getAmbiguousSyntaxes().isEmpty()) return; List<INode> transitionNodes = collectNodes(fromNode, toNode); for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); if (match_XBlockExpression_SemicolonKeyword_2_1_q.equals(syntax)) emit_XBlockExpression_SemicolonKeyword_2_1_q( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_XExpressionInClosure_SemicolonKeyword_1_1_q.equals(syntax)) emit_XExpressionInClosure_SemicolonKeyword_1_1_q( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q .equals(syntax)) emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_XImportDeclaration_SemicolonKeyword_2_q.equals(syntax)) emit_XImportDeclaration_SemicolonKeyword_2_q( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_XParenthesizedExpression_LeftParenthesisKeyword_0_a.equals(syntax)) emit_XParenthesizedExpression_LeftParenthesisKeyword_0_a( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_XParenthesizedExpression_LeftParenthesisKeyword_0_p.equals(syntax)) emit_XParenthesizedExpression_LeftParenthesisKeyword_0_p( semanticObject, getLastNavigableState(), syntaxNodes); else acceptNodes(getLastNavigableState(), syntaxNodes); } }
@Override protected void emitUnassignedTokens( EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { if (transition.getAmbiguousSyntaxes().isEmpty()) return; List<INode> transitionNodes = collectNodes(fromNode, toNode); for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); if (match_Expression_LeftSquareBracketKeyword_1_0_a.equals(syntax)) emit_Expression_LeftSquareBracketKeyword_1_0_a( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_Expression_LeftSquareBracketKeyword_2_0_q.equals(syntax)) emit_Expression_LeftSquareBracketKeyword_2_0_q( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_Expression_RightSquareBracketKeyword_2_2_q.equals(syntax)) emit_Expression_RightSquareBracketKeyword_2_2_q( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_Expression_RightSquareBracketKeyword_3_0_a.equals(syntax)) emit_Expression_RightSquareBracketKeyword_3_0_a( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_SimpleTerm_AsteriskKeyword_0_1_q.equals(syntax)) emit_SimpleTerm_AsteriskKeyword_0_1_q(semanticObject, getLastNavigableState(), syntaxNodes); else if (match_SimpleTerm_ExclamationMarkKeyword_0_3_q.equals(syntax)) emit_SimpleTerm_ExclamationMarkKeyword_0_3_q( semanticObject, getLastNavigableState(), syntaxNodes); else acceptNodes(getLastNavigableState(), syntaxNodes); } }
@Override protected void emitUnassignedTokens( EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { if (transition.getAmbiguousSyntaxes().isEmpty()) return; List<INode> transitionNodes = collectNodes(fromNode, toNode); for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); acceptNodes(getLastNavigableState(), syntaxNodes); } }
@Override protected void emitUnassignedTokens( EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { if (transition.getAmbiguousSyntaxes().isEmpty()) return; List<INode> transitionNodes = collectNodes(fromNode, toNode); for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); if (match_RuleSetBody_SemicolonKeyword_2_2_q.equals(syntax)) emit_RuleSetBody_SemicolonKeyword_2_2_q( semanticObject, getLastNavigableState(), syntaxNodes); else acceptNodes(getLastNavigableState(), syntaxNodes); } }
@Override protected void emitUnassignedTokens( EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { if (transition.getAmbiguousSyntaxes().isEmpty()) return; List<INode> transitionNodes = collectNodes(fromNode, toNode); for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); if (match_Input_NEWLINETerminalRuleCall_1_a.equals(syntax)) emit_Input_NEWLINETerminalRuleCall_1_a( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_Line_ASSIGNTerminalRuleCall_1_p.equals(syntax)) emit_Line_ASSIGNTerminalRuleCall_1_p(semanticObject, getLastNavigableState(), syntaxNodes); else if (match_Section_NEWLINETerminalRuleCall_3_0_p.equals(syntax)) emit_Section_NEWLINETerminalRuleCall_3_0_p( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_Section_NEWLINETerminalRuleCall_4_p.equals(syntax)) emit_Section_NEWLINETerminalRuleCall_4_p( semanticObject, getLastNavigableState(), syntaxNodes); else if (match_Section_OPENTerminalRuleCall_0_p.equals(syntax)) emit_Section_OPENTerminalRuleCall_0_p(semanticObject, getLastNavigableState(), syntaxNodes); else acceptNodes(getLastNavigableState(), syntaxNodes); } }