Mask AST node types can be bitmasks for better performance. Although we probably want to set up benchmarks before we tackle this