valueType: idref | nonRefValueType

def visitValueType(self, ctx: jsgParser.ValueTypeContext):
        """ valueType: idref | nonRefValueType """
        if ctx.idref():
            self._typeid = as_token(ctx)
        else:
            self.visitChildren(ctx)