Struct stacks_rpc_client::clarity::vm::ast::errors::ParseError
pub struct ParseError {
pub err: ParseErrors,
pub pre_expressions: Option<Vec<PreSymbolicExpression>>,
pub diagnostic: Diagnostic,
}
Fields§
§err: ParseErrors
§pre_expressions: Option<Vec<PreSymbolicExpression>>
§diagnostic: Diagnostic
Implementations§
§impl ParseError
impl ParseError
pub fn new(err: ParseErrors) -> ParseError
pub fn has_pre_expression(&self) -> bool
pub fn set_pre_expression(&mut self, expr: &PreSymbolicExpression)
pub fn set_pre_expressions(&mut self, exprs: Vec<PreSymbolicExpression>)
Trait Implementations§
§impl Debug for ParseError
impl Debug for ParseError
§impl Display for ParseError
impl Display for ParseError
§impl Error for ParseError
impl Error for ParseError
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl From<CostErrors> for ParseError
impl From<CostErrors> for ParseError
§fn from(err: CostErrors) -> ParseError
fn from(err: CostErrors) -> ParseError
Converts to this type from the input type.
§impl From<ParseError> for Error
impl From<ParseError> for Error
§fn from(e: ParseError) -> Error
fn from(e: ParseError) -> Error
Converts to this type from the input type.
§impl From<ParseError> for Error
impl From<ParseError> for Error
§fn from(err: ParseError) -> Error
fn from(err: ParseError) -> Error
Converts to this type from the input type.
§impl From<ParseErrors> for ParseError
impl From<ParseErrors> for ParseError
§fn from(err: ParseErrors) -> ParseError
fn from(err: ParseErrors) -> ParseError
Converts to this type from the input type.
§impl PartialEq for ParseError
impl PartialEq for ParseError
§fn eq(&self, other: &ParseError) -> bool
fn eq(&self, other: &ParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParseError
Auto Trait Implementations§
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more