getRegion

Returns the region of the source code which this node was created from,
if it was created by parsing.

A non-leaf node's region will encompass the regions of all of its
children. For example, a the region of a function call node
Crossjoin([Gender], {[Store].[USA]}) stretches from
the first character of the function name to the closing parenthesis.

Region may be null, if the node was created programmatically, not
from a piece of source code.