Merge pull request #792 from eclipse/cd_regen_override

regenerated against latest xtend
This commit is contained in:
Christian Dietrich 2018-07-18 23:37:38 +02:00 committed by GitHub
commit 79e01050ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View file

@ -28,6 +28,7 @@ public abstract class GenericFormatter<T extends EObject> extends AbstractFormat
protected abstract void format(final T model, final ITextRegionExtensions regionAccess, final IFormattableDocument document);
@Override
public void format(final Object obj, final IFormattableDocument document) {
if (obj instanceof XtextResource) {
_format((XtextResource)obj, document);

View file

@ -1050,6 +1050,7 @@ public class PsiAntlrGrammarGenerator extends AbstractAntlrGrammarWithActionsGen
return "Boolean";
}
@Override
protected CharSequence compileRule(final Object it, final Grammar grammar, final AntlrOptions options) {
if (it instanceof EnumRule) {
return _compileRule((EnumRule)it, grammar, options);

View file

@ -660,6 +660,7 @@ public abstract class AbstractAntlrGrammarWithActionsGenerator extends AbstractA
}
}
@Override
protected String ebnf2(final AbstractElement it, final AntlrOptions options, final boolean supportActions) {
if (it instanceof Alternatives) {
return _ebnf2((Alternatives)it, options, supportActions);
@ -685,6 +686,7 @@ public abstract class AbstractAntlrGrammarWithActionsGenerator extends AbstractA
}
}
@Override
protected String assignmentEbnf(final AbstractElement it, final Assignment assignment, final AntlrOptions options, final boolean supportActions) {
if (it instanceof Alternatives) {
return _assignmentEbnf((Alternatives)it, assignment, options, supportActions);
@ -706,6 +708,7 @@ public abstract class AbstractAntlrGrammarWithActionsGenerator extends AbstractA
}
}
@Override
public boolean mustBeParenthesized(final AbstractElement it) {
if (it instanceof Alternatives) {
return _mustBeParenthesized((Alternatives)it);

View file

@ -1280,6 +1280,7 @@ public class AntlrContentAssistGrammarGenerator extends AbstractAntlrGrammarWith
return false;
}
@Override
protected CharSequence compileRule(final Object it, final Grammar grammar, final AntlrOptions options) {
if (it instanceof Alternatives) {
return _compileRule((Alternatives)it, grammar, options);
@ -1303,6 +1304,7 @@ public class AntlrContentAssistGrammarGenerator extends AbstractAntlrGrammarWith
}
}
@Override
protected String assignmentEbnf(final AbstractElement it, final Assignment assignment, final AntlrOptions options, final boolean supportsActions) {
if (it instanceof Alternatives) {
return _assignmentEbnf((Alternatives)it, assignment, options, supportsActions);
@ -1324,6 +1326,7 @@ public class AntlrContentAssistGrammarGenerator extends AbstractAntlrGrammarWith
}
}
@Override
protected String crossrefEbnf(final AbstractElement it, final CrossReference ref, final boolean supportActions) {
if (it instanceof Alternatives) {
return _crossrefEbnf((Alternatives)it, ref, supportActions);
@ -1350,6 +1353,7 @@ public class AntlrContentAssistGrammarGenerator extends AbstractAntlrGrammarWith
}
}
@Override
protected String ebnf2(final AbstractElement it, final AntlrOptions options, final boolean supportActions) {
if (it instanceof Alternatives) {
return _ebnf2((Alternatives)it, options, supportActions);

View file

@ -1199,6 +1199,7 @@ public class AntlrGrammarGenerator extends AbstractAntlrGrammarWithActionsGenera
return _builder;
}
@Override
protected CharSequence compileRule(final Object it, final Grammar grammar, final AntlrOptions options) {
if (it instanceof EnumRule) {
return _compileRule((EnumRule)it, grammar, options);