pub struct Analyzed {
pub tipe: Type,
pub constant: Option<CompiledConstant>,
}Fields§
§tipe: Type§constant: Option<CompiledConstant>Trait Implementations§
Source§impl AstVisitor<AstTextSerializerContext, Analyzed, AstTextSerializerError> for AstTextSerializer
impl AstVisitor<AstTextSerializerContext, Analyzed, AstTextSerializerError> for AstTextSerializer
fn visit_function_call( &self, ast: &FunctionCall<Analyzed>, context: AstTextSerializerContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<AstTextSerializerContext, AstTextSerializerError>
fn visit_identifier( &self, ast: &Identifier<Analyzed>, context: AstTextSerializerContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<AstTextSerializerContext, AstTextSerializerError>
fn visit_argument_list( &self, ast: &ArgumentList<Analyzed>, context: AstTextSerializerContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<AstTextSerializerContext, AstTextSerializerError>
fn visit_argument( &self, ast: &Argument<Analyzed>, context: AstTextSerializerContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<AstTextSerializerContext, AstTextSerializerError>
fn visit_binary_expr( &self, ast: &BinaryExpr<Analyzed>, context: AstTextSerializerContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<AstTextSerializerContext, AstTextSerializerError>
fn visit_literal( &self, ast: (&Literal, &TextLocation, &Analyzed), context: AstTextSerializerContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<AstTextSerializerContext, AstTextSerializerError>
fn visit_ternary_expr( &self, ast: &TernaryExpr<Analyzed>, context: AstTextSerializerContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<AstTextSerializerContext, AstTextSerializerError>
fn visit_member_access_expr( &self, ast: &MemberAccessExpression<Analyzed>, context: AstTextSerializerContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<AstTextSerializerContext, AstTextSerializerError>
Source§impl AstVisitor<MelCodegenContext, Analyzed, MelCodegenLocatableError> for MelCodegen
impl AstVisitor<MelCodegenContext, Analyzed, MelCodegenLocatableError> for MelCodegen
fn visit_function_call( &self, ast: &FunctionCall<Analyzed>, context: MelCodegenContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<MelCodegenContext, MelCodegenLocatableError>
fn visit_identifier( &self, ast: &Identifier<Analyzed>, context: MelCodegenContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<MelCodegenContext, MelCodegenLocatableError>
fn visit_argument_list( &self, ast: &ArgumentList<Analyzed>, context: MelCodegenContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<MelCodegenContext, MelCodegenLocatableError>
fn visit_argument( &self, ast: &Argument<Analyzed>, context: MelCodegenContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<MelCodegenContext, MelCodegenLocatableError>
fn visit_binary_expr( &self, ast: &BinaryExpr<Analyzed>, context: MelCodegenContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<MelCodegenContext, MelCodegenLocatableError>
fn visit_literal( &self, ast: (&Literal, &TextLocation, &Analyzed), context: MelCodegenContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<MelCodegenContext, MelCodegenLocatableError>
fn visit_ternary_expr( &self, ast: &TernaryExpr<Analyzed>, context: MelCodegenContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<MelCodegenContext, MelCodegenLocatableError>
fn visit_member_access_expr( &self, ast: &MemberAccessExpression<Analyzed>, context: MelCodegenContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<MelCodegenContext, MelCodegenLocatableError>
Source§impl AstVisitor<MelInterpContext, Analyzed, Box<InterpLocatableError>> for MelInterp
impl AstVisitor<MelInterpContext, Analyzed, Box<InterpLocatableError>> for MelInterp
fn visit_function_call( &self, ast: &FunctionCall<Analyzed>, context: MelInterpContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<MelInterpContext, Box<InterpLocatableError>>
fn visit_identifier( &self, ast: &Identifier<Analyzed>, context: MelInterpContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<MelInterpContext, Box<InterpLocatableError>>
fn visit_argument_list( &self, ast: &ArgumentList<Analyzed>, context: MelInterpContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<MelInterpContext, Box<InterpLocatableError>>
fn visit_argument( &self, ast: &Argument<Analyzed>, context: MelInterpContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<MelInterpContext, Box<InterpLocatableError>>
fn visit_binary_expr( &self, ast: &BinaryExpr<Analyzed>, context: MelInterpContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<MelInterpContext, Box<InterpLocatableError>>
fn visit_literal( &self, ast: (&Literal, &TextLocation, &Analyzed), context: MelInterpContext, _driver: &AstVisitorDriver, ) -> AstVisitorResult<MelInterpContext, Box<InterpLocatableError>>
fn visit_ternary_expr( &self, ast: &TernaryExpr<Analyzed>, context: MelInterpContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<MelInterpContext, Box<InterpLocatableError>>
fn visit_member_access_expr( &self, ast: &MemberAccessExpression<Analyzed>, context: MelInterpContext, driver: &AstVisitorDriver, ) -> AstVisitorResult<MelInterpContext, Box<InterpLocatableError>>
Auto Trait Implementations§
impl Freeze for Analyzed
impl RefUnwindSafe for Analyzed
impl Send for Analyzed
impl Sync for Analyzed
impl Unpin for Analyzed
impl UnsafeUnpin for Analyzed
impl UnwindSafe for Analyzed
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