示例#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])