Search.setIndex({envversion:46,filenames:["index","lexer","parser"],objects:{"":{production:[2,3,1,""],token:[1,3,1,""]},"ptk.lexer":{EOF:[1,7,1,""],LexerBase:[1,5,1,""],LexerError:[1,1,1,""],ProgressiveLexer:[1,5,1,""],ReLexer:[1,5,1,""]},"ptk.lexer.LexerBase":{Token:[1,5,1,""],advanceColumn:[1,2,1,""],advanceLine:[1,2,1,""],ignore:[1,8,1,""],newToken:[1,2,1,""],parse:[1,2,1,""],position:[1,2,1,""],setConsumer:[1,2,1,""],tokenTypes:[1,6,1,""]},"ptk.lexer.LexerBase.Token":{type:[1,4,1,""],value:[1,4,1,""]},"ptk.lexer.ProgressiveLexer":{feed:[1,2,1,""]},"ptk.parser":{LRParser:[2,5,1,""],ParseError:[2,1,1,""],leftAssoc:[2,3,1,""],nonAssoc:[2,3,1,""],rightAssoc:[2,3,1,""]},"ptk.parser.LRParser":{newSentence:[2,2,1,""]},"ptk.parser.ParseError":{expecting:[2,2,1,""]},ptk:{lexer:[1,0,0,"-"],parser:[2,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","exception","Python exception"],"2":["py","method","Python method"],"3":["py","function","Python function"],"4":["py","attribute","Python attribute"],"5":["py","class","Python class"],"6":["py","classmethod","Python class method"],"7":["py","data","Python data"],"8":["py","staticmethod","Python static method"]},objtypes:{"0":"py:module","1":"py:exception","2":"py:method","3":"py:function","4":"py:attribute","5":"py:class","6":"py:classmethod","7":"py:data","8":"py:staticmethod"},terms:{"__init__":1,"byte":1,"case":1,"char":1,"class":[1,2],"default":[1,2],"function":2,"import":2,"int":[1,2],"long":2,"return":[1,2],"static":1,"true":1,abl:1,abus:2,action:2,actual:2,add:2,advanc:1,advancecolumn:1,advancelin:1,after:[1,2],alia:1,all:1,allow:2,also:2,altern:2,analysi:0,anyth:2,appear:2,argument:[1,2],associ:2,assum:[1,2],asynchron:1,attribut:1,avail:1,base:1,basic:1,becaus:2,been:2,behavior:2,between:[1,2],binari:2,binaryop:2,bison:2,bnf:2,bracket:2,builtin:1,calcul:2,call:[1,2],can:[1,2],caus:1,chang:[1,2],charact:1,charpo:1,choos:2,choosen:1,classmethod:1,code:[1,2],colno:1,column:1,concret:1,conflict:0,consid:2,consum:1,content:0,context:1,convent:2,correspond:1,count:1,cstring:1,current:1,declar:[1,2],decor:[1,2],def:[1,2],defin:1,definit:1,depend:[1,2],deriv:[1,2],differ:2,directli:1,disambigu:[1,2],don:2,done:1,doubl:2,each:2,easili:1,either:2,elif:1,els:[1,2],end:1,engin:1,eof:1,equal:1,error:2,exampl:2,except:[1,2],exist:2,expect:2,explicit:2,express:1,fashion:1,faster:1,feed:1,field:1,finish:1,first:[1,2],floordiv:2,follow:[1,2],form:2,four:2,from:[1,2],fulli:2,gener:1,getvalu:1,grammar:2,group:2,handi:1,handl:1,have:[1,2],hell:1,here:2,higher:2,hold:1,identifi:[1,2],identifier_or_builtin:1,ignor:1,implement:1,index:0,inherit:2,input:[1,2],instanc:[1,2],integ:2,intend:2,interfac:1,invok:1,item:2,just:1,keyword:2,know:1,later:2,left:2,left_bracket:2,leftassoc:2,len:1,length:1,let:1,level:2,lexer:[1,2],lexerbas:[1,2],lexererror:1,lexic:0,line:1,lineno:1,list:1,longest:1,lookahead:1,lowercas:2,lrparser:2,mai:[1,2],match:[1,2],method:[1,2],minu:2,modifi:1,modul:0,mul:2,must:[1,2],mylex:1,mypars:2,name:[1,2],necessari:1,need:2,neg:1,newsent:2,newtoken:[1,2],non:2,nonassoc:2,none:[1,2],note:2,number:[1,2],object:1,omit:[1,2],onli:[1,2],oper:2,order:1,other:1,overrid:[1,2],own:1,page:0,paramet:[1,2],paren:2,pars:[1,2],parseerror:2,parser:2,pass:[1,2],place:1,plu:2,posit:1,possibl:1,prioriti:2,prod:2,product:0,progress:1,progressivelex:1,pure:1,python:1,quot:2,recogn:1,reduc:2,reduct:2,regex:1,regular:1,relex:[1,2],remark:2,reset:1,resolut:0,resolv:2,right:2,right_bracket:2,rightassoc:2,rule:0,same:2,search:0,second:2,section:2,see:[1,2],seen:1,self:[1,2],sentenc:2,separ:2,set:[1,2],setconsum:1,sever:[1,2],shift:2,should:1,side:2,simpl:[1,2],singl:1,singleton:1,skip:2,slightli:2,slow:1,some:1,soon:1,sourc:[1,2],space:1,specif:2,specifi:2,start:2,state:[1,2],str:1,stream:1,string:1,stringio:1,sub:2,sum:2,symbol:2,symnam:2,syntact:0,syntax:0,tab:1,termin:2,test:1,than:[1,2],thei:1,thi:[1,2],those:2,through:2,thu:2,time:2,tok:[1,2],token:1,tokentyp:1,tupl:1,two:1,type:[1,2],typic:2,unari:2,unaryminu:2,unexpect:2,unicod:1,unrecogn:1,uppercas:2,usag:1,val:2,valid:2,valu:1,variabl:[1,2],variant:2,wai:1,well:[1,2],whatev:1,when:[1,2],which:[1,2],whole:1,win:1,without:1,would:2,wrap:0,write:1,yacc:2,you:[1,2],your:2},titles:["Welcome to ptk&#8217;s documentation!","Lexical analysis","Syntactic analysis"],titleterms:{analysi:[1,2],basic:2,conflict:2,document:0,indic:0,lexic:1,litter:2,product:2,ptk:0,resolut:2,rule:2,semant:2,syntact:2,syntax:2,tabl:0,token:2,valu:2,welcom:0,wrap:2}})