@@ -728,6 +728,10 @@ class ScriptTreeGenerator {
728728 return {
729729 kind : 'sensing.second'
730730 } ;
731+ case 'refreshTime' :
732+ return {
733+ kind : 'sensing.refreshTime'
734+ } ;
731735 }
732736 return {
733737 kind : 'constant' ,
@@ -796,25 +800,25 @@ class ScriptTreeGenerator {
796800 return {
797801 kind : 'comments.reporter' ,
798802 value : this . descendInputOfBlock ( block , 'VALUE' ) ,
799- comment : this . descendInputOfBlock ( block , 'COMMENT' ) ,
803+ comment : this . descendInputOfBlock ( block , 'COMMENT' )
800804 } ;
801805 case 'comments_boolean' :
802806 return {
803807 kind : 'comments.boolean' ,
804808 value : this . descendInputOfBlock ( block , 'VALUE' ) ,
805- comment : this . descendInputOfBlock ( block , 'COMMENT' ) ,
809+ comment : this . descendInputOfBlock ( block , 'COMMENT' )
806810 } ;
807811 case 'comments_object' :
808812 return {
809813 kind : 'comments.object' ,
810814 value : this . descendInputOfBlock ( block , 'VALUE' ) ,
811- comment : this . descendInputOfBlock ( block , 'COMMENT' ) ,
815+ comment : this . descendInputOfBlock ( block , 'COMMENT' )
812816 } ;
813817 case 'comments_array' :
814818 return {
815819 kind : 'comments.array' ,
816820 value : this . descendInputOfBlock ( block , 'VALUE' ) ,
817- comment : this . descendInputOfBlock ( block , 'COMMENT' ) ,
821+ comment : this . descendInputOfBlock ( block , 'COMMENT' )
818822 } ;
819823
820824 case 'tw_getLastKeyPressed' :
@@ -834,10 +838,10 @@ class ScriptTreeGenerator {
834838 if ( blockInfo ) {
835839 const type = blockInfo . info . blockType ;
836840 if (
837- type === BlockType . REPORTER
838- || type === BlockType . BOOLEAN
839- || type === BlockType . OBJECT
840- || type === BlockType . ARRAY
841+ type === BlockType . REPORTER ||
842+ type === BlockType . BOOLEAN ||
843+ type === BlockType . OBJECT ||
844+ type === BlockType . ARRAY
841845 ) {
842846 return this . descendCompatLayer ( block ) ;
843847 }
0 commit comments