What is the function of going from Rascal to a specific location in the IDE

If I have a Rascal visualization with location information (for example to start / end a Java method), how can I go to the IDE and highlight the highlighted lines?

Essentially, how can I get the same behavior as clicking on the printed loc in the Rascal Console?

eg:

onMouseDown(bool (int butnr, map[KeyModifier,bool] modifiers)   {
    jumpIntoEclipseHighlightLoc(loc);
}

      

+3


source to share


1 answer


You may be looking for functions edit

in util::Editors

.



+2


source







All Articles