Class LocationExtractorFromSymbol
java.lang.Object
org.ek9lang.compiler.support.LocationExtractorFromSymbol
THE location of a symbol for a message: "on line 6 in 'filename.ek9'".
For a symbol of the EK9 built-in types it is instead a pointer to their help - "in built-in 'Integer' (see 'ek9 -h Integer')". A built-in type is declared in source the compiler generates in memory from the runtime, so its line names a file nobody has; 'ek9 -h' lists what the type offers, which is what a developer (or an AI) needs at that moment. A member of a built-in type points at its type. A parameterised type keeps the place it was parameterised, which is in the developer's own source.
-
Constructor Details
-
LocationExtractorFromSymbol
public LocationExtractorFromSymbol()
-
-
Method Details
-
apply
-