Home | History | Annotate | Download | only in ply

Lines Matching refs:initial

124         self.lexstate = "INITIAL"     # Current lexer state
185 # Collect all functions in the initial state
186 initial = self.lexstatere["INITIAL"]
188 for part in initial:
246 self.begin('INITIAL')
529 states = ('INITIAL',)
550 self.stateinfo = { 'INITIAL' : 'inclusive'}
868 stateinfo = { 'INITIAL' : 'inclusive'}
962 # For inclusive states, we need to add the regular expressions from the INITIAL state
964 if state != "INITIAL" and stype == 'inclusive':
965 lexobj.lexstatere[state].extend(lexobj.lexstatere['INITIAL'])
966 lexobj.lexstateretext[state].extend(lexobj.lexstateretext['INITIAL'])
967 lexobj.lexstaterenames[state].extend(lexobj.lexstaterenames['INITIAL'])
970 lexobj.lexre = lexobj.lexstatere["INITIAL"]
971 lexobj.lexretext = lexobj.lexstateretext["INITIAL"]
976 lexobj.lexignore = lexobj.lexstateignore.get("INITIAL","")
980 lexobj.lexerrorf = linfo.errorf.get("INITIAL",None)
993 linfo.errorf[s] = linfo.errorf.get("INITIAL",None)
995 linfo.ignore[s] = linfo.ignore.get("INITIAL","")