[−][src]Struct agda_mode::agda::ReplState
Simple REPL state wrapper.
Fields
stdin: ChildStdinagda: AgdaReadfile: StringMethods
impl ReplState[src]
impl ReplState[src]
pub fn print_goal_list(&self)[src]
Print all goals.
pub async fn reload_file<'_>(&'_ mut self) -> Result<()>[src]
pub async fn command<'_>(&'_ mut self, cmd: Cmd) -> Result<()>[src]
pub async fn command_raw<'_, '_>(
&'_ mut self,
raw_command: &'_ str
) -> Result<()>[src]
&'_ mut self,
raw_command: &'_ str
) -> Result<()>
pub async fn shutdown<'_>(&'_ mut self) -> Result<()>[src]
pub async fn next_display_info<'_>(&'_ mut self) -> Result<DisplayInfo>[src]
Skip information until the next display info.
pub fn interaction_points(&self) -> &[InteractionPoint][src]
Returns the latest next_goals result.
pub async fn next_goals<'_>(&'_ mut self) -> Result<()>[src]
Skip information until the next interaction point (goal) list.
The result can be queried via interaction_points.
Note
This information normally comes right after all_goals_warnings,
and when you call next_all_goals_warnings,
you've already eliminated errors.
Therefore this method don't deal with errors.
pub async fn next_error<'_>(&'_ mut self) -> Result<AgdaError>[src]
Skip information until an error.
impl ReplState[src]
pub async fn next_give_action<'_>(&'_ mut self) -> NextResult<GiveAction>[src]
impl ReplState[src]
pub async fn next_make_case<'_>(&'_ mut self) -> NextResult<MakeCase>[src]
impl ReplState[src]
pub async fn next_highlight<'_>(&'_ mut self) -> NextResult<HighlightingInfo>[src]
impl ReplState[src]
pub async fn next_all_goals_warnings<'_>(
&'_ mut self
) -> NextResult<AllGoalsWarnings>[src]
&'_ mut self
) -> NextResult<AllGoalsWarnings>
impl ReplState[src]
pub async fn next_goal_specific<'_>(&'_ mut self) -> NextResult<GoalSpecific>[src]
impl ReplState[src]
pub async fn next_module_contents<'_>(
&'_ mut self
) -> NextResult<ModuleContents>[src]
&'_ mut self
) -> NextResult<ModuleContents>
impl ReplState[src]
pub async fn next_normal_form<'_>(&'_ mut self) -> NextResult<NormalForm>[src]
impl ReplState[src]
pub async fn next_context<'_>(&'_ mut self) -> NextResult<Context>[src]
impl ReplState[src]
pub async fn next_inferred_type<'_>(&'_ mut self) -> NextResult<InferredType>[src]
impl ReplState[src]
pub async fn validate_version_panicking<'_>(&'_ mut self)[src]
pub async fn validate_version<'_>(&'_ mut self) -> Result<()>[src]
Validate this Agda repl.
impl ReplState[src]
pub async fn start<'_>(agda_program: &'_ str, file: String) -> Result<Self>[src]
pub async fn from_io(
__arg0: ChildStdin,
stdout: BufReader<ChildStdout>,
file: String
) -> Result<Self>[src]
__arg0: ChildStdin,
stdout: BufReader<ChildStdout>,
file: String
) -> Result<Self>
Auto Trait Implementations
impl Send for ReplState
impl Sync for ReplState
impl Unpin for ReplState
impl !UnwindSafe for ReplState
impl !RefUnwindSafe for ReplState
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,