Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/org/rascalmpl/compiler/lang/rascalcore/check/ATypeBase.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -156,25 +156,12 @@ public AProduction achoice(AType s, set[AProduction] achoices){
fail;
}

// ---- Parse Tree

data ATree
= appl(AProduction aprod, list[ATree] args/*, loc src=|unknown:///|*/) // <1>
| cycle(AType atype, int cycleLength) // <2>
| aamb(set[ATree] alternatives) // <3>
| achar(int character) // <4>
;

public /*const*/ AType treeType = aadt("Tree", [], dataSyntax());

public bool isTreeType(AType t) = treeType := t;

//@doc{
//.Synopsis
//Annotate a parse tree node with a source location.
//}
//anno loc Tree@\loc; // TODO: weg

data SyntaxRole
= dataSyntax()
| contextFreeSyntax()
Expand Down