private String type() throws UnexpectedTokenException
	{
		StringBuilder type = new StringBuilder();

		this.expect(IDENT);
		type.append(this.getToken().data);
		this.nextToken();

		if(this.accept(LBRACK))
		{
			while(true)
			{
				type.append('[');
				this.nextToken();
				this.expect(RBRACK);
				type.append(']');

				if(this.accept(RBRACK))
					break;
			}
		}

		return type.toString();
	}