Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax role modifiers #1835

Draft
wants to merge 53 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
0c59e7b
added syntax role modifier syntax
jurgenvinju Jul 7, 2023
f82db38
regenerated parser with new syntax role modifier syntax
jurgenvinju Jul 7, 2023
a3abc9b
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Sep 26, 2023
79804b4
regenerated parser and AST hierarchy to include SyntaxRoleModifiers i…
jurgenvinju Sep 26, 2023
06f10c5
working on syntax roles
jurgenvinju Sep 28, 2023
b809bef
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Nov 8, 2023
23ebd62
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Nov 16, 2023
647d636
added Symbol-level syntax and semantics of syntax role modifiers
jurgenvinju Nov 16, 2023
e889835
added bootstrap declarations for Symbols that represent syntax role m…
jurgenvinju Nov 16, 2023
36587c9
implemented isOpen and IsParametrized for syntax types
jurgenvinju Nov 16, 2023
f9c7869
fixed copy and paste bug
jurgenvinju Nov 16, 2023
5fb57c8
partially implemented java-level syntax and semantics of syntax role …
jurgenvinju Nov 16, 2023
1e7e1d0
implementing all the Type operations on Syntax modifiers
jurgenvinju Nov 16, 2023
49cb9c0
implemented lub on syntax modifiers
jurgenvinju Nov 16, 2023
17de9ab
implemented Type.glbWithModifySyntax and added subtype cases to Type …
jurgenvinju Nov 16, 2023
acea788
fixed compiler error and removed unused imports
jurgenvinju Nov 16, 2023
366d3cc
added match and instantiate for SyntaxRole modifier types, and remove…
jurgenvinju Nov 17, 2023
e3b4411
added assert
jurgenvinju Nov 17, 2023
7d60d3e
match data[&T] against Tree if &T is a non-terminal
jurgenvinju Nov 21, 2023
123a3f5
fixing corner cases
jurgenvinju Nov 21, 2023
a1d5b0b
fixed subtle bug in applying syntax role
jurgenvinju Nov 22, 2023
2cdfcdc
added some initial tests for syntax modifiers
jurgenvinju Nov 22, 2023
a0c597c
added a failing test for data[&T] matching against parse tree
jurgenvinju Nov 22, 2023
3a08bd7
typo
jurgenvinju Nov 22, 2023
16a6498
fixed hashcode/equals contract for syntax role modifier types; helps …
jurgenvinju Nov 23, 2023
53c750e
added test for upcasting data[&T] to data[Tree] when it matches a non…
jurgenvinju Nov 23, 2023
a4937e8
started writing the explode function
jurgenvinju Nov 23, 2023
5ed339c
slowly working on explode
jurgenvinju Nov 27, 2023
4cd9e61
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Nov 29, 2023
ab24736
some work on explode
jurgenvinju Nov 29, 2023
d1d5f45
added support for identifiers
jurgenvinju Nov 29, 2023
1cf79a1
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Nov 30, 2023
61a9d63
fixed errors
jurgenvinju Nov 30, 2023
c34ec59
added function getConstructor that reifies an actual ConstructorType …
jurgenvinju Nov 30, 2023
307ac0e
explode can deal with lists now
jurgenvinju Dec 1, 2023
ed9e15e
working on explode
jurgenvinju Dec 14, 2023
6c25da4
added Explode to ignore because it contains features the type-checker…
jurgenvinju Dec 14, 2023
d27cbb6
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Dec 28, 2023
34cc097
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Feb 7, 2024
9f30101
turned off tutor for bootstrapping purposes
jurgenvinju Feb 7, 2024
b60fe63
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Feb 28, 2024
806a5a9
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Apr 8, 2024
c570d35
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Apr 9, 2024
b4e0f11
added todos and a make(Production) function to mirror getConstructor …
jurgenvinju Apr 9, 2024
792029c
Merge branch 'main' into syntax-role-modifiers
jurgenvinju Apr 11, 2024
ec783dc
fixed bug in constructor de-reifier and fixed make function in Type.rsc
jurgenvinju Apr 11, 2024
c4cc92c
ported release notes from website. still incomplete
jurgenvinju Apr 11, 2024
2bf3890
simplified make
jurgenvinju Apr 11, 2024
2e6ff60
re-enabled tutor
jurgenvinju Apr 11, 2024
3d3efac
further simplifications
jurgenvinju Apr 11, 2024
1157780
fixed typo
jurgenvinju Apr 11, 2024
21de372
Merge branch 'main' into syntax-role-modifiers
jurgenvinju May 14, 2024
d6ed722
added more documentation and a missing function
jurgenvinju May 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Assignable.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Assignable extends AbstractAST {
public Assignable(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Assignment.java
Expand Up @@ -59,6 +59,7 @@ protected void addForLineNumber(int $line, java.util.List<AbstractAST> $result)
if (getLocation().getBeginLine() == $line) {
$result.add(this);
}
ISourceLocation $l;

}

Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Backslash.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Backslash extends AbstractAST {
public Backslash(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Body.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Body extends AbstractAST {
public Body(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/BooleanLiteral.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class BooleanLiteral extends AbstractAST {
public BooleanLiteral(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Case.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Case extends AbstractAST {
public Case(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/CaseInsensitiveStringConstant.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class CaseInsensitiveStringConstant extends AbstractAST {
public CaseInsensitiveStringConstant(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Catch.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Catch extends AbstractAST {
public Catch(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Char.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Char extends AbstractAST {
public Char(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Class.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Class extends AbstractAST {
public Class(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Command.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Command extends AbstractAST {
public Command(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Commands.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Commands extends AbstractAST {
public Commands(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Comment.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Comment extends AbstractAST {
public Comment(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Comprehension.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Comprehension extends AbstractAST {
public Comprehension(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Concrete.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Concrete extends AbstractAST {
public Concrete(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/ConcreteHole.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class ConcreteHole extends AbstractAST {
public ConcreteHole(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/ConcretePart.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class ConcretePart extends AbstractAST {
public ConcretePart(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/DataTypeSelector.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class DataTypeSelector extends AbstractAST {
public DataTypeSelector(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/DateAndTime.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class DateAndTime extends AbstractAST {
public DateAndTime(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/DatePart.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class DatePart extends AbstractAST {
public DatePart(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/DateTimeLiteral.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class DateTimeLiteral extends AbstractAST {
public DateTimeLiteral(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/DecimalIntegerLiteral.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class DecimalIntegerLiteral extends AbstractAST {
public DecimalIntegerLiteral(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Declaration.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Declaration extends AbstractAST {
public Declaration(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Declarator.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Declarator extends AbstractAST {
public Declarator(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Field.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Field extends AbstractAST {
public Field(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Formals.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Formals extends AbstractAST {
public Formals(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/FunctionBody.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class FunctionBody extends AbstractAST {
public FunctionBody(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/FunctionDeclaration.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class FunctionDeclaration extends AbstractAST {
public FunctionDeclaration(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/FunctionModifiers.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class FunctionModifiers extends AbstractAST {
public FunctionModifiers(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/FunctionType.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class FunctionType extends AbstractAST {
public FunctionType(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Header.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Header extends AbstractAST {
public Header(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/HexIntegerLiteral.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class HexIntegerLiteral extends AbstractAST {
public HexIntegerLiteral(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
12 changes: 12 additions & 0 deletions src/org/rascalmpl/ast/IASTVisitor.java
Expand Up @@ -693,6 +693,16 @@ public interface IASTVisitor<T> {

public T visitSyntaxDefinitionLexical(SyntaxDefinition.Lexical x);

public T visitSyntaxRoleModifierData(SyntaxRoleModifier.Data x);

public T visitSyntaxRoleModifierKeyword(SyntaxRoleModifier.Keyword x);

public T visitSyntaxRoleModifierLayout(SyntaxRoleModifier.Layout x);

public T visitSyntaxRoleModifierLexical(SyntaxRoleModifier.Lexical x);

public T visitSyntaxRoleModifierSyntax(SyntaxRoleModifier.Syntax x);

public T visitTagDefault(Tag.Default x);

public T visitTagEmpty(Tag.Empty x);
Expand All @@ -713,6 +723,8 @@ public interface IASTVisitor<T> {

public T visitTypeFunction(Type.Function x);

public T visitTypeModifier(Type.Modifier x);

public T visitTypeSelector(Type.Selector x);

public T visitTypeStructured(Type.Structured x);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Import.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Import extends AbstractAST {
public Import(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/ImportedModule.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class ImportedModule extends AbstractAST {
public ImportedModule(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/IntegerLiteral.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class IntegerLiteral extends AbstractAST {
public IntegerLiteral(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/JustDate.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class JustDate extends AbstractAST {
public JustDate(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/JustTime.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class JustTime extends AbstractAST {
public JustTime(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/KeywordArgument_Expression.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class KeywordArgument_Expression extends AbstractAST {
public KeywordArgument_Expression(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/KeywordFormal.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class KeywordFormal extends AbstractAST {
public KeywordFormal(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/LAYOUT.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class LAYOUT extends AbstractAST {
public LAYOUT(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Literal.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Literal extends AbstractAST {
public Literal(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/LocalVariableDeclaration.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class LocalVariableDeclaration extends AbstractAST {
public LocalVariableDeclaration(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/LocationLiteral.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class LocationLiteral extends AbstractAST {
public LocationLiteral(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/Mapping_Expression.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class Mapping_Expression extends AbstractAST {
public Mapping_Expression(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/MidPathChars.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class MidPathChars extends AbstractAST {
public MidPathChars(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down
1 change: 1 addition & 0 deletions src/org/rascalmpl/ast/MidProtocolChars.java
Expand Up @@ -19,6 +19,7 @@
import io.usethesource.vallang.IConstructor;
import io.usethesource.vallang.ISourceLocation;

@SuppressWarnings(value = {"unused"})
public abstract class MidProtocolChars extends AbstractAST {
public MidProtocolChars(ISourceLocation src, IConstructor node) {
super(src /* we forget node on purpose */);
Expand Down