CK.Text.Tests.JSONVisitorTests.JSONDoubleRewriter.VisitTerminalValue C# (CSharp) Method

VisitTerminalValue() protected method

protected VisitTerminalValue ( ) : bool
return bool
            protected override bool VisitTerminalValue()
            {
                Matcher.MatchWhiteSpaces( 0 );
                int idx = Matcher.StartIndex;
                double d;
                if( Matcher.TryMatchDoubleValue( out d ) )
                {
                    Flush( idx );
                    _builder.Append( _rewriter( d ) );
                    _lastWriteIdx = Matcher.StartIndex;
                    return true;
                }
                else return base.VisitTerminalValue();
            }
        }