I am writing one parser on java. It is necessary to save such variables in a list or something else.
index, id, (type, x, y, z) id1, (type1, x1, y1, z1) id2, (type2, x2, y2, z2) index is the main variable, that is, all references with parameters will go to it (index 1, id1 - id *)