REVIEW: [NX-501] Token Pattern Parser

JIRA: https://issues.sonatype.org/browse/NX-501
Consider making these `asList` calls proper constants, to avoid repeated construction.