public override object Visit(FunctionStatement that, object value) { VisitRoutine(that, value); /** \note We need to visit embedded call statements and call expressions to encode their profiles too. */ that.Block.Visit(this); return null; }
public override object Visit(FunctionStatement that, object value) { _writer.Write("function "); _writer.Write(BackquoteNameOpt(that.Name.Symbol)); that.Profile.Visit(this); that.Block.Visit(this); _writer.WriteLine(); return null; }
public override object Visit(FunctionStatement that, object value) { that.Profile.Visit(this); Enter(EncodeRoutine(that.Name.Path, that.Encoded)); that.Block.Visit(this, (object) true); Leave(); return null; }
public override object Visit(FunctionStatement that, object value = null) { PrintPrologue(that); PrintRoutine(that); PrintEpilogue(that); that.Name.Visit(this); that.Profile.Visit(this); that.Block.Visit(this); return null; }
public override object Visit(FunctionStatement that, object value = null) { _symbols.EnterBlock(that.Name.Symbol, that); //that.Name.Visit(this); that.Profile.Visit(this); that.Block.Visit(this); _symbols.LeaveBlock(that.Name.Symbol); return null; }