@@ -579,9 +579,9 @@ protected ExpressionDrawer.Point LoadPointParsed(Debugger debugger, string name,
579579 bool okx = true , oky = true ;
580580 double x = 0 , y = 0 ;
581581 if ( count > 0 )
582- okx = ExpressionParser . TryLoadAsDoubleParsed ( debugger , ptrName + "[0]" , out x ) ;
582+ okx = ExpressionParser . TryLoadDouble ( debugger , ptrName + "[0]" , out x ) ;
583583 if ( count > 1 )
584- oky = ExpressionParser . TryLoadAsDoubleParsed ( debugger , ptrName + "[1]" , out y ) ;
584+ oky = ExpressionParser . TryLoadDouble ( debugger , ptrName + "[1]" , out y ) ;
585585 return Util . IsOk ( okx , oky )
586586 ? new ExpressionDrawer . Point ( x , y )
587587 : null ;
@@ -918,7 +918,7 @@ public override void Load(Loaders loaders, MemoryReader mreader, Debugger debugg
918918 Geometry . Point center = pointLoader . LoadPoint ( mreader , debugger ,
919919 m_center , pointType ) ;
920920 double radius = 0 ;
921- bool ok = ExpressionParser . TryLoadAsDoubleParsed ( debugger , m_radius , out radius ) ;
921+ bool ok = ExpressionParser . TryLoadDouble ( debugger , m_radius , out radius ) ;
922922
923923 result = Util . IsOk ( center , ok )
924924 ? new ExpressionDrawer . NSphere ( center , radius )
@@ -1706,7 +1706,7 @@ ContainerLoader ElementsLoader(Loaders loaders, Debugger debugger,
17061706
17071707 int LoadSize ( Debugger debugger , string name )
17081708 {
1709- return ExpressionParser . LoadSizeParsed ( debugger , name + ".m_members.values_count" ) ;
1709+ return ExpressionParser . LoadSize ( debugger , name + ".m_members.values_count" ) ;
17101710 }
17111711
17121712 string RootNodePtr ( string name )
@@ -1724,7 +1724,7 @@ bool IsLeaf(Debugger debugger, string nodePtrName, out bool result)
17241724 result = false ;
17251725
17261726 int which = 0 ;
1727- if ( ! ExpressionParser . TryLoadIntParsed ( debugger , nodePtrName + "->which_" , out which ) )
1727+ if ( ! ExpressionParser . TryLoadInt ( debugger , nodePtrName + "->which_" , out which ) )
17281728 return false ;
17291729
17301730 result = ( which == 0 ) ;
@@ -1778,10 +1778,10 @@ public override void Load(Loaders loaders, MemoryReader mreader, Debugger debugg
17781778 result = null ;
17791779
17801780 double x0 = 0 , y0 = 0 , x1 = 0 , y1 = 0 ;
1781- bool okx0 = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".points_[0].coords_[0]" , out x0 ) ;
1782- bool oky0 = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".points_[0].coords_[1]" , out y0 ) ;
1783- bool okx1 = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".points_[1].coords_[0]" , out x1 ) ;
1784- bool oky1 = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".points_[1].coords_[1]" , out y1 ) ;
1781+ bool okx0 = ExpressionParser . TryLoadDouble ( debugger , name + ".points_[0].coords_[0]" , out x0 ) ;
1782+ bool oky0 = ExpressionParser . TryLoadDouble ( debugger , name + ".points_[0].coords_[1]" , out y0 ) ;
1783+ bool okx1 = ExpressionParser . TryLoadDouble ( debugger , name + ".points_[1].coords_[0]" , out x1 ) ;
1784+ bool oky1 = ExpressionParser . TryLoadDouble ( debugger , name + ".points_[1].coords_[1]" , out y1 ) ;
17851785
17861786 if ( ! Util . IsOk ( okx0 , oky0 , okx1 , oky1 ) )
17871787 return ;
@@ -1806,10 +1806,10 @@ public override void Load(Loaders loaders, MemoryReader mreader, Debugger debugg
18061806 result = null ;
18071807
18081808 double xl = 0 , xh = 0 , yl = 0 , yh = 0 ;
1809- bool okxl = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".ranges_[0].coords_[0]" , out xl ) ;
1810- bool okxh = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".ranges_[0].coords_[1]" , out xh ) ;
1811- bool okyl = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".ranges_[1].coords_[0]" , out yl ) ;
1812- bool okyh = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".ranges_[1].coords_[1]" , out yh ) ;
1809+ bool okxl = ExpressionParser . TryLoadDouble ( debugger , name + ".ranges_[0].coords_[0]" , out xl ) ;
1810+ bool okxh = ExpressionParser . TryLoadDouble ( debugger , name + ".ranges_[0].coords_[1]" , out xh ) ;
1811+ bool okyl = ExpressionParser . TryLoadDouble ( debugger , name + ".ranges_[1].coords_[0]" , out yl ) ;
1812+ bool okyh = ExpressionParser . TryLoadDouble ( debugger , name + ".ranges_[1].coords_[1]" , out yh ) ;
18131813
18141814 if ( ! Util . IsOk ( okxl , okxh , okyl , okyh ) )
18151815 return ;
@@ -1955,7 +1955,7 @@ public override void Load(Loaders loaders, MemoryReader mreader, Debugger debugg
19551955 result = null ;
19561956
19571957 int which = 0 ;
1958- if ( ! ExpressionParser . TryLoadIntParsed ( debugger , name + ".which_" , out which ) )
1958+ if ( ! ExpressionParser . TryLoadInt ( debugger , name + ".which_" , out which ) )
19591959 return ;
19601960
19611961 List < string > tparams = Util . Tparams ( type ) ;
@@ -1986,8 +1986,8 @@ public override Geometry.Traits LoadTraits(string type)
19861986 protected override ExpressionDrawer . Point LoadPointParsed ( Debugger debugger , string name , string type )
19871987 {
19881988 double x = 0 , y = 0 ;
1989- bool okx = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".first" , out x ) ;
1990- bool oky = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + ".second" , out y ) ;
1989+ bool okx = ExpressionParser . TryLoadDouble ( debugger , name + ".first" , out x ) ;
1990+ bool oky = ExpressionParser . TryLoadDouble ( debugger , name + ".second" , out y ) ;
19911991 return Util . IsOk ( okx , oky )
19921992 ? new ExpressionDrawer . Point ( x , y )
19931993 : null ;
@@ -2384,7 +2384,7 @@ protected void LoadParsed(Debugger debugger, string name,
23842384 bool ok = loader . ForEachElement ( debugger , name , delegate ( string elName )
23852385 {
23862386 double value = 0 ;
2387- bool okV = ExpressionParser . TryLoadAsDoubleParsed ( debugger , elName , out value ) ;
2387+ bool okV = ExpressionParser . TryLoadDouble ( debugger , elName , out value ) ;
23882388 if ( okV )
23892389 values . Add ( value ) ;
23902390 return okV ;
@@ -2517,8 +2517,8 @@ public override Geometry.Traits LoadTraits(string type)
25172517 protected override ExpressionDrawer . Point LoadPointParsed ( Debugger debugger , string name , string type )
25182518 {
25192519 double x = 0 , y = 0 ;
2520- bool okx = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + "." + member_x , out x ) ;
2521- bool oky = ExpressionParser . TryLoadAsDoubleParsed ( debugger , name + "." + member_y , out y ) ;
2520+ bool okx = ExpressionParser . TryLoadDouble ( debugger , name + "." + member_x , out x ) ;
2521+ bool oky = ExpressionParser . TryLoadDouble ( debugger , name + "." + member_y , out y ) ;
25222522 return Util . IsOk ( okx , oky )
25232523 ? new ExpressionDrawer . Point ( x , y )
25242524 : null ;
0 commit comments