MCPcopy Index your code
hub / github.com/endbasic/endbasic / pos

Method pos

core/src/compiler/mod.rs:174–176  ·  view source on GitHub ↗

Returns the source position where this compilation error happened.

(&self)

Source from the content-addressed store, hash-verified

172
173 /// Returns the source position where this compilation error happened.
174 pub fn pos(&self) -> LineCol {
175 self.split_display_message().0
176 }
177
178 /// Returns this error's message without the source position prefix.
179 pub fn message_without_pos(&self) -> String {

Callers 1

async_execMethod · 0.80

Calls 1

split_display_messageMethod · 0.80

Tested by

no test coverage detected