(entity: &Entity)
| 27 | format!("{}#{}", entity.file, entity.name) |
| 28 | } |
| 29 | fn callable(entity: &Entity) -> bool { |
| 30 | matches!(entity.kind, EntityKind::Function | EntityKind::Method) |
| 31 | } |
| 32 | |
| 33 | impl SyntaxIndex { |
| 34 | pub fn from_sources(sources: &[(String, String)]) -> Self { |