Java 类org.eclipse.xtext.EnumLiteralDeclaration 实例源码

项目:n4js    文件:TokenTypeRewriter.java   
private static void rewriteKeywords(AbstractRule rule, N4JSKeywords keywords,
        ImmutableMap.Builder<AbstractElement, Integer> builder) {
    for (EObject obj : EcoreUtil2.eAllContents(rule.getAlternatives())) {
        if (obj instanceof Keyword) {
            Keyword keyword = (Keyword) obj;
            Integer type = keywords.getTokenType(keyword);
            if (type != null) {
                if (keyword.eContainer() instanceof EnumLiteralDeclaration) {
                    builder.put((AbstractElement) keyword.eContainer(), type);
                } else {
                    builder.put(keyword, type);
                }
            }
        }
    }
}
项目:OCCI-Studio    文件:OCCIGrammarAccess.java   
public EnumLiteralDeclaration getIntegerEnumLiteralDeclaration_3() { return cIntegerEnumLiteralDeclaration_3; }
项目:n4js    文件:TypesGrammarAccess.java   
public EnumLiteralDeclaration getPublicInternalEnumLiteralDeclaration_1() { return cPublicInternalEnumLiteralDeclaration_1; }
项目:n4js    文件:TypesGrammarAccess.java   
public EnumLiteralDeclaration getPublicEnumLiteralDeclaration_2() { return cPublicEnumLiteralDeclaration_2; }
项目:n4js    文件:TypesGrammarAccess.java   
public EnumLiteralDeclaration getPrivateEnumLiteralDeclaration_0() { return cPrivateEnumLiteralDeclaration_0; }
项目:n4js    文件:TypesGrammarAccess.java   
public EnumLiteralDeclaration getProjectEnumLiteralDeclaration_1() { return cProjectEnumLiteralDeclaration_1; }
项目:n4js    文件:TypesGrammarAccess.java   
public EnumLiteralDeclaration getProtectedInternalEnumLiteralDeclaration_2() { return cProtectedInternalEnumLiteralDeclaration_2; }
项目:n4js    文件:TypesGrammarAccess.java   
public EnumLiteralDeclaration getProtectedEnumLiteralDeclaration_3() { return cProtectedEnumLiteralDeclaration_3; }
项目:n4js    文件:TypesGrammarAccess.java   
public EnumLiteralDeclaration getPublicInternalEnumLiteralDeclaration_4() { return cPublicInternalEnumLiteralDeclaration_4; }
项目:n4js    文件:TypesGrammarAccess.java   
public EnumLiteralDeclaration getPublicEnumLiteralDeclaration_5() { return cPublicEnumLiteralDeclaration_5; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getVarEnumLiteralDeclaration_0() { return cVarEnumLiteralDeclaration_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getConstEnumLiteralDeclaration_1() { return cConstEnumLiteralDeclaration_1; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getLetEnumLiteralDeclaration_2() { return cLetEnumLiteralDeclaration_2; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getIncEnumLiteralDeclaration_0() { return cIncEnumLiteralDeclaration_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getDecEnumLiteralDeclaration_1() { return cDecEnumLiteralDeclaration_1; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getDeleteEnumLiteralDeclaration_0() { return cDeleteEnumLiteralDeclaration_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getVoidEnumLiteralDeclaration_1() { return cVoidEnumLiteralDeclaration_1; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getTypeofEnumLiteralDeclaration_2() { return cTypeofEnumLiteralDeclaration_2; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getIncEnumLiteralDeclaration_3() { return cIncEnumLiteralDeclaration_3; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getDecEnumLiteralDeclaration_4() { return cDecEnumLiteralDeclaration_4; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getPosEnumLiteralDeclaration_5() { return cPosEnumLiteralDeclaration_5; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getNegEnumLiteralDeclaration_6() { return cNegEnumLiteralDeclaration_6; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getInvEnumLiteralDeclaration_7() { return cInvEnumLiteralDeclaration_7; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getNotEnumLiteralDeclaration_8() { return cNotEnumLiteralDeclaration_8; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getTimesEnumLiteralDeclaration_0() { return cTimesEnumLiteralDeclaration_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getDivEnumLiteralDeclaration_1() { return cDivEnumLiteralDeclaration_1; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getModEnumLiteralDeclaration_2() { return cModEnumLiteralDeclaration_2; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getAddEnumLiteralDeclaration_0() { return cAddEnumLiteralDeclaration_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getSubEnumLiteralDeclaration_1() { return cSubEnumLiteralDeclaration_1; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getSameEnumLiteralDeclaration_0() { return cSameEnumLiteralDeclaration_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getNsameEnumLiteralDeclaration_1() { return cNsameEnumLiteralDeclaration_1; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getEqEnumLiteralDeclaration_2() { return cEqEnumLiteralDeclaration_2; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getNeqEnumLiteralDeclaration_3() { return cNeqEnumLiteralDeclaration_3; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getPrivateEnumLiteralDeclaration_0() { return cPrivateEnumLiteralDeclaration_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getProjectEnumLiteralDeclaration_1() { return cProjectEnumLiteralDeclaration_1; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getProtectedEnumLiteralDeclaration_2() { return cProtectedEnumLiteralDeclaration_2; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getPublicEnumLiteralDeclaration_3() { return cPublicEnumLiteralDeclaration_3; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getExternalEnumLiteralDeclaration_4() { return cExternalEnumLiteralDeclaration_4; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getAbstractEnumLiteralDeclaration_5() { return cAbstractEnumLiteralDeclaration_5; }
项目:n4js    文件:N4JSGrammarAccess.java   
public EnumLiteralDeclaration getStaticEnumLiteralDeclaration_6() { return cStaticEnumLiteralDeclaration_6; }