public string param_value() //throws RecognitionException, TokenStreamException
{
string v = string.Empty;;
switch ( LA(1) )
{
case BEGIN:
case COLON:
case VCALENDAR:
case END:
case IANA_TOKEN:
case X_NAME:
case SEMICOLON:
case EQUAL:
case COMMA:
case BACKSLASH:
case NUMBER:
case DOT:
case CR:
case LF:
case ALPHA:
case DIGIT:
case DASH:
case UNDERSCORE:
case UNICODE:
case SPECIAL:
case SPACE:
case HTAB:
case SLASH:
case ESCAPED_CHAR:
case LINEFOLDER:
{
v=paramtext();
break;
}
case DQUOTE:
{
v=quoted_string();
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
return v;
}