public override object Visit(ScopeStatement that, object value = null) { _symbols.EnterBlock(that.Name.Symbol, that); that.Block.Visit(this); _symbols.LeaveBlock(that.Name.Symbol); return null; }
public override object Visit(ScopeStatement that, object value = null) { PrintPrologue(that); PrintDefinition(that); PrintNodeId("Block", that.Block); PrintEpilogue(that); that.Name.Visit(this); that.Block.Visit(this); return null; }
public override object Visit(ScopeStatement that, object value) { _writer.Write("scope "); _writer.Write(BackquoteNameOpt(that.Name.Symbol)); _writer.WriteLine(":"); _writer.WriteLine(); that.Block.Visit(this); return null; }
public override object Visit(ScopeStatement that, object value) { that.Block.Visit(this, (object) true); return null; }