game tree locationCQL has a few filters that describe where the current position is in the game tree:
||current position is first position of game|
||current position is in a main line|
||move number of current position is in range|
||current position has no successors|
||current position is in a variation|
Note: by "variation" here we always exclude the mainline - there is no "mainline variation" in CQL terminology.
variations parameter and game location filtersIf the variations parameter is set then the tree considered in the above filters is the full game tree. However, if the
variationsparameter is not set, the the tree considered is only the single mainline branch.