public void CheckSemantics(Scope scope, Report report, RecordDecNode _record) { recordNode = _record; var fieldList = _record.paramsNode.parameters; for (int i = 0; i < fieldList.Count; i++) { if (fieldList[i].id.name == id.name) { fieldType = recordNode.infos[i]; return; } } returnType = scope.FindType("error"); }
protected abstract bool SupportType(Semantics.TypeInfo type);