예제 #1
0
파일: kifax.py 프로젝트: AwelEshetu/cwm
def p_termlist_specialOps(t):
    '''termlist : PLUS
                | GT
                | GTE
                | LT
                | LTE '''
    t[0] = [kb.constantFor(t[1])]
예제 #2
0
파일: kifax.py 프로젝트: weyls/swap
def p_termlist_specialOps(t):
    '''termlist : PLUS
                | GT
                | GTE
                | LT
                | LTE '''
    t[0] = [kb.constantFor(t[1])]
예제 #3
0
파일: kifax.py 프로젝트: AwelEshetu/cwm
def p_term_quotedstring(t):
    '''term : QUOTEDSTRING'''
    t[0] = kb.constantFor(t[1])
def p_term_quotedstrin(t):
    '''term : QUOTEDSTRING'''
    t[0] = kb.constantFor(t[1])