C# Class IronRuby.Builtins.MutableStringOps

Mostrar archivo Open project: jschementi/iron

Public Methods

Method Description
CapitalizeMutableString ( MutableString str ) : bool
DownCaseChar ( MutableString self, int index ) : bool
DownCaseMutableString ( MutableString str ) : bool
EachLine ( BlockParam block, MutableString self, [ separator, int start ) : object
GetIndexOfRightmostAlphaNumericCharacter ( MutableString str, int index ) : int
GetQuotedStringRepresentation ( MutableString self, bool isDump, char quote ) : string
IncrementAlphaNumericChar ( MutableString str, int index ) : void
IncrementChar ( MutableString str, int index ) : void
StripInPlace ( MutableString self, bool trimLeft, bool trimRight ) : MutableString
SwapCaseChar ( MutableString self, int index ) : bool
SwapCaseMutableString ( MutableString str ) : bool
UpCaseChar ( MutableString self, int index ) : bool
UpCaseMutableString ( MutableString str ) : bool

Private Methods

Method Description
Append ( MutableString self, [ other ) : MutableString
Append ( MutableString self, int c ) : MutableString
AppendBackslashes ( int backslashCount, MutableString result, int minBackslashes ) : void
AppendGroupByIndex ( IronRuby.Builtins.MatchData match, int index, MutableString result ) : void
AppendLastCharOfLastMatchGroup ( IronRuby.Builtins.MatchData match, MutableString result ) : void
AppendReplacementExpression ( ConversionStorage toS, BinaryOpStorage hashDefault, MutableString input, IronRuby.Builtins.MatchData match, MutableString result, object>.Union replacement ) : void
AppendReplacementExpression ( MutableString input, IronRuby.Builtins.MatchData match, MutableString result, MutableString replacement ) : void
BlockReplaceAll ( ConversionStorage tosConversion, IronRuby.Runtime.RubyScope scope, MutableString input, BlockParam block, RubyRegex regex, object &blockResult, MutableString &result ) : bool
BlockReplaceAll ( ConversionStorage tosConversion, IronRuby.Runtime.RubyScope scope, [ block, MutableString self, [ pattern ) : object
BlockReplaceAllInPlace ( ConversionStorage tosConversion, IronRuby.Runtime.RubyScope scope, [ block, MutableString self, [ pattern ) : object
BlockReplaceFirst ( ConversionStorage tosConversion, IronRuby.Runtime.RubyScope scope, MutableString input, BlockParam block, RubyRegex pattern, object &blockResult, MutableString &result ) : bool
BlockReplaceFirst ( ConversionStorage tosConversion, IronRuby.Runtime.RubyScope scope, [ block, MutableString self, [ pattern ) : object
BlockReplaceFirstInPlace ( ConversionStorage tosConversion, IronRuby.Runtime.RubyScope scope, [ block, MutableString self, [ pattern ) : object
BlockReplaceInPlace ( ConversionStorage tosConversion, IronRuby.Runtime.RubyScope scope, BlockParam block, MutableString self, RubyRegex pattern, bool replaceAll ) : object
Capitalize ( MutableString self ) : MutableString
CapitalizeInPlace ( MutableString self ) : MutableString
Casecmp ( MutableString self, [ other ) : int
Center ( MutableString self, [ length, [ padding ) : MutableString
CharacterSplit ( MutableString str, int limit ) : RubyArray
Chomp ( MutableString self, [ separator ) : MutableString
Chomp ( RubyContext context, MutableString self ) : MutableString
ChompInPlace ( MutableString self, [ separator ) : MutableString
ChompInPlace ( RubyContext context, MutableString self ) : MutableString
ChompTrailingCarriageReturns ( MutableString str, bool removeCarriageReturnsToo ) : MutableString
Chop ( MutableString self ) : MutableString
ChopInPlace ( MutableString self ) : MutableString
ChopInteral ( MutableString self ) : MutableString
Clear ( MutableString self ) : MutableString
Compare ( MutableString self, [ other ) : int
Compare ( BinaryOpStorage comparisonStorage, RespondToStorage respondToStorage, object self, object other ) : object
Concatenate ( MutableString self, [ other ) : MutableString
Count ( RubyContext context, MutableString self ) : object
Create ( RubyClass self ) : MutableString
Create ( RubyClass self, [ value ) : MutableString
Delete ( MutableString self ) : MutableString
DeleteInPlace ( MutableString self ) : MutableString
DownCase ( MutableString self ) : MutableString
DownCaseInPlace ( MutableString self ) : MutableString
Dump ( MutableString self ) : MutableString
EachByte ( MutableString self ) : IronRuby.Builtins.Enumerator
EachByte ( [ block, MutableString self ) : object
EachChar ( MutableString self ) : IronRuby.Builtins.Enumerator
EachChar ( [ block, MutableString self ) : object
EachCodePoint ( MutableString self ) : IronRuby.Builtins.Enumerator
EachCodePoint ( [ block, MutableString self ) : object
EachLine ( MutableString self, [ separator ) : IronRuby.Builtins.Enumerator
EachLine ( RubyContext context, MutableString self ) : IronRuby.Builtins.Enumerator
EachLine ( RubyContext context, [ block, MutableString self ) : object
EachLine ( [ block, MutableString self, [ separator ) : object
Encode ( object>.ConversionStorage toHash, ConversionStorage toStr, MutableString self, [ toEncoding, [ fromEncoding, [ options ) : MutableString
EncodeInPlace ( object>.ConversionStorage toHash, ConversionStorage toStr, MutableString self, [ toEncoding, [ fromEncoding, [ options ) : MutableString
EndsWith ( IronRuby.Runtime.RubyScope scope, MutableString self, [ subString ) : bool
Eql ( MutableString lhs, [ rhs ) : bool
Eql ( MutableString lhs, object rhs ) : bool
Equals ( RespondToStorage respondToStorage, BinaryOpStorage equalsStorage, object self, object other ) : bool
FirstChar ( MutableString self ) : MutableString
ForceEncoding ( MutableString self, [ encoding ) : MutableString
ForceEncoding ( RubyContext context, MutableString self, [ encodingName ) : MutableString
Format ( IronRuby.Builtins.StringFormatterSiteStorage storage, ConversionStorage arrayTryCast, MutableString self, object args ) : MutableString
Format ( IronRuby.Builtins.StringFormatterSiteStorage storage, MutableString self, [ args ) : MutableString
GetBigChecksum ( MutableString self, int start, BigInteger sum, int bitCount ) : BigInteger
GetByte ( MutableString self, [ index ) : object
GetByteCount ( MutableString self ) : int
GetChar ( MutableString self, [ index ) : MutableString
GetCharacterCount ( MutableString self ) : int
GetChecksum ( MutableString self, [ bitCount ) : object
GetEncoding ( MutableString self ) : IronRuby.Builtins.RubyEncoding
GetReversed ( MutableString self ) : MutableString
GetSubstring ( ConversionStorage fixnumCast, MutableString self, [ range ) : MutableString
GetSubstring ( MutableString self, [ searchStr ) : MutableString
GetSubstring ( MutableString self, [ start, [ count ) : MutableString
GetSubstring ( IronRuby.Runtime.RubyScope scope, MutableString self, [ regex ) : MutableString
GetSubstring ( IronRuby.Runtime.RubyScope scope, MutableString self, [ regex, [ occurrance ) : MutableString
GetTranslated ( MutableString self, [ from, [ to ) : MutableString
GetTrimRange ( MutableString str, bool left, bool right, int &leftIndex, int &rightIndex ) : void
GetTrimRange ( int length, bool>.Func trimLeft, bool>.Func trimRight, int &leftIndex, int &rightIndex ) : void
InExclusiveRangeNormalized ( int length, int &index ) : bool
InInclusiveRangeNormalized ( MutableString str, int &index ) : bool
Include ( MutableString str, [ subString ) : bool
Include ( MutableString str, int c ) : bool
Index ( MutableString self, [ substring, [ start ) : object
Index ( IronRuby.Runtime.RubyScope scope, MutableString self, [ regex, [ start ) : object
Insert ( MutableString self, [ start, [ value ) : MutableString
Inspect ( RubyContext context, MutableString self ) : MutableString
InternalChomp ( MutableString self, MutableString separator ) : MutableString
InternalCount ( MutableString self, MutableString ranges ) : object
InternalDelete ( MutableString self, MutableString ranges ) : MutableString
InternalDeleteInPlace ( MutableString self, MutableString ranges ) : MutableString
InternalSplit ( MutableString str, MutableString separator, int limit ) : RubyArray
IsAscii ( MutableString self ) : bool
IsEmpty ( MutableString self ) : bool
LastIndexOf ( MutableString self, [ substring ) : object
LastIndexOf ( MutableString self, [ substring, [ start ) : object
LastIndexOf ( IronRuby.Runtime.RubyScope scope, MutableString self, [ regex, [ start ) : object
LeftJustify ( MutableString self, [ width ) : MutableString
LeftJustify ( MutableString self, [ width, [ padding ) : MutableString
MakeRubyArray ( MutableString self, MutableString elements ) : RubyArray
MakeRubyArray ( MutableString self, MutableString elements, int start, int count ) : RubyArray
Match ( BinaryOpStorageWithScope storage, IronRuby.Runtime.RubyScope scope, MutableString self, [ regex ) : object
Match ( BinaryOpStorageWithScope storage, IronRuby.Runtime.RubyScope scope, MutableString self, object obj ) : object
Match ( MutableString self, [ str ) : object
Match ( IronRuby.Runtime.RubyScope scope, MutableString self, [ regex ) : object
MatchToScanResult ( IronRuby.Runtime.RubyScope scope, MutableString self, RubyRegex regex, IronRuby.Builtins.MatchData match ) : object
NormalizeInsertIndex ( int index, int length ) : int
NormalizeStart ( int length, int &start ) : bool
NormalizeSubstringRange ( ConversionStorage fixnumCast, Range range, int length, int &begin, int &count ) : bool
NormalizeSubstringRange ( int length, int &start, int &count ) : bool
Ord ( MutableString str ) : int
Reinitialize ( MutableString self ) : MutableString
Reinitialize ( MutableString self, [ other ) : MutableString
RemoveCharInPlace ( RubyContext context, MutableString self, [ index ) : object
RemoveSubstringInPlace ( ConversionStorage fixnumCast, MutableString self, [ range ) : MutableString
RemoveSubstringInPlace ( MutableString self, [ searchStr ) : MutableString
RemoveSubstringInPlace ( MutableString self, [ start, [ length ) : MutableString
RemoveSubstringInPlace ( IronRuby.Runtime.RubyScope scope, MutableString self, [ regex ) : MutableString
RemoveSubstringInPlace ( IronRuby.Runtime.RubyScope scope, MutableString self, [ regex, [ occurrance ) : MutableString
RemoveTrailingEmptyItems ( RubyArray array ) : void
Repeat ( MutableString self, [ times ) : MutableString
Replace ( MutableString self, [ other ) : MutableString
ReplaceAll ( ConversionStorage toS, BinaryOpStorage hashDefault, IronRuby.Runtime.RubyScope scope, MutableString input, object>.Union replacement, RubyRegex regex ) : MutableString
ReplaceAll ( ConversionStorage toS, BinaryOpStorage hashDefault, IronRuby.Runtime.RubyScope scope, MutableString self, [ pattern, object>.[ replacement ) : MutableString
ReplaceAll ( IronRuby.Runtime.RubyScope scope, MutableString self, [ pattern, [ replacement ) : MutableString
ReplaceAllInPlace ( ConversionStorage toS, BinaryOpStorage hashDefault, IronRuby.Runtime.RubyScope scope, MutableString self, [ pattern, object>.[ replacement ) : MutableString
ReplaceAllInPlace ( IronRuby.Runtime.RubyScope scope, MutableString self, [ pattern, [ replacement ) : MutableString
ReplaceCharacter ( MutableString self, [ index, [ value ) : MutableString
ReplaceFirst ( ConversionStorage toS, BinaryOpStorage hashDefault, IronRuby.Runtime.RubyScope scope, MutableString input, object>.Union replacement, RubyRegex pattern ) : MutableString
ReplaceFirst ( ConversionStorage toS, BinaryOpStorage hashDefault, IronRuby.Runtime.RubyScope scope, MutableString self, [ pattern, object>.[ replacement ) : MutableString
ReplaceFirst ( IronRuby.Runtime.RubyScope scope, MutableString self, [ pattern, [ replacement ) : MutableString
ReplaceFirstInPlace ( ConversionStorage toS, BinaryOpStorage hashDefault, IronRuby.Runtime.RubyScope scope, MutableString self, [ pattern, object>.[ replacement ) : MutableString
ReplaceFirstInPlace ( IronRuby.Runtime.RubyScope scope, MutableString self, [ pattern, [ replacement ) : MutableString
ReplaceInPlace ( ConversionStorage toS, BinaryOpStorage hashDefault, IronRuby.Runtime.RubyScope scope, MutableString self, RubyRegex pattern, object>.Union replacement, bool replaceAll ) : MutableString
ReplaceSubstring ( ConversionStorage fixnumCast, MutableString self, [ range, [ value ) : MutableString
ReplaceSubstring ( MutableString self, [ substring, [ value ) : MutableString
ReplaceSubstring ( MutableString self, [ start, [ charsToOverwrite, [ value ) : MutableString
ReplaceSubstring ( RubyContext context, MutableString self, [ regex, [ groupIndex, [ value ) : MutableString
RequireNoVersionChange ( MutableString self ) : void
Reverse ( MutableString self ) : MutableString
RightJustify ( MutableString self, [ width ) : MutableString
RightJustify ( MutableString self, [ width, [ padding ) : MutableString
Scan ( IronRuby.Runtime.RubyScope scope, MutableString self, [ regex ) : RubyArray
Scan ( IronRuby.Runtime.RubyScope scope, [ block, MutableString self, [ regex ) : object
SetByte ( MutableString self, [ index, [ value ) : MutableString
SetCharacter ( MutableString self, [ index, int value ) : int
Split ( ConversionStorage stringCast, MutableString self ) : RubyArray
Split ( ConversionStorage stringCast, MutableString self, [ separator, [ limit ) : RubyArray
Squeeze ( RubyContext context, MutableString self ) : MutableString
SqueezeInPlace ( RubyContext context, MutableString self ) : MutableString
SqueezeMutableString ( MutableString str, MutableString ranges ) : MutableString
StartsWith ( IronRuby.Runtime.RubyScope scope, MutableString self, [ subString ) : bool
StringEquals ( MutableString lhs, [ rhs ) : bool
Strip ( MutableString str, bool trimLeft, bool trimRight ) : MutableString
Strip ( RubyContext context, MutableString self ) : MutableString
StripInPlace ( RubyContext context, MutableString self ) : MutableString
StripLeft ( RubyContext context, MutableString self ) : MutableString
StripLeftInPlace ( RubyContext context, MutableString self ) : MutableString
StripRight ( RubyContext context, MutableString self ) : MutableString
StripRightInPlace ( RubyContext context, MutableString self ) : MutableString
Succ ( MutableString self ) : MutableString
SuccInPlace ( MutableString self ) : MutableString
SwapCase ( MutableString self ) : MutableString
SwapCaseInPlace ( MutableString self ) : MutableString
ToClrString ( MutableString str ) : string
ToDouble ( MutableString self ) : double
ToInteger ( MutableString self, [ @base ) : object
ToIntegerHex ( MutableString self ) : object
ToIntegerOctal ( MutableString self ) : object
ToS ( MutableString self ) : MutableString
ToSymbol ( RubyContext context, MutableString self ) : RubySymbol
TrSqueeze ( MutableString self, [ from, [ to ) : MutableString
TrSqueezeInPlace ( MutableString self, [ from, [ to ) : MutableString
Translate ( MutableString src, MutableString from, MutableString to, bool inplace, bool squeeze, bool &anyCharacterMaps ) : MutableString
Translate ( MutableString self, [ from, [ to ) : MutableString
Unpack ( MutableString self, [ format ) : RubyArray
UpCase ( MutableString self ) : MutableString
UpCaseInPlace ( MutableString self ) : MutableString
UpTo ( RangeOps storage, MutableString self, [ endString ) : Enumerator
UpTo ( RangeOps storage, [ block, MutableString self, [ endString ) : object
ValidEncoding ( MutableString self ) : bool
WhitespaceSplit ( MutableString str, int limit ) : RubyArray

Method Details

CapitalizeMutableString() public static method

public static CapitalizeMutableString ( MutableString str ) : bool
str MutableString
return bool

DownCaseChar() public static method

public static DownCaseChar ( MutableString self, int index ) : bool
self MutableString
index int
return bool

DownCaseMutableString() public static method

public static DownCaseMutableString ( MutableString str ) : bool
str MutableString
return bool

EachLine() public static method

public static EachLine ( BlockParam block, MutableString self, [ separator, int start ) : object
block IronRuby.Runtime.BlockParam
self MutableString
separator [
start int
return object

GetIndexOfRightmostAlphaNumericCharacter() public static method

public static GetIndexOfRightmostAlphaNumericCharacter ( MutableString str, int index ) : int
str MutableString
index int
return int

GetQuotedStringRepresentation() public static method

public static GetQuotedStringRepresentation ( MutableString self, bool isDump, char quote ) : string
self MutableString
isDump bool
quote char
return string

IncrementAlphaNumericChar() public static method

public static IncrementAlphaNumericChar ( MutableString str, int index ) : void
str MutableString
index int
return void

IncrementChar() public static method

public static IncrementChar ( MutableString str, int index ) : void
str MutableString
index int
return void

StripInPlace() public static method

public static StripInPlace ( MutableString self, bool trimLeft, bool trimRight ) : MutableString
self MutableString
trimLeft bool
trimRight bool
return MutableString

SwapCaseChar() public static method

public static SwapCaseChar ( MutableString self, int index ) : bool
self MutableString
index int
return bool

SwapCaseMutableString() public static method

public static SwapCaseMutableString ( MutableString str ) : bool
str MutableString
return bool

UpCaseChar() public static method

public static UpCaseChar ( MutableString self, int index ) : bool
self MutableString
index int
return bool

UpCaseMutableString() public static method

public static UpCaseMutableString ( MutableString str ) : bool
str MutableString
return bool