pub struct MacroDef {
pub name: String,
pub is_function_like: bool,
pub params: Vec<String>,
pub variadic: bool,
}Expand description
The symbol and macro tables, re-exported so a caller can seed a
parse with names a header would have introduced. The canonical
plugin exports the same pair from ts/src/symbols.ts, and the Go
port exports them as SymbolTable and MacroTable.
The symbol and macro tables, re-exported so a caller can seed a
parse with names a header would have introduced. The canonical
plugin exports the same pair from ts/src/symbols.ts, and the Go
port exports them as SymbolTable and MacroTable.
The symbol and macro tables, re-exported so a caller can seed a
parse with names a header would have introduced. The canonical
plugin exports the same pair from ts/src/symbols.ts, and the Go
port exports them as SymbolTable and MacroTable.
A macro definition captured from a #define directive. Macros are
not expanded: the table only says which names are macros, so a call
site can be tagged.
Fields§
§name: String§is_function_like: bool§params: Vec<String>§variadic: bool