Search in sources :

Example 1 with TypeExpressionsStandaloneSetup

use of org.eclipse.n4js.ts.TypeExpressionsStandaloneSetup in project n4js by eclipse.

the class GrammarLinter method main.

/**
 */
public static void main(String[] args) {
    GrammarLinter linter = new N4JSStandaloneSetup().createInjectorAndDoEMFRegistration().getInstance(GrammarLinter.class);
    linter.typesGrammarAccess = new TypeExpressionsStandaloneSetup().createInjector().getInstance(TypeExpressionsGrammarAccess.class);
    linter.diagnose();
}
Also used : TypeExpressionsGrammarAccess(org.eclipse.n4js.ts.services.TypeExpressionsGrammarAccess) N4JSStandaloneSetup(org.eclipse.n4js.N4JSStandaloneSetup) TypeExpressionsStandaloneSetup(org.eclipse.n4js.ts.TypeExpressionsStandaloneSetup)

Aggregations

N4JSStandaloneSetup (org.eclipse.n4js.N4JSStandaloneSetup)1 TypeExpressionsStandaloneSetup (org.eclipse.n4js.ts.TypeExpressionsStandaloneSetup)1 TypeExpressionsGrammarAccess (org.eclipse.n4js.ts.services.TypeExpressionsGrammarAccess)1