public final FileContext file() throws RecognitionException {
		FileContext _localctx = new FileContext(_ctx, getState());
		enterRule(_localctx, 0, RULE_file);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(226);
			_errHandler.sync(this);
			_la = _input.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << PROCEDURE_TYPE_KEYWORD) | (1L << INTRINSIC_TYPE_KEYWORD) | (1L << TYPE_KEYWORD) | (1L << CLASS_KEYWORD) | (1L << DIRECTIVE_START))) != 0)) {
				{
				setState(224);
				switch (_input.LA(1)) {
				case PROCEDURE_TYPE_KEYWORD:
				case INTRINSIC_TYPE_KEYWORD:
				case TYPE_KEYWORD:
				case CLASS_KEYWORD:
					{
					setState(222); procedure();
					}
					break;
				case DIRECTIVE_START:
					{
					setState(223); cppDirective();
					}
					break;
				default:
					throw new NoViableAltException(this);
				}
				}
				setState(228);
				_errHandler.sync(this);
				_la = _input.LA(1);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}