Abstract base level parser element class.
    |  | 
        
          | __init__(self,
        savelist=False) x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 | source code |  | 
    |  |  | 
    |  | 
        
          | setName(self,
        name) Define name for this expression, for use in debugging.
 | source code |  | 
    |  | 
        
          | setResultsName(self,
        name,
        listAllMatches=False) Define name for referencing matching tokens as a nested attribute of 
      the returned parse results.
 | source code |  | 
    |  | 
        
          | setBreak(self,
        breakFlag=True) Method to invoke the Python pdb debugger when this element is about 
      to be parsed.
 | source code |  | 
    |  | 
        
          | setParseAction(self,
        *fns,
        **kwargs) Define action to perform when successfully matching parse element 
      definition.
 | source code |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | parseImpl(self,
        instring,
        loc,
        doActions=True) | source code |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | scanString(self,
        instring,
        maxMatches=2147483647,
        overlap=False) Scan the input string for expression matches.
 | source code |  | 
    |  |  | 
    |  | 
        
          | searchString(self,
        instring,
        maxMatches=2147483647) Another extension to
 scanString, simplifying the access to the 
      tokens found to match the given parse expression. | source code |  | 
    |  | 
        
          | __add__(self,
        other) Implementation of + operator - returns
 And | source code |  | 
    |  |  | 
    |  | 
        
          | __sub__(self,
        other) Implementation of - operator, returns
 Andwith error stop | source code |  | 
    |  |  | 
    |  | 
        
          | __mul__(self,
        other) Implementation of * operator, allows use of
 expr * 3in 
      place ofexpr + expr + expr. | source code |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | __xor__(self,
        other) Implementation of ^ operator - returns
 Or | source code |  | 
    |  |  | 
    |  | 
        
          | __and__(self,
        other) Implementation of & operator - returns
 Each | source code |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | suppress(self) Suppresses the output of this
 ParserElement; useful to 
      keep punctuation from cluttering up returned output. | source code |  | 
    |  | 
        
          | leaveWhitespace(self) Disables the skipping of whitespace before matching the characters in
      the
 ParserElement's defined pattern. | source code |  | 
    |  | 
        
          | setWhitespaceChars(self,
        chars) Overrides the default whitespace chars
 | source code |  | 
    |  |  | 
    |  | 
        
          | ignore(self,
        other) Define expression to be ignored (e.g., comments) while doing pattern 
      matching; may be called repeatedly, to define multiple comment or 
      other ignorable patterns.
 | source code |  | 
    |  | 
        
          | setDebugActions(self,
        startAction,
        successAction,
        exceptionAction) Enable display of debugging messages while doing pattern matching.
 | source code |  | 
    |  | 
        
          | setDebug(self,
        flag=True) Enable display of debugging messages while doing pattern matching.
 | source code |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | validate(self,
        validateTrace= [])Check defined expressions for valid structure, check for infinite 
      recursive definitions.
 | source code |  | 
    |  | 
        
          | parseFile(self,
        file_or_filename,
        parseAll=False) Execute the parse expression on the given file or filename.
 | source code |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  |  | 
  
    | Inherited from object:__delattr__,__format__,__getattribute__,__new__,__reduce__,__reduce_ex__,__setattr__,__sizeof__,__subclasshook__ |