Class Scanner

    • Constructor Detail

      • Scanner

        public Scanner​(PyObject context)
    • Method Detail

      • __call__

        public PyObject __call__​(PyObject string,
                                 PyObject idx)
        Description copied from class: PyObject
        A variant of the __call__ method with two arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
        Overrides:
        __call__ in class PyObject
        Parameters:
        string - the first argument to the function.
        idx - the second argument to the function.
      • _parse_object

        public PyTuple _parse_object​(PyString pystr,
                                     int idx)
      • _parse_constant

        public PyTuple _parse_constant​(java.lang.String constant,
                                       int idx)
      • _match_number

        public PyTuple _match_number​(PyString pystr,
                                     int start)