@@ -368,40 +368,3 @@ class EncodingError extends SyntaxError {
368368
369369 override string toString ( ) { result = "Encoding Error" }
370370}
371-
372-
373-
374- /**
375- * A dummy location which is used when something doesn't have a location in
376- * the source code but needs to have a `Location` associated with it. There
377- * may be several distinct kinds of unknown locations. For example: one for
378- * expressions, one for statements and one for other program elements.
379- */
380- class UnknownLocation extends Location {
381- UnknownLocation ( ) { this .getFile ( ) .getAbsolutePath ( ) = "" }
382- }
383-
384- /**
385- * A dummy location which is used when something doesn't have a location in
386- * the source code but needs to have a `Location` associated with it.
387- */
388- class UnknownDefaultLocation extends UnknownLocation {
389- UnknownDefaultLocation ( ) { locations_default ( this , _, 0 , 0 , 0 , 0 ) }
390- }
391-
392- /**
393- * A dummy location which is used when an expression doesn't have a
394- * location in the source code but needs to have a `Location` associated
395- * with it.
396- */
397- class UnknownExprLocation extends UnknownLocation {
398- UnknownExprLocation ( ) { locations_default ( this , _, 0 , 0 , 0 , 0 ) }
399- }
400-
401- /**
402- * A dummy location which is used when a statement doesn't have a location
403- * in the source code but needs to have a `Location` associated with it.
404- */
405- class UnknownStmtLocation extends UnknownLocation {
406- UnknownStmtLocation ( ) { locations_default ( this , _, 0 , 0 , 0 , 0 ) }
407- }
0 commit comments