Beispiel #1
0
 public virtual TReturn Visit(FuncProtoDeclaration node, TParam param) => throw new NotImplementedException();
Beispiel #2
0
 public FuncType(SourceRange source, FuncProtoDeclaration declaration) : base(source)
     => Declaration = declaration;
Beispiel #3
0
 public virtual TReturn Visit(FuncProtoDeclaration node, TParam param)
 {
     node.ReturnType?.Accept(this, param);
     node.Parameters.ForEach(p => p.Accept(this, param));
     return(DefaultReturn);
 }
Beispiel #4
0
 public override Void Visit(FuncProtoDeclaration node, Void param)
 {
     node.ReturnType = Clean(node.ReturnType);
     return(base.Visit(node, param));
 }