Trait GetLocation

Source
pub trait GetLocation {
    // Required method
    fn location(&self) -> CodeLocation;
}
Expand description

GetLocation represent location of source data for AST element. Useful to locate specific source code location, especially for Ident.

Required Methods§

Implementors§