Java 类org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition 实例源码

项目:n4js    文件:TypesSyntacticSequencer.java   
@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_ArrowFunctionTypeExpression_FunctionTypeExpressionOLD_PrimaryTypeExpression_LeftParenthesisKeyword_0_0_1_or___LeftParenthesisKeyword_3_0_q_LeftCurlyBracketKeyword_1_FunctionKeyword_3_LeftParenthesisKeyword_5__.equals(syntax))
            emit_ArrowFunctionTypeExpression_FunctionTypeExpressionOLD_PrimaryTypeExpression_LeftParenthesisKeyword_0_0_1_or___LeftParenthesisKeyword_3_0_q_LeftCurlyBracketKeyword_1_FunctionKeyword_3_LeftParenthesisKeyword_5__(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_CallableCtor_SemicolonKeyword_3_q.equals(syntax))
            emit_CallableCtor_SemicolonKeyword_3_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_q.equals(syntax))
            emit_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_TAnnotation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q.equals(syntax))
            emit_TAnnotation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_TField_SemicolonKeyword_5_q.equals(syntax))
            emit_TField_SemicolonKeyword_5_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_TMethod_SemicolonKeyword_2_q.equals(syntax))
            emit_TMethod_SemicolonKeyword_2_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_TStructMemberList___CommaKeyword_1_1_1_or_SemicolonKeyword_1_1_0__q.equals(syntax))
            emit_TStructMemberList___CommaKeyword_1_1_1_or_SemicolonKeyword_1_1_0__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:n4js    文件:TypeExpressionsSyntacticSequencer.java   
@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_ArrowFunctionTypeExpression_FunctionTypeExpressionOLD_LeftParenthesisKeyword_0_0_1_or___LeftCurlyBracketKeyword_1_FunctionKeyword_3_LeftParenthesisKeyword_5__.equals(syntax))
            emit_ArrowFunctionTypeExpression_FunctionTypeExpressionOLD_LeftParenthesisKeyword_0_0_1_or___LeftCurlyBracketKeyword_1_FunctionKeyword_3_LeftParenthesisKeyword_5__(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_a.equals(syntax))
            emit_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_p.equals(syntax))
            emit_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_TStructMemberList___CommaKeyword_1_1_1_or_SemicolonKeyword_1_1_0__q.equals(syntax))
            emit_TStructMemberList___CommaKeyword_1_1_1_or_SemicolonKeyword_1_1_0__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:n4js    文件:RegularExpressionSyntacticSequencer.java   
@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_Disjunction_VerticalLineKeyword_0_1_1_0_a.equals(syntax))
            emit_Disjunction_VerticalLineKeyword_0_1_1_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Disjunction_VerticalLineKeyword_0_1_1_0_p.equals(syntax))
            emit_Disjunction_VerticalLineKeyword_0_1_1_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Disjunction_VerticalLineKeyword_1_1_0_a.equals(syntax))
            emit_Disjunction_VerticalLineKeyword_1_1_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Disjunction_VerticalLineKeyword_1_1_0_p.equals(syntax))
            emit_Disjunction_VerticalLineKeyword_1_1_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:Sparrow    文件:ModelEditorSyntacticSequencer.java   
@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_Access_AccessKeyword_1_0_or_AccessesKeyword_1_1.equals(syntax))
            emit_Access_AccessKeyword_1_0_or_AccessesKeyword_1_1(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Call_CallKeyword_1_0_or_CallsKeyword_1_1.equals(syntax))
            emit_Call_CallKeyword_1_0_or_CallsKeyword_1_1(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Class___BEGINTerminalRuleCall_5_0_ENDTerminalRuleCall_5_3__q.equals(syntax))
            emit_Class___BEGINTerminalRuleCall_5_0_ENDTerminalRuleCall_5_3__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Method___BEGINTerminalRuleCall_6_0_ENDTerminalRuleCall_6_5__q.equals(syntax))
            emit_Method___BEGINTerminalRuleCall_6_0_ENDTerminalRuleCall_6_5__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:dsl-devkit    文件:AbstractFormatSyntacticSequencer.java   
@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_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q.equals(syntax))
            emit_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else 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);
    }
}
项目:xtext-core    文件:PartialSerializationTestLanguageSyntacticSequencer.java   
@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_Node_RefsKeyword_3_0_q.equals(syntax))
            emit_Node_RefsKeyword_3_0_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Node_SemicolonKeyword_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_3__.equals(syntax))
            emit_Node_SemicolonKeyword_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_3__(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_OptionalValue_Kw1Keyword_1_q.equals(syntax))
            emit_OptionalValue_Kw1Keyword_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_OptionalValue_Kw2Keyword_3_q.equals(syntax))
            emit_OptionalValue_Kw2Keyword_3_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:BeeLangTestLanguageSyntacticSequencer.java   
@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_ClosureExpression_VerticalLineKeyword_2_0_0_q.equals(syntax))
            emit_ClosureExpression_VerticalLineKeyword_2_0_0_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ConstructorCallExpression___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q.equals(syntax))
            emit_ConstructorCallExpression___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Function___LeftParenthesisKeyword_6_0_RightParenthesisKeyword_6_2__q.equals(syntax))
            emit_Function___LeftParenthesisKeyword_6_0_RightParenthesisKeyword_6_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParanthesizedExpression_LeftParenthesisKeyword_0_a.equals(syntax))
            emit_ParanthesizedExpression_LeftParenthesisKeyword_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParanthesizedExpression_LeftParenthesisKeyword_0_p.equals(syntax))
            emit_ParanthesizedExpression_LeftParenthesisKeyword_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ProvidedCapability___LeftCurlyBracketKeyword_2_0_RightCurlyBracketKeyword_2_2__q.equals(syntax))
            emit_ProvidedCapability___LeftCurlyBracketKeyword_2_0_RightCurlyBracketKeyword_2_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:SimpleBeeLangTestLanguageSyntacticSequencer.java   
@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_ClosureExpression_VerticalLineKeyword_2_0_0_q.equals(syntax))
            emit_ClosureExpression_VerticalLineKeyword_2_0_0_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ConstructorCallExpression___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q.equals(syntax))
            emit_ConstructorCallExpression___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Function___LeftParenthesisKeyword_6_0_RightParenthesisKeyword_6_2__q.equals(syntax))
            emit_Function___LeftParenthesisKeyword_6_0_RightParenthesisKeyword_6_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParanthesizedExpression_LeftParenthesisKeyword_0_a.equals(syntax))
            emit_ParanthesizedExpression_LeftParenthesisKeyword_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParanthesizedExpression_LeftParenthesisKeyword_0_p.equals(syntax))
            emit_ParanthesizedExpression_LeftParenthesisKeyword_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ProvidedCapability___LeftCurlyBracketKeyword_2_0_RightCurlyBracketKeyword_2_2__q.equals(syntax))
            emit_ProvidedCapability___LeftCurlyBracketKeyword_2_0_RightCurlyBracketKeyword_2_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:ParametersTestLanguageSyntacticSequencer.java   
@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_ParserRuleParameters_KeywordKeyword_1_10_1_1_1_q.equals(syntax))
            emit_ParserRuleParameters_KeywordKeyword_1_10_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParserRuleParameters_KeywordKeyword_1_11_1_1_1_q.equals(syntax))
            emit_ParserRuleParameters_KeywordKeyword_1_11_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParserRuleParameters_KeywordKeyword_1_8_1_1_1_q.equals(syntax))
            emit_ParserRuleParameters_KeywordKeyword_1_8_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParserRuleParameters_KeywordKeyword_1_9_1_1_1_q.equals(syntax))
            emit_ParserRuleParameters_KeywordKeyword_1_9_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:TwoParametersTestLanguageSyntacticSequencer.java   
@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_ParserRuleParameters_KeywordKeyword_1_10_1_1_1_q.equals(syntax))
            emit_ParserRuleParameters_KeywordKeyword_1_10_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParserRuleParameters_KeywordKeyword_1_11_1_1_1_q.equals(syntax))
            emit_ParserRuleParameters_KeywordKeyword_1_11_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParserRuleParameters_KeywordKeyword_1_8_1_1_1_q.equals(syntax))
            emit_ParserRuleParameters_KeywordKeyword_1_8_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParserRuleParameters_KeywordKeyword_1_9_1_1_1_q.equals(syntax))
            emit_ParserRuleParameters_KeywordKeyword_1_9_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:ParametersTestLanguageExSyntacticSequencer.java   
@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_ParametersTestLanguageParserRuleParameters_KeywordKeyword_1_10_1_1_1_q.equals(syntax))
            emit_ParametersTestLanguageParserRuleParameters_KeywordKeyword_1_10_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParametersTestLanguageParserRuleParameters_KeywordKeyword_1_11_1_1_1_q.equals(syntax))
            emit_ParametersTestLanguageParserRuleParameters_KeywordKeyword_1_11_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParametersTestLanguageParserRuleParameters_KeywordKeyword_1_8_1_1_1_q.equals(syntax))
            emit_ParametersTestLanguageParserRuleParameters_KeywordKeyword_1_8_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ParametersTestLanguageParserRuleParameters_KeywordKeyword_1_9_1_1_1_q.equals(syntax))
            emit_ParametersTestLanguageParserRuleParameters_KeywordKeyword_1_9_1_1_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:UnorderedGroupsTestLanguageSyntacticSequencer.java   
@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_Model_Bug302585Keyword_1_16_0_or_DigitFiveKeyword_1_4_0_or_DigitFourKeyword_1_3_0_or_DigitOneDigitOneKeyword_1_10_0_or_DigitOneDigitZeroKeyword_1_9_0_or_DigitSevenKeyword_1_6_0_or_DigitSixKeyword_1_5_0_or_DigitThreeKeyword_1_2_0.equals(syntax))
            emit_Model_Bug302585Keyword_1_16_0_or_DigitFiveKeyword_1_4_0_or_DigitFourKeyword_1_3_0_or_DigitOneDigitOneKeyword_1_10_0_or_DigitOneDigitZeroKeyword_1_9_0_or_DigitSevenKeyword_1_6_0_or_DigitSixKeyword_1_5_0_or_DigitThreeKeyword_1_2_0(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_a.equals(syntax))
            emit_UnorderedSerialization_DigitOneKeyword_1_0_0_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_p.equals(syntax))
            emit_UnorderedSerialization_DigitOneKeyword_1_0_0_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_UnorderedSerialization___DigitOneKeyword_1_0_0_0_p_or_DigitThreeKeyword_1_2_0_or_DigitTwoKeyword_1_1_0__q.equals(syntax))
            emit_UnorderedSerialization___DigitOneKeyword_1_0_0_0_p_or_DigitThreeKeyword_1_2_0_or_DigitTwoKeyword_1_1_0__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:ExBacktrackingBug325745TestLanguageSyntacticSequencer.java   
@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);
    }
}
项目:xtext-core    文件:AbstractBacktrackingBug325745TestLanguageSyntacticSequencer.java   
@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);
    }
}
项目:xtext-core    文件:ExUnorderedGroupsTestLanguageSyntacticSequencer.java   
@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_Model_Bug302585Keyword_1_16_0_or_DigitFiveKeyword_1_4_0_or_DigitFourKeyword_1_3_0_or_DigitOneDigitOneKeyword_1_10_0_or_DigitOneDigitZeroKeyword_1_9_0_or_DigitSevenKeyword_1_6_0_or_DigitSixKeyword_1_5_0_or_DigitThreeKeyword_1_2_0.equals(syntax))
            emit_Model_Bug302585Keyword_1_16_0_or_DigitFiveKeyword_1_4_0_or_DigitFourKeyword_1_3_0_or_DigitOneDigitOneKeyword_1_10_0_or_DigitOneDigitZeroKeyword_1_9_0_or_DigitSevenKeyword_1_6_0_or_DigitSixKeyword_1_5_0_or_DigitThreeKeyword_1_2_0(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_a.equals(syntax))
            emit_UnorderedSerialization_DigitOneKeyword_1_0_0_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_p.equals(syntax))
            emit_UnorderedSerialization_DigitOneKeyword_1_0_0_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_UnorderedSerialization___DigitOneKeyword_1_0_0_0_p_or_DigitThreeKeyword_1_2_0_or_DigitTwoKeyword_1_1_0__q.equals(syntax))
            emit_UnorderedSerialization___DigitOneKeyword_1_0_0_0_p_or_DigitThreeKeyword_1_2_0_or_DigitTwoKeyword_1_1_0__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:SimpleUnorderedGroupsTestLanguageSyntacticSequencer.java   
@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_Model_Bug302585Keyword_1_16_0_or_DigitFiveKeyword_1_4_0_or_DigitFourKeyword_1_3_0_or_DigitOneDigitOneKeyword_1_10_0_or_DigitOneDigitZeroKeyword_1_9_0_or_DigitSevenKeyword_1_6_0_or_DigitSixKeyword_1_5_0_or_DigitThreeKeyword_1_2_0.equals(syntax))
            emit_Model_Bug302585Keyword_1_16_0_or_DigitFiveKeyword_1_4_0_or_DigitFourKeyword_1_3_0_or_DigitOneDigitOneKeyword_1_10_0_or_DigitOneDigitZeroKeyword_1_9_0_or_DigitSevenKeyword_1_6_0_or_DigitSixKeyword_1_5_0_or_DigitThreeKeyword_1_2_0(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_a.equals(syntax))
            emit_UnorderedSerialization_DigitOneKeyword_1_0_0_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_UnorderedSerialization_DigitOneKeyword_1_0_0_0_p.equals(syntax))
            emit_UnorderedSerialization_DigitOneKeyword_1_0_0_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_UnorderedSerialization___DigitOneKeyword_1_0_0_0_p_or_DigitThreeKeyword_1_2_0_or_DigitTwoKeyword_1_1_0__q.equals(syntax))
            emit_UnorderedSerialization___DigitOneKeyword_1_0_0_0_p_or_DigitThreeKeyword_1_2_0_or_DigitTwoKeyword_1_1_0__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:SimpleBacktrackingBug325745TestLanguageSyntacticSequencer.java   
@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);
    }
}
项目:xtext-core    文件:Bug299395TestLanguageSyntacticSequencer.java   
@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_Model___LeftCurlyBracketKeyword_1_0_RightCurlyBracketKeyword_1_2__a.equals(syntax))
            emit_Model___LeftCurlyBracketKeyword_1_0_RightCurlyBracketKeyword_1_2__a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Model___LeftSquareBracketKeyword_2_0_RightSquareBracketKeyword_2_2__a.equals(syntax))
            emit_Model___LeftSquareBracketKeyword_2_0_RightSquareBracketKeyword_2_2__a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Model___RightCurlyBracketKeyword_1_2_LeftCurlyBracketKeyword_1_0__a.equals(syntax))
            emit_Model___RightCurlyBracketKeyword_1_2_LeftCurlyBracketKeyword_1_0__a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Model___RightCurlyBracketKeyword_1_2_LeftCurlyBracketKeyword_1_0__p.equals(syntax))
            emit_Model___RightCurlyBracketKeyword_1_2_LeftCurlyBracketKeyword_1_0__p(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Model___RightSquareBracketKeyword_2_2_LeftSquareBracketKeyword_2_0__a.equals(syntax))
            emit_Model___RightSquareBracketKeyword_2_2_LeftSquareBracketKeyword_2_0__a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_SubModel___DigitOneKeyword_1_0_DigitTwoKeyword_1_1__a.equals(syntax))
            emit_SubModel___DigitOneKeyword_1_0_DigitTwoKeyword_1_1__a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_SubModel___DigitOneKeyword_1_0_DigitTwoKeyword_1_1__p.equals(syntax))
            emit_SubModel___DigitOneKeyword_1_0_DigitTwoKeyword_1_1__p(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:pokemon-tcgo-deck-generator    文件:PkmntcgoSyntacticSequencer.java   
@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_Pokemon_PkmnKeyword_1_1_or_PokemonKeyword_1_0.equals(syntax))
            emit_Pokemon_PkmnKeyword_1_1_or_PokemonKeyword_1_0(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Trainer_TrainerKeyword_1_0_or_TrnrKeyword_1_1.equals(syntax))
            emit_Trainer_TrainerKeyword_1_0_or_TrnrKeyword_1_1(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:n4js    文件:UnicodeSyntacticSequencer.java   
@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);
    }
}
项目:n4js    文件:N4MFSyntacticSequencer.java   
@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_ProjectDescription___RightCurlyBracketKeyword_17_3_SourcesKeyword_17_0_LeftCurlyBracketKeyword_17_1__q.equals(syntax))
            emit_ProjectDescription___RightCurlyBracketKeyword_17_3_SourcesKeyword_17_0_LeftCurlyBracketKeyword_17_1__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_ProjectDescription___RightCurlyBracketKeyword_18_3_ModuleFiltersKeyword_18_0_LeftCurlyBracketKeyword_18_1__q.equals(syntax))
            emit_ProjectDescription___RightCurlyBracketKeyword_18_3_ModuleFiltersKeyword_18_0_LeftCurlyBracketKeyword_18_1__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_VersionConstraint_RightParenthesisKeyword_0_2_1_q.equals(syntax))
            emit_VersionConstraint_RightParenthesisKeyword_0_2_1_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:Xtext_Xtend_HTML_Generator    文件:MyDslSyntacticSequencer.java   
@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);
    }
}
项目:bromium    文件:BromiumSyntacticSequencer.java   
@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);
    }
}
项目:gw4e.project    文件:DSLPoliciesSyntacticSequencer.java   
@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_Model_NEWLINETerminalRuleCall_0_1_0_a.equals(syntax))
            emit_Model_NEWLINETerminalRuleCall_0_1_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Model_NEWLINETerminalRuleCall_1_a.equals(syntax))
            emit_Model_NEWLINETerminalRuleCall_1_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Model___NEWLINETerminalRuleCall_0_0_0_a_CommentParserRuleCall_0_0_1__q.equals(syntax))
            emit_Model___NEWLINETerminalRuleCall_0_0_0_a_CommentParserRuleCall_0_0_1__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_PathGeneratorStopCondition_WSTerminalRuleCall_5_a.equals(syntax))
            emit_PathGeneratorStopCondition_WSTerminalRuleCall_5_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else 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);
    }
}
项目:lcdsl    文件:LcDslSyntacticSequencer.java   
@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);
    }
}
项目:Saturn    文件:KronusSyntacticSequencer.java   
@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_Primary_LeftParenthesisKeyword_1_0_a.equals(syntax))
            emit_Primary_LeftParenthesisKeyword_1_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if(match_Primary_LeftParenthesisKeyword_1_0_p.equals(syntax))
            emit_Primary_LeftParenthesisKeyword_1_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:gemoc-studio    文件:DslSyntacticSequencer.java   
@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_Dsl_LineFeedKeyword_7_q.equals(syntax))
            emit_Dsl_LineFeedKeyword_7_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Dsl_SPACETerminalRuleCall_0_a.equals(syntax))
            emit_Dsl_SPACETerminalRuleCall_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Dsl_SPACETerminalRuleCall_2_a.equals(syntax))
            emit_Dsl_SPACETerminalRuleCall_2_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Dsl_SPACETerminalRuleCall_4_a.equals(syntax))
            emit_Dsl_SPACETerminalRuleCall_4_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Dsl_SPACETerminalRuleCall_6_a.equals(syntax))
            emit_Dsl_SPACETerminalRuleCall_6_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Entry_LineFeedKeyword_7_q.equals(syntax))
            emit_Entry_LineFeedKeyword_7_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Entry_SPACETerminalRuleCall_0_a.equals(syntax))
            emit_Entry_SPACETerminalRuleCall_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Entry_SPACETerminalRuleCall_2_a.equals(syntax))
            emit_Entry_SPACETerminalRuleCall_2_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Entry_SPACETerminalRuleCall_4_a.equals(syntax))
            emit_Entry_SPACETerminalRuleCall_4_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if (match_Entry_SPACETerminalRuleCall_6_a.equals(syntax))
            emit_Entry_SPACETerminalRuleCall_6_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:gemoc-studio    文件:AbstractGExpressionsSyntacticSequencer.java   
@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_GProgram_SemicolonKeyword_1_1_0_q.equals(syntax))
            emit_GProgram_SemicolonKeyword_1_1_0_q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:org.xtext.dsl.restaurante    文件:RestauranteSyntacticSequencer.java   
@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);
    }
}
项目:OCCI-Studio    文件:OCCISyntacticSequencer.java   
@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_Extension___AsKeyword_6_2_0_IDTerminalRuleCall_6_2_1__q.equals(syntax))
            emit_Extension___AsKeyword_6_2_0_IDTerminalRuleCall_6_2_1__q(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:SurveyDSL    文件:AbstractQueryITSyntacticSequencer.java   
@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);
    }
}
项目:xtext-core    文件:SerializationErrorTestLanguageSyntacticSequencer.java   
@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);
    }
}
项目:dsl-devkit    文件:AbstractExportSyntacticSequencer.java   
@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_ParanthesizedExpression_LeftParenthesisKeyword_0_a.equals(syntax))
            emit_ParanthesizedExpression_LeftParenthesisKeyword_0_a(semanticObject, getLastNavigableState(), syntaxNodes);
        else if(match_ParanthesizedExpression_LeftParenthesisKeyword_0_p.equals(syntax))
            emit_ParanthesizedExpression_LeftParenthesisKeyword_0_p(semanticObject, getLastNavigableState(), syntaxNodes);
        else acceptNodes(getLastNavigableState(), syntaxNodes);
    }
}
项目:xtext-core    文件:SyntacticSequencerPDAProviderNavigatorTest.java   
protected RuleCallStack newStack(ISynTransition start, String... ruleCalls) {
    RuleCallStack result = new RuleCallStack();
    for (String name : ruleCalls) {
        ISynEmitterState emitter = findEmitter(start, name, Sets.<ISynFollowerOwner> newHashSet());
        result.push((RuleCall) emitter.getGrammarElement());
    }
    return result;
}
项目:xtext-core    文件:AbstractIndexTestLanguageSyntacticSequencer.java   
@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);
    }
}
项目:xtext-core    文件:InheritanceTest2LanguageSyntacticSequencer.java   
@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);
    }
}
项目:xtext-core    文件:EnumRulesTestLanguageSyntacticSequencer.java   
@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);
    }
}
项目:xtext-extras    文件:RefactoringTestLanguage1SyntacticSequencer.java   
@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);
    }
}
项目:xtext-extras    文件:RefactoringTestLanguage2SyntacticSequencer.java   
@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);
    }
}
项目:xtext-core    文件:SyntacticSequencerPDAProviderNavigatorTest.java   
protected ISynTransition findTransition(ISynAbsorberState start, String fromAbsorber, String toAbsorber,
        Set<ISynAbsorberState> visited) {
    if (!visited.add(start))
        return null;
    boolean fromMatches = start.toString().equals(fromAbsorber);
    for (ISynTransition trans : start.getOutTransitions()) {
        if (fromMatches && trans.getTarget().toString().equals(toAbsorber))
            return trans;
        ISynTransition result = findTransition(trans.getTarget(), fromAbsorber, toAbsorber, visited);
        if (result != null)
            return result;
    }
    return null;
}