def p_node_expression(self, t):
    '''node_expression : IDENT'''
    if len(t)<3 :
      t[0]=t[1]
      #print(t[1]
      self.accu.add(Term('vertex', ["gen(\""+t[1]+"\")"]))
    else : t[0] = "unknown"
def p_node_expression ( self , t ) : if len ( t ) < 3 : t [ 0 ] = t [ 1 ] self . accu . add ( Term ( 'vertex' , [ "gen(\"" + t [ 1 ] + "\")" ] ) ) else : t [ 0 ] = "unknown"
node_expression : IDENT