Lines Matching refs:linfo
890 linfo = LexerReflect(ldict,log=errorlog,reflags=reflags)
891 linfo.get_all()
893 if linfo.validate_all():
909 debuglog.info("lex: tokens = %r", linfo.tokens)
910 debuglog.info("lex: literals = %r", linfo.literals)
911 debuglog.info("lex: states = %r", linfo.stateinfo)
915 for n in linfo.tokens:
919 if isinstance(linfo.literals,(list,tuple)):
920 lexobj.lexliterals = type(linfo.literals[0])().join(linfo.literals)
922 lexobj.lexliterals = linfo.literals
925 stateinfo = linfo.stateinfo
933 for fname, f in linfo.funcsym[state]:
941 for name,r in linfo.strsym[state]:
954 lexre, re_text, re_names = _form_master_re(regexs[state],reflags,ldict,linfo.toknames)
975 lexobj.lexstateignore = linfo.ignore
979 lexobj.lexstateerrorf = linfo.errorf
980 lexobj.lexerrorf = linfo.errorf.get("INITIAL",None)
987 if not s in linfo.errorf:
989 if not s in linfo.ignore and lexobj.lexignore:
992 if not s in linfo.errorf:
993 linfo.errorf[s] = linfo.errorf.get("INITIAL",None)
994 if not s in linfo.ignore:
995 linfo.ignore[s] = linfo.ignore.get("INITIAL","")