Esempio n. 1
0
def argv_catch_int_list(Cl, VariableName, Option, Default):
    """RETURNS: list of integers built from the list of no-minus followers of 
    the given option.
    """
    return [
        get_integer_parameter_value(str(Option)[1:-1], x)
        for x in argv_catch_list(Cl, Option, Default)
    ]
Esempio n. 2
0
File: core.py Progetto: xxyzzzq/quex
def argv_catch_int_list(Cl, VariableName, Option, Default):
    """RETURNS: list of integers built from the list of no-minus followers of 
    the given option.
    """
    return [
        get_integer_parameter_value(str(Option)[1:-1], x)
        for x in argv_catch_list(Cl, Option, Default)
    ]
Esempio n. 3
0
def argv_catch_int(Cl, Option, Default):
    """RETURNS: Integer for the given variable name.
    """
    return get_integer_parameter_value(
        str(Option)[1:-1], Cl.follow("%i" % Default, Option))
Esempio n. 4
0
File: core.py Progetto: xxyzzzq/quex
def argv_catch_int(Cl, Option, Default):
    """RETURNS: Integer for the given variable name.
    """
    return get_integer_parameter_value(str(Option)[1:-1], Cl.follow("%i" % Default, Option))