case 125:
case 126:
	public final void kindTest() throws RecognitionException, TokenStreamException {				returnAST = null;		ASTPair currentAST = new ASTPair();		AST kindTest_AST = null;				switch ( LA(1)) {		case LITERAL_text:		{			textTest();			astFactory.addASTChild(currentAST, returnAST);			kindTest_AST = (AST)currentAST.root;			break;		}		case LITERAL_node:		{			anyKindTest();			astFactory.addASTChild(currentAST, returnAST);			kindTest_AST = (AST)currentAST.root;			break;		}		case LITERAL_element:		{			elementTest();			astFactory.addASTChild(currentAST, returnAST);			kindTest_AST = (AST)currentAST.root;			break;		}		case LITERAL_attribute:		{			attributeTest();			astFactory.addASTChild(currentAST, returnAST);			kindTest_AST = (AST)currentAST.root;			break;		}		case LITERAL_comment:		{			commentTest();			astFactory.addASTChild(currentAST, returnAST);			kindTest_AST = (AST)currentAST.root;			break;		}		case 125:		{			piTest();			astFactory.addASTChild(currentAST, returnAST);			kindTest_AST = (AST)currentAST.root;			break;		}		case 126:		{			documentTest();			astFactory.addASTChild(currentAST, returnAST);			kindTest_AST = (AST)currentAST.root;			break;		}		default:		{			throw new NoViableAltException(LT(1), getFilename());		}		}		returnAST = kindTest_AST;	}