absyntax_utils/absyntax_utils.hh
changeset 587 1ecf916cc397
parent 576 8368ec909825
child 596 4efb11e44065
equal deleted inserted replaced
586:b602f0459f17 587:1ecf916cc397
    54 
    54 
    55 /* returns 0 if the names are equal!! Case is ignored. */
    55 /* returns 0 if the names are equal!! Case is ignored. */
    56 int compare_identifiers(symbol_c *ident1, symbol_c *ident2);
    56 int compare_identifiers(symbol_c *ident1, symbol_c *ident2);
    57 
    57 
    58 /* extract the value of an integer/hex_integer/real from an integer_c/hex_integer_c/real_c symbol !! */
    58 /* extract the value of an integer/hex_integer/real from an integer_c/hex_integer_c/real_c symbol !! */
    59 long long extract_integer_value(symbol_c *sym);
    59 int64_t   extract_int64_value  (symbol_c *sym, bool *overflow = NULL);
       
    60 int64_t   extract_uint64_value (symbol_c *sym, bool *overflow = NULL);
    60 uint64_t  extract_hex_value    (symbol_c *sym);
    61 uint64_t  extract_hex_value    (symbol_c *sym);
    61 real64_t  extract_real_value   (symbol_c *sym, bool *overflow);
    62 real64_t  extract_real_value   (symbol_c *sym, bool *overflow = NULL);
    62   
    63   
    63 /* A symbol table with all globally declared functions... */
    64 /* A symbol table with all globally declared functions... */
    64 extern function_declaration_c null_symbol1;
    65 extern function_declaration_c null_symbol1;
    65 typedef dsymtable_c<function_declaration_c *, &null_symbol1> function_symtable_t;
    66 typedef dsymtable_c<function_declaration_c *, &null_symbol1> function_symtable_t;
    66 extern function_symtable_t function_symtable;
    67 extern function_symtable_t function_symtable;