Skip to content

Commit a595c2c

Browse files
authored
Merge pull request #2536 from usethesource/cleanup-atree
removed unused definition of ATree to avoid confusion
2 parents bed1233 + befa78a commit a595c2c

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/org/rascalmpl/compiler/lang/rascalcore/check/ATypeBase.rsc

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -156,25 +156,12 @@ public AProduction achoice(AType s, set[AProduction] achoices){
156156
fail;
157157
}
158158

159-
// ---- Parse Tree
160159

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

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

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

172-
//@doc{
173-
//.Synopsis
174-
//Annotate a parse tree node with a source location.
175-
//}
176-
//anno loc Tree@\loc; // TODO: weg
177-
178165
data SyntaxRole
179166
= dataSyntax()
180167
| contextFreeSyntax()

0 commit comments

Comments
 (0)