Exemple #1
0
def p_finalv2(t):
    '''finalv     : ID  PUNTO  ID                  
                     '''
    clase = Select("", "", "", "", "")
    clase.type = "IDDOBLE"
    clase.value = t[1]
    t[0] = clase
Exemple #2
0
def p_finalv1(t):
    '''finalv     : ID                      
                     '''
    clase = Select("", "", "", "", "")
    clase.type = "ID"
    clase.value = t[1]
    t[0] = clase
Exemple #3
0
def p_selectclausules(t):
    '''selectclausules     : innert                     
                     '''
    clase = Select("", "", "", "", "")
    clase.type = 'valores'
    clase.value = t[1]
    t[0] = clase
Exemple #4
0
def p_selectbody(t):
    '''selectbody     : ID                      
                     '''
    clase = Select("", "", "", "", "")
    clase.type = "ID"
    clase.value = t[1]
    t[0] = clase
Exemple #5
0
def p_selectclausules2(t):
    'selectclausules     : POR'
    clase = Select("", "", "", "", "")
    clase.type = '*'
    t[0] = clase