@Override
	public ParserNode toProperObject() {
		switch(operator) {
		case AND: return new AndNode();
		case OR: return new OrNode();
		case NOT: return new NotNode();
		case XOR: return new XorNode();
		case NAND: return new NandNode();
		case NOR: return new NorNode();
		case XNOR: return new XnorNode();
		default: throw new IllegalArgumentException("Nepoznati operator!");
		}
	}