mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
Merge pull request #792 from eclipse/cd_regen_override
regenerated against latest xtend
This commit is contained in:
commit
79e01050ae
5 changed files with 10 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue