lisette-emit 0.1.6

Little language inspired by Rust that compiles to Go
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod dispatch;
pub(crate) mod go_interop;
mod native;
mod ufcs;

use crate::go::types::native::NativeGoType;
use syntax::ast::{Annotation, Expression};
use syntax::types::Type;

pub(super) struct NativeCallContext<'a> {
    pub function: &'a Expression,
    pub args: &'a [Expression],
    pub type_args: &'a [Annotation],
    pub call_ty: Option<&'a Type>,
    pub native_type: &'a NativeGoType,
    pub method: &'a str,
}