Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pump.py File Reference

Go to the source code of this file.

Classes

class  pump.Cursor
 
class  pump.Token
 
class  pump.CodeNode
 
class  pump.VarNode
 
class  pump.RangeNode
 
class  pump.ForNode
 
class  pump.ElseNode
 
class  pump.IfNode
 
class  pump.RawCodeNode
 
class  pump.LiteralDollarNode
 
class  pump.ExpNode
 
class  pump.Env
 
class  pump.Output
 

Namespaces

namespace  pump
 

Functions

def pump.Eof
 
def pump.StartsWith
 
def pump.FindFirstInLine
 
def pump.FindFirst
 
def pump.SubString
 
def pump.StripMetaComments
 
def pump.MakeToken
 
def pump.ParseToken
 
def pump.Skip
 
def pump.SkipUntil
 
def pump.ParseExpTokenInParens
 
def pump.RStripNewLineFromToken
 
def pump.TokenizeLines
 
def pump.Tokenize
 
def pump.PopFront
 
def pump.PushFront
 
def pump.PopToken
 
def pump.PeekToken
 
def pump.ParseExpNode
 
def pump.ParseElseNode
 
def pump.ParseAtomicCodeNode
 
def pump.ParseCodeNode
 
def pump.ParseToAST
 
def pump.RunAtomicCode
 
def pump.RunCode
 
def pump.IsSingleLineComment
 
def pump.IsInPreprocessorDirective
 
def pump.WrapComment
 
def pump.WrapCode
 
def pump.WrapPreprocessorDirective
 
def pump.WrapPlainCode
 
def pump.IsMultiLineIWYUPragma
 
def pump.IsHeaderGuardIncludeOrOneLineIWYUPragma
 
def pump.WrapLongLine
 
def pump.BeautifyCode
 
def pump.ConvertFromPumpSource
 
def pump.main
 

Variables

string pump.__author__ 'wan@google.com (Zhanyong Wan)'
 
list pump.TOKEN_TABLE
 
tuple pump.ID_REGEX re.compile(r'[_A-Za-z]\w*')
 
tuple pump.EQ_REGEX re.compile(r'=')
 
tuple pump.REST_OF_LINE_REGEX re.compile(r'.*?(?=$|\$\$)')
 
tuple pump.OPTIONAL_WHITE_SPACES_REGEX re.compile(r'\s*')
 
tuple pump.WHITE_SPACE_REGEX re.compile(r'\s')
 
tuple pump.DOT_DOT_REGEX re.compile(r'\.\.')