예제 #1
0
def p_CREATETABLE2(t):
    '''CREATETABLE : create table id para LDEF parc HERENCIA ptcoma'''
    listaBNF.append("CREATETABLE ::= create table " + str(t[3]) +
                    " para LDEF parc HERENCIA ptcoma")
    tabla: CreateTable = CreateTable(str(t[3]), t[5])
    tabla.herencia = t[7]
    t[0] = tabla
예제 #2
0
def p_CREATETABLE1(t):
    '''CREATETABLE : create table id para LDEF parc ptcoma'''
    listaBNF.append("CREATETABLE ::= create table " + str(t[3]) +
                    " para LDEF parc ptcoma")
    t[0] = CreateTable(str(t[3]), t[5])
예제 #3
0
def p_CREATETABLE1(t):
    '''CREATETABLE : create table id para LDEF parc ptcoma'''
    t[0] = CreateTable(str(t[3]), t[5])
예제 #4
0
def p_CREATETABLE2(t):
    '''CREATETABLE : create table id para LDEF parc HERENCIA ptcoma'''
    tabla: CreateTable = CreateTable(str(t[3]), t[5])
    tabla.herencia = t[7]
    t[0] = tabla
예제 #5
0
def p_CREATETABLE2(t):
    '''CREATETABLE : create table id para LDEF parc HERENCIA ptcoma'''
    t[0] = CreateTable(str(t[3]), t[5], t[7])