Module ida_srclang
Global Variables
SRCLANG_C
SRCLANG_CPP
SRCLANG_GO
SRCLANG_OBJC
SRCLANG_SWIFT
Functions
parse_decls_for_srclang(lang: srclang_t, til: til_t, input: char const *, is_path: bool) ‑> int
parse_decls_for_srclang(lang, til, input, is_path) -> int Parse type declarations in the specified language
parse_decls_with_parser(parser_name: char const *, til: til_t, input: char const *, is_path: bool) ‑> int
parse_decls_with_parser(parser_name, til, input, is_path) -> int Parse type declarations using the parser with the specified name
select_parser_by_name(name: char const *) ‑> bool
select_parser_by_name(name) -> bool Set the parser with the given name as the current parser. Pass nullptr or an empty string to select the default parser.
select_parser_by_srclang(lang: srclang_t) ‑> bool
select_parser_by_srclang(lang) -> bool Set the parser that supports the given language(s) as the current parser. The selected parser must support all languages specified by the given srclang_t.
set_parser_argv(parser_name: char const *, argv: char const *) ‑> int
set_parser_argv(parser_name, argv) -> int Set the command-line args to use for invocations of the parser with the given name
Last updated