use constants for node types, fast-path for attr processors