// $ANTLR start "ruleUnpunctText"
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1733:1: ruleUnpunctText returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_ID_0= RULE_ID | this_ANY_OTHER_1= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+ (this_WS_7= RULE_WS (this_ID_8= RULE_ID | this_ANY_OTHER_9= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' ) )* ) ;
public final AntlrDatatypeRuleToken ruleUnpunctText() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
Token this_ANY_OTHER_1=null;
Token kw=null;
Token this_WS_7=null;
Token this_ID_8=null;
Token this_ANY_OTHER_9=null;
enterRule();
try {
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1736:28: ( ( (this_ID_0= RULE_ID | this_ANY_OTHER_1= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+ (this_WS_7= RULE_WS (this_ID_8= RULE_ID | this_ANY_OTHER_9= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' ) )* ) )
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1737:1: ( (this_ID_0= RULE_ID | this_ANY_OTHER_1= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+ (this_WS_7= RULE_WS (this_ID_8= RULE_ID | this_ANY_OTHER_9= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' ) )* )
{
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1737:1: ( (this_ID_0= RULE_ID | this_ANY_OTHER_1= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+ (this_WS_7= RULE_WS (this_ID_8= RULE_ID | this_ANY_OTHER_9= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' ) )* )
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1737:2: (this_ID_0= RULE_ID | this_ANY_OTHER_1= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+ (this_WS_7= RULE_WS (this_ID_8= RULE_ID | this_ANY_OTHER_9= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' ) )*
{
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1737:2: (this_ID_0= RULE_ID | this_ANY_OTHER_1= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )+
int cnt45=0;
loop45:
do {
int alt45=8;
switch ( input.LA(1) ) {
case RULE_ID:
{
alt45=1;
}
break;
case RULE_ANY_OTHER:
{
alt45=2;
}
break;
case 33:
{
alt45=3;
}
break;
case 34:
{
alt45=4;
}
break;
case 35:
{
alt45=5;
}
break;
case 36:
{
alt45=6;
}
break;
case 37:
{
alt45=7;
}
break;
}
switch (alt45) {
case 1 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1737:7: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUnpunctText3695);
current.merge(this_ID_0);
newLeafNode(this_ID_0, grammarAccess.getUnpunctTextAccess().getIDTerminalRuleCall_0_0());
}
break;
case 2 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1745:10: this_ANY_OTHER_1= RULE_ANY_OTHER
{
this_ANY_OTHER_1=(Token)match(input,RULE_ANY_OTHER,FOLLOW_RULE_ANY_OTHER_in_ruleUnpunctText3721);
current.merge(this_ANY_OTHER_1);
newLeafNode(this_ANY_OTHER_1, grammarAccess.getUnpunctTextAccess().getANY_OTHERTerminalRuleCall_0_1());
}
break;
case 3 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1754:2: kw= '\\\\['
{
kw=(Token)match(input,33,FOLLOW_33_in_ruleUnpunctText3745);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getReverseSolidusLeftSquareBracketKeyword_0_2());
}
break;
case 4 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1761:2: kw= '\\\\]'
{
kw=(Token)match(input,34,FOLLOW_34_in_ruleUnpunctText3764);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getReverseSolidusRightSquareBracketKeyword_0_3());
}
break;
case 5 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1768:2: kw= '-'
{
kw=(Token)match(input,35,FOLLOW_35_in_ruleUnpunctText3783);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getHyphenMinusKeyword_0_4());
}
break;
case 6 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1775:2: kw= '\\\\:'
{
kw=(Token)match(input,36,FOLLOW_36_in_ruleUnpunctText3802);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getReverseSolidusColonKeyword_0_5());
}
break;
case 7 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1782:2: kw= '\\\\%'
{
kw=(Token)match(input,37,FOLLOW_37_in_ruleUnpunctText3821);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getReverseSolidusPercentSignKeyword_0_6());
}
break;
default :
if ( cnt45 >= 1 ) break loop45;
EarlyExitException eee =
new EarlyExitException(45, input);
throw eee;
}
cnt45++;
} while (true);
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1787:3: (this_WS_7= RULE_WS (this_ID_8= RULE_ID | this_ANY_OTHER_9= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' ) )*
loop47:
do {
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==RULE_WS) ) {
int LA47_2 = input.LA(2);
if ( (LA47_2==RULE_ID||LA47_2==RULE_ANY_OTHER||(LA47_2>=33 && LA47_2<=37)) ) {
alt47=1;
}
}
switch (alt47) {
case 1 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1787:8: this_WS_7= RULE_WS (this_ID_8= RULE_ID | this_ANY_OTHER_9= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )
{
this_WS_7=(Token)match(input,RULE_WS,FOLLOW_RULE_WS_in_ruleUnpunctText3839);
current.merge(this_WS_7);
newLeafNode(this_WS_7, grammarAccess.getUnpunctTextAccess().getWSTerminalRuleCall_1_0());
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1794:1: (this_ID_8= RULE_ID | this_ANY_OTHER_9= RULE_ANY_OTHER | kw= '\\\\[' | kw= '\\\\]' | kw= '-' | kw= '\\\\:' | kw= '\\\\%' )
int alt46=7;
switch ( input.LA(1) ) {
case RULE_ID:
{
alt46=1;
}
break;
case RULE_ANY_OTHER:
{
alt46=2;
}
break;
case 33:
{
alt46=3;
}
break;
case 34:
{
alt46=4;
}
break;
case 35:
{
alt46=5;
}
break;
case 36:
{
alt46=6;
}
break;
case 37:
{
alt46=7;
}
break;
default:
NoViableAltException nvae =
new NoViableAltException("", 46, 0, input);
throw nvae;
}
switch (alt46) {
case 1 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1794:6: this_ID_8= RULE_ID
{
this_ID_8=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUnpunctText3860);
current.merge(this_ID_8);
newLeafNode(this_ID_8, grammarAccess.getUnpunctTextAccess().getIDTerminalRuleCall_1_1_0());
}
break;
case 2 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1802:10: this_ANY_OTHER_9= RULE_ANY_OTHER
{
this_ANY_OTHER_9=(Token)match(input,RULE_ANY_OTHER,FOLLOW_RULE_ANY_OTHER_in_ruleUnpunctText3886);
current.merge(this_ANY_OTHER_9);
newLeafNode(this_ANY_OTHER_9, grammarAccess.getUnpunctTextAccess().getANY_OTHERTerminalRuleCall_1_1_1());
}
break;
case 3 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1811:2: kw= '\\\\['
{
kw=(Token)match(input,33,FOLLOW_33_in_ruleUnpunctText3910);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getReverseSolidusLeftSquareBracketKeyword_1_1_2());
}
break;
case 4 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1818:2: kw= '\\\\]'
{
kw=(Token)match(input,34,FOLLOW_34_in_ruleUnpunctText3929);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getReverseSolidusRightSquareBracketKeyword_1_1_3());
}
break;
case 5 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1825:2: kw= '-'
{
kw=(Token)match(input,35,FOLLOW_35_in_ruleUnpunctText3948);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getHyphenMinusKeyword_1_1_4());
}
break;
case 6 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1832:2: kw= '\\\\:'
{
kw=(Token)match(input,36,FOLLOW_36_in_ruleUnpunctText3967);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getReverseSolidusColonKeyword_1_1_5());
}
break;
case 7 :
// ../org.eclipse.xtext.xdoc/src-gen/org/eclipse/xtext/xdoc/parser/antlr/internal/InternalXdoc.g:1839:2: kw= '\\\\%'
{
kw=(Token)match(input,37,FOLLOW_37_in_ruleUnpunctText3986);
current.merge(kw);
newLeafNode(kw, grammarAccess.getUnpunctTextAccess().getReverseSolidusPercentSignKeyword_1_1_6());
}
break;