本文整理汇总了Java中org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable类的典型用法代码示例。如果您正苦于以下问题:Java ISynNavigable类的具体用法?Java ISynNavigable怎么用?Java ISynNavigable使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ISynNavigable类属于org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider包,在下文中一共展示了ISynNavigable类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: emit_ParenthesizedElement_LeftParenthesisKeyword_0_a
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
@Override
protected void emit_ParenthesizedElement_LeftParenthesisKeyword_0_a(EObject semanticObject, ISynNavigable transition,
List<INode> nodes) {
if (semanticObject instanceof CompoundElement) {
CompoundElement ele = (CompoundElement) semanticObject;
if (!Strings.isNullOrEmpty(ele.getCardinality()) && ele.getElements().size() > 1) {
Keyword kw = grammarAccess.getParenthesizedElementAccess().getLeftParenthesisKeyword_0();
acceptUnassignedKeyword(kw, kw.getValue(), nodes == null || nodes.isEmpty() ? null : (ILeafNode) nodes.get(0));
}
}
super.emit_ParenthesizedCondition_LeftParenthesisKeyword_0_a(semanticObject, transition, nodes);
}
示例2: navigateToAbsorber
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
protected ISynAbsorberState navigateToAbsorber(ISynFollowerOwner fromState, INode fromNode, INode toNode,
RuleCallStack stack) {
if (fromState instanceof ISynAbsorberState)
return (ISynAbsorberState) fromState;
if (fromState instanceof ISynNavigable) {
ISynNavigable fromEmitter = (ISynNavigable) fromState;
// RCStack back = stack.clone();
if (fromEmitter.hasEmitters()) {
List<ISynState> path = fromEmitter.getShortestStackpruningPathToAbsorber(stack);
accept(fromNode, path, stack);
}
return fromEmitter.getTarget();
}
throw new IllegalStateException();
}
示例3: emit_MandatoryManyTransition_KW1ParserRuleCall_1_p
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Syntax: KW1+
*/
@Override
protected void emit_MandatoryManyTransition_KW1ParserRuleCall_1_p(EObject semanticObject, ISynNavigable transition,
List<INode> nodes) {
ICompositeNode node = (ICompositeNode) nodes.get(0);
acceptUnassignedDatatype(ga.getMandatoryManyTransitionAccess().getKW1ParserRuleCall_1(), "matched 4", node);
}
示例4: createUnexpectedEmitterDiagnostic
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
@Override
public ISerializationDiagnostic createUnexpectedEmitterDiagnostic(ISynNavigable currentState,
AbstractElement target, RuleCallStack stack) {
return new SerializationDiagnostic(UNEXPECTED_EMITTER_DIAGNOSTIC, null, target, null, null);
}
示例5: createUnexpectedEmitterDiagnostic
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
ISerializationDiagnostic createUnexpectedEmitterDiagnostic(ISynNavigable currentState, AbstractElement target,
RuleCallStack stack);
示例6: emit_Pokemon_PkmnKeyword_1_1_or_PokemonKeyword_1_0
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* 'pokemon' | 'pkmn'
*
* This ambiguous syntax occurs at:
* (rule start) (ambiguity) '{' '}' (rule start)
* (rule start) (ambiguity) '{' pkmnCards+=Card
*/
protected void emit_Pokemon_PkmnKeyword_1_1_or_PokemonKeyword_1_0(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
示例7: emit_Trainer_TrainerKeyword_1_0_or_TrnrKeyword_1_1
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* 'trainer' | 'trnr'
*
* This ambiguous syntax occurs at:
* (rule start) (ambiguity) '{' '}' (rule start)
* (rule start) (ambiguity) '{' trainerCards+=Card
*/
protected void emit_Trainer_TrainerKeyword_1_0_or_TrnrKeyword_1_1(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
示例8:
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* ('('? '{' 'function' '(') | '('
*
* This ambiguous syntax occurs at:
* (rule start) (ambiguity) fpars+=TAnonymousFormalParameter
*/
protected void emit_ArrowFunctionTypeExpression_FunctionTypeExpressionOLD_PrimaryTypeExpression_LeftParenthesisKeyword_0_0_1_or___LeftParenthesisKeyword_3_0_q_LeftCurlyBracketKeyword_1_FunctionKeyword_3_LeftParenthesisKeyword_5__(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
示例9: emit_CallableCtor_SemicolonKeyword_3_q
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* ';'?
*
* This ambiguous syntax occurs at:
* (rule start) '(' ')' (ambiguity) (rule start)
* fpars+=TFormalParameter ')' (ambiguity) (rule end)
* returnTypeRef=TypeRef (ambiguity) (rule end)
*/
protected void emit_CallableCtor_SemicolonKeyword_3_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
示例10: emit_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_q
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* '('?
*
* This ambiguous syntax occurs at:
* (rule start) (ambiguity) 'intersection' '{' typeRefs+=TypeRefWithoutModifiers
* (rule start) (ambiguity) 'this' (rule start)
* (rule start) (ambiguity) 'this' dynamic?='+'
* (rule start) (ambiguity) 'this' followedByQuestionMark?='?'
* (rule start) (ambiguity) 'type' '{' typeArg=TypeArgInTypeTypeRef
* (rule start) (ambiguity) 'union' '{' typeRefs+=TypeRefWithoutModifiers
* (rule start) (ambiguity) '{' '@' 'This' '(' declaredThisType=TypeRefFunctionTypeExpression
* (rule start) (ambiguity) '{' 'function' '(' ')' ':' returnTypeRef=TypeRef
* (rule start) (ambiguity) '{' 'function' '(' ')' '}' (rule start)
* (rule start) (ambiguity) '{' 'function' '(' ')' '}' followedByQuestionMark?='?'
* (rule start) (ambiguity) '{' 'function' '<' ownedTypeVars+=TypeVariable
* (rule start) (ambiguity) constructorRef?='constructor'
* (rule start) (ambiguity) declaredType=[Type|TypeReferenceName]
* (rule start) (ambiguity) definedTypingStrategy=TypingStrategyUseSiteOperator
*/
protected void emit_PrimaryTypeExpression_LeftParenthesisKeyword_3_0_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
示例11: emit_TAnnotation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* ('(' ')')?
*
* This ambiguous syntax occurs at:
* name=IDENTIFIER (ambiguity) (rule end)
*/
protected void emit_TAnnotation___LeftParenthesisKeyword_1_0_RightParenthesisKeyword_1_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
示例12: emit_TField_SemicolonKeyword_5_q
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* ';'?
*
* This ambiguous syntax occurs at:
* typeRef=TypeRef (ambiguity) (rule end)
*/
protected void emit_TField_SemicolonKeyword_5_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
示例13: emit_TMethod_SemicolonKeyword_2_q
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* ';'?
*
* This ambiguous syntax occurs at:
* returnTypeRef=TypeRef (ambiguity) (rule end)
*/
protected void emit_TMethod_SemicolonKeyword_2_q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
示例14: emit_TStructMemberList___CommaKeyword_1_1_1_or_SemicolonKeyword_1_1_0__q
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* (';' | ',')?
*
* This ambiguous syntax occurs at:
* astStructuralMembers+=TStructMember (ambiguity) '}' (rule end)
* astStructuralMembers+=TStructMember (ambiguity) '}' dynamic?='+'
* astStructuralMembers+=TStructMember (ambiguity) '}' followedByQuestionMark?='?'
* astStructuralMembers+=TStructMember (ambiguity) astStructuralMembers+=TStructMember
*/
protected void emit_TStructMemberList___CommaKeyword_1_1_1_or_SemicolonKeyword_1_1_0__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
示例15:
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; //导入依赖的package包/类
/**
* Ambiguous syntax:
* ('{' 'function' '(') | '('
*
* This ambiguous syntax occurs at:
* (rule start) '('* (ambiguity) fpars+=TAnonymousFormalParameter
*/
protected void emit_ArrowFunctionTypeExpression_FunctionTypeExpressionOLD_LeftParenthesisKeyword_0_0_1_or___LeftCurlyBracketKeyword_1_FunctionKeyword_3_LeftParenthesisKeyword_5__(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}