private static Set<String> possibleIdentifiers()
{
ImmutableSet.Builder<String> names = ImmutableSet.builder();
Vocabulary vocabulary = SqlBaseLexer.VOCABULARY;
for (int i = 0; i <= vocabulary.getMaxTokenType(); i++) {
String name = nullToEmpty(vocabulary.getLiteralName(i));
Matcher matcher = IDENTIFIER.matcher(name);
if (matcher.matches()) {
names.add(matcher.group(1));
}
}
return names.build();
}
ReservedIdentifiers.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:rainbow
作者:
评论列表
文章目录