Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (20 sloc) 373 Bytes
use super::cast::CastStmt;
#[derive(Debug,Clone)]
pub enum Sign {
Signed,
Unsigned,
}
#[derive(Debug,Clone)]
pub enum CType {
Void,
Char(Sign),
Short(Sign),
Int(Sign),
Long(Sign),
LongLong(Sign),
Float,
Double,
Array(Box<CType>, Box<CastStmt>),
Func(Box<CType>, Vec<CType>), // return type, param type
Custom(String)
}
You can’t perform that action at this time.