Lines Matching refs:linfo
886 linfo = LexerReflect(ldict,log=errorlog,reflags=reflags)
887 linfo.get_all()
889 if linfo.validate_all():
905 debuglog.info("lex: tokens = %r", linfo.tokens)
906 debuglog.info("lex: literals = %r", linfo.literals)
907 debuglog.info("lex: states = %r", linfo.stateinfo)
911 for n in linfo.tokens:
915 if isinstance(linfo.literals,(list,tuple)):
916 lexobj.lexliterals = type(linfo.literals[0])().join(linfo.literals)
918 lexobj.lexliterals = linfo.literals
921 stateinfo = linfo.stateinfo
929 for fname, f in linfo.funcsym[state]:
937 for name,r in linfo.strsym[state]:
950 lexre, re_text, re_names = _form_master_re(regexs[state],reflags,ldict,linfo.toknames)
971 lexobj.lexstateignore = linfo.ignore
975 lexobj.lexstateerrorf = linfo.errorf
976 lexobj.lexerrorf = linfo.errorf.get("INITIAL",None)
983 if not s in linfo.errorf:
985 if not s in linfo.ignore and lexobj.lexignore:
988 if not s in linfo.errorf:
989 linfo.errorf[s] = linfo.errorf.get("INITIAL",None)
990 if not s in linfo.ignore:
991 linfo.ignore[s] = linfo.ignore.get("INITIAL","")