public override object VisitPtrType([NotNull] SLangGrammarParser.PtrTypeContext context) { SlangCustomType customType; customType = context.customType() != null?GetCustomTypeContext(context.customType()) : SlangCustomType.Object; return(new SlangPointerType(customType)); }
public override object VisitPtrType([NotNull] SLangGrammarParser.PtrTypeContext context) { SlangCustomType type; if (context.customType() != null) { type = Visit(context.customType()) as SlangCustomType; } else { type = SlangCustomType.Object; CheckClassExists(type.ModuleName, type.Name, context.LBrace().Symbol); } return new SlangPointerType(type); }