PreviousUpNext

14.5.44  Symbol

The compiler Symbol api defines access to the primary compiler frontend representation of user source code identifiers.

The Symbol api is implemented by the symbol package.

The Symbol api source code is in src/lib/compiler/front/basics/map/symbol.api.

See also: Symbol_Path.

See also: Symbolmapstack.

See also: Symbolmapstack_Entry.The above information is manually maintained and may contain errors.

api {
    Symbol;
        Namespace
        = API_NAMESPACE
        |
        FIXITY_NAMESPACE
        |
        GENERIC_API_NAMESPACE
        |
        GENERIC_NAMESPACE
        |
        LABEL_NAMESPACE
        |
        PACKAGE_NAMESPACE
        |
        TYPEVAR_NAMESPACE
        |
        TYPE_NAMESPACE
        |
        VALUE_NAMESPACE;
    eq : (Symbol , Symbol) -> Bool;
    symbol_gt : (Symbol , Symbol) -> Bool;
    symbol_fast_lt : (Symbol , Symbol) -> Bool;
    symbol_compare : (Symbol , Symbol) -> Order;
    make_value_symbol : String -> Symbol;
    make_type_symbol : String -> Symbol;
    make_api_symbol : String -> Symbol;
    make_package_symbol : String -> Symbol;
    make_generic_symbol : String -> Symbol;
    make_generic_api_symbol : String -> Symbol;
    make_fixity_symbol : String -> Symbol;
    make_label_symbol : String -> Symbol;
    make_typevar_symbol : String -> Symbol;
    make_value_and_fixity_symbols : String -> (Symbol , Symbol);
    name : Symbol -> String;
    number : Symbol -> Unt;
    name_space : Symbol -> Namespace;
    name_space_to_string : Namespace -> String;
    describe : Symbol -> String;
    symbol_to_string : Symbol -> String;};


Comments and suggestions to: bugs@mythryl.org

PreviousUpNext