The `Odin` file parser to be used in tooling.

Collection Info

View Source
Collection
core
Path
odin/parser
Entries
109

Source Files

Constants

2

BUILD_KIND_NEWLINE_MARKER #

Source
BUILD_KIND_NEWLINE_MARKER :: Build_Kind{}

empty build kind acts as a marker for separating multiple lines with build tags

Types

13

Procedures

93

expect_closing_parentheses_of_field_list #

Source
expect_closing_parentheses_of_field_list :: proc(p: ^Parser) -> Token {…}

get_build_arch_from_string #

Source
@(require_results)
get_build_arch_from_string :: proc(str: string) -> Odin_Arch_Type {…}

get_build_os_from_string #

Source
@(require_results)
get_build_os_from_string :: proc(str: string) -> (found_os: Odin_OS_Type, found_subtarget: Odin_Platform_Subtarget_Type) {…}

parse_control_statement_semicolon_separator #

Source
parse_control_statement_semicolon_separator :: proc(p: ^Parser) -> bool {…}

parse_file_tags #

Source
@(require_results)
parse_file_tags :: proc(file: File, allocator := context.allocator) -> (tags: File_Tags) {…}

Procedure Groups

1