Commit a7b20cdd authored by Miklos Magyari's avatar Miklos Magyari
Browse files

OOP: removed unused parser rules


Signed-off-by: Miklos Magyari's avatarMiklos Magyari <miklos.magyari@sigmatechnology.se>
parent 49d1e70d
...@@ -9064,12 +9064,6 @@ pr_TraitModifier returns[boolean isTrait] ...@@ -9064,12 +9064,6 @@ pr_TraitModifier returns[boolean isTrait]
TRAITKEYWORD { $isTrait = true; } TRAITKEYWORD { $isTrait = true; }
; ;
pr_Modifier [Boolean isAbstract, Boolean isFinal, Boolean isTrait]:
(f = FINALKEYWORD { isFinal = true; })?
(a = ABSTRACTKEYWORD { isAbstract = true; })?
(t = TRAITKEYWORD { isTrait = true; })?
;
pr_ExtendsClassDef returns[ClassTypeReferenceList refList] pr_ExtendsClassDef returns[ClassTypeReferenceList refList]
@init { @init {
$refList = new ClassTypeReferenceList(); $refList = new ClassTypeReferenceList();
...@@ -9321,14 +9315,6 @@ pr_ClassTemplateDef returns[Def_Template def_template, Type type] ...@@ -9321,14 +9315,6 @@ pr_ClassTemplateDef returns[Def_Template def_template, Type type]
} }
}; };
pr_ConstructorCall:
(
pr_Dot CREATE
(
LPAREN pr_FunctionActualParList? RPAREN
)?
);
pr_ClassCastingOp returns[ClassCastingExpression value] pr_ClassCastingOp returns[ClassCastingExpression value]
@init { @init {
Reference reference = null; Reference reference = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment