Пример #1
0
 def p_surface_label(self, p):
     '''surface_specifier : FACE ID
                          | SURFACE ID
                          | COLUMN ID
                          | SEAL ID
                          | HEADING ID'''
     p[0] = OraccNamedObject(p[1], p[2])
Пример #2
0
 def p_surface_label(self, p):
     '''surface_specifier : FACE ID
                          | SURFACE ID
                          | COLUMN ID
                          | SEAL ID
                          | HEADING ID'''
     p[0] = OraccNamedObject(p[1], p[2])
     if str(p[2]) == "column":
         objStructure.IncrementColumnCounter()
     else:
         objStructure.SetSurface(str(p[0]))
Пример #3
0
 def p_object_label(self, p):
     '''object_specifier : FRAGMENT ID
                         | OBJECT ID
                         | TABLET REFERENCE'''
     p[0] = OraccNamedObject(p[1], p[2])
     objStructure.SetObjectType(str(p[2]))
Пример #4
0
 def p_object_label(self, p):
     '''object_specifier : FRAGMENT ID
                         | OBJECT ID
                         | TABLET REFERENCE'''
     p[0] = OraccNamedObject(p[1], p[2])