Merge "Compute all token encodings from symbol trees." into nextgenv2