[][src]Crate move_lang

Modules

cfgir
command_line
compiled_unit
errors
expansion
hlir
interface_generator
ir_translation
naming
parser
shared
test_utils
typing

Constants

MOVE_COMPILED_EXTENSION
MOVE_COMPILED_INTERFACES_DIR
MOVE_EXTENSION
SOURCE_MAP_EXTENSION

Functions

find_filenames

  • For each directory in paths, it will return all files that satisfy the predicate
  • Any file explicitly passed in paths, it will include that file in the result, regardless of the file extension
  • find_move_filenames

  • For each directory in paths, it will return all files with the MOVE_EXTENSION found recursively in that directory
  • If keep_specified_files any file explicitly passed in paths, will be added to the result Otherwise, they will be discarded
  • generate_interface_files
    is_permitted_char

    Determine if a character is permitted character.

    is_permitted_newline_char

    Determine if a character is a permitted newline character.

    is_permitted_printable_char

    Determine if a character is an allowed eye-visible (printable) character.

    move_check

    Given a set of targets and a set of dependencies

    move_check_no_report

    Move check but it returns the errors instead of reporting them to stderr

    move_compile

    Given a set of targets and a set of dependencies

    move_compile_no_report

    Move compile but it returns the errors instead of reporting them to stderr

    move_compile_to_expansion_no_report

    Move compile up to expansion phase, returning errors instead of reporting them to stderr.

    output_compiled_units

    Given a file map and a set of compiled programs, saves the compiled programs to disk

    sanity_check_compiled_units

    Runs the bytecode verifier on the compiled units Fails if the bytecode verifier errors

    Type Definitions

    CommentMap

    Types to represent comments.

    FileCommentMap
    MatchedFileCommentMap