示例#1
0
 def reduce_LSBRACKET_VarType_RSBRACKET_BANG(self, *kids):
     self.val = gqlast.VariableType(name=kids[1].val,
                                    list=True,
                                    nullable=False)
示例#2
0
 def reduce_NameTok_BANG(self, *kids):
     self.val = gqlast.VariableType(name=kids[0].val, nullable=False)
示例#3
0
 def reduce_LSBRACKET_VarType_RSBRACKET(self, *kids):
     self.val = gqlast.VariableType(name=kids[1].val, list=True)
示例#4
0
 def reduce_NameTok(self, *kids):
     self.val = gqlast.VariableType(name=kids[0].val)