// $ANTLR start "ruleCodeText"
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3505:1: ruleCodeText returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_MULTI_NL_1= RULE_MULTI_NL | this_WS_2= RULE_WS | this_SINGLE_NL_3= RULE_SINGLE_NL | this_ANY_OTHER_4= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= ',' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+ ;
public final AntlrDatatypeRuleToken ruleCodeText() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
Token this_MULTI_NL_1=null;
Token this_WS_2=null;
Token this_SINGLE_NL_3=null;
Token this_ANY_OTHER_4=null;
Token kw=null;
enterRule();
try {
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3508:28: ( (this_ID_0= RULE_ID | this_MULTI_NL_1= RULE_MULTI_NL | this_WS_2= RULE_WS | this_SINGLE_NL_3= RULE_SINGLE_NL | this_ANY_OTHER_4= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= ',' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+ )
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3509:1: (this_ID_0= RULE_ID | this_MULTI_NL_1= RULE_MULTI_NL | this_WS_2= RULE_WS | this_SINGLE_NL_3= RULE_SINGLE_NL | this_ANY_OTHER_4= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= ',' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+
{
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3509:1: (this_ID_0= RULE_ID | this_MULTI_NL_1= RULE_MULTI_NL | this_WS_2= RULE_WS | this_SINGLE_NL_3= RULE_SINGLE_NL | this_ANY_OTHER_4= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= ',' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+
int cnt113=0;
loop113:
do {
int alt113=12;
switch ( input.LA(1) ) {
case RULE_ID:
{
alt113=1;
}
break;
case RULE_MULTI_NL:
{
alt113=2;
}
break;
case RULE_WS:
{
alt113=3;
}
break;
case RULE_SINGLE_NL:
{
alt113=4;
}
break;
case RULE_ANY_OTHER:
{
alt113=5;
}
break;
case 33:
{
alt113=6;
}
break;
case 34:
{
alt113=7;
}
break;
case 19:
{
alt113=8;
}
break;
case 35:
{
alt113=9;
}
break;
case 36:
{
alt113=10;
}
break;
case 37:
{
alt113=11;
}
break;
}
switch (alt113) {
case 1 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3509:6: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCodeText7850);
current.merge(this_ID_0);
newLeafNode(this_ID_0, grammarAccess.getCodeTextAccess().getIDTerminalRuleCall_0());
}
break;
case 2 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3517:10: this_MULTI_NL_1= RULE_MULTI_NL
{
this_MULTI_NL_1=(Token)match(input,RULE_MULTI_NL,FOLLOW_RULE_MULTI_NL_in_ruleCodeText7876);
current.merge(this_MULTI_NL_1);
newLeafNode(this_MULTI_NL_1, grammarAccess.getCodeTextAccess().getMULTI_NLTerminalRuleCall_1());
}
break;
case 3 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3525:10: this_WS_2= RULE_WS
{
this_WS_2=(Token)match(input,RULE_WS,FOLLOW_RULE_WS_in_ruleCodeText7902);
current.merge(this_WS_2);
newLeafNode(this_WS_2, grammarAccess.getCodeTextAccess().getWSTerminalRuleCall_2());
}
break;
case 4 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3533:10: this_SINGLE_NL_3= RULE_SINGLE_NL
{
this_SINGLE_NL_3=(Token)match(input,RULE_SINGLE_NL,FOLLOW_RULE_SINGLE_NL_in_ruleCodeText7928);
current.merge(this_SINGLE_NL_3);
newLeafNode(this_SINGLE_NL_3, grammarAccess.getCodeTextAccess().getSINGLE_NLTerminalRuleCall_3());
}
break;
case 5 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3541:10: this_ANY_OTHER_4= RULE_ANY_OTHER
{
this_ANY_OTHER_4=(Token)match(input,RULE_ANY_OTHER,FOLLOW_RULE_ANY_OTHER_in_ruleCodeText7954);
current.merge(this_ANY_OTHER_4);
newLeafNode(this_ANY_OTHER_4, grammarAccess.getCodeTextAccess().getANY_OTHERTerminalRuleCall_4());
}
break;
case 6 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3550:2: kw= '\\\\['
{
kw=(Token)match(input,33,FOLLOW_33_in_ruleCodeText7978);
current.merge(kw);
newLeafNode(kw, grammarAccess.getCodeTextAccess().getReverseSolidusLeftSquareBracketKeyword_5());
}
break;
case 7 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3557:2: kw= '\\\\]'
{
kw=(Token)match(input,34,FOLLOW_34_in_ruleCodeText7997);
current.merge(kw);
newLeafNode(kw, grammarAccess.getCodeTextAccess().getReverseSolidusRightSquareBracketKeyword_6());
}
break;
case 8 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3564:2: kw= ','
{
kw=(Token)match(input,19,FOLLOW_19_in_ruleCodeText8016);
current.merge(kw);
newLeafNode(kw, grammarAccess.getCodeTextAccess().getCommaKeyword_7());
}
break;
case 9 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3571:2: kw= '-'
{
kw=(Token)match(input,35,FOLLOW_35_in_ruleCodeText8035);
current.merge(kw);
newLeafNode(kw, grammarAccess.getCodeTextAccess().getHyphenMinusKeyword_8());
}
break;
case 10 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3578:2: kw= '\\\\:'
{
kw=(Token)match(input,36,FOLLOW_36_in_ruleCodeText8054);
current.merge(kw);
newLeafNode(kw, grammarAccess.getCodeTextAccess().getReverseSolidusColonKeyword_9());
}
break;
case 11 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:3585:2: kw= '\\\\%'
{
kw=(Token)match(input,37,FOLLOW_37_in_ruleCodeText8073);
current.merge(kw);
newLeafNode(kw, grammarAccess.getCodeTextAccess().getReverseSolidusPercentSignKeyword_10());
}
break;