C# Class Pokemon3D.Scripting.StringEscapeHelper

A base class for classes to implement searches for string delimiters and wrappers.
ファイルを表示 Open project: nilllzz/Pokemon3D Class Usage Examples

Protected Properties

Property Type Description
_endOfString bool
_expression string
_hasStrings bool
_index int
_isString bool
_startChar char

Private Properties

Property Type Description
CheckStartAt void
ContainsWithoutStrings bool
JumpTo void

Protected Methods

Method Description
CheckNext ( ) : void
HasStrings ( string expression ) : bool
StringEscapeHelper ( string expression ) : System.Linq

Private Methods

Method Description
CheckStartAt ( int startIndex ) : void

Checks for string delimiters at the given index.

ContainsWithoutStrings ( string expression, string value ) : bool

Returns if an expression contains a value, disregarding content within string literals.

JumpTo ( int index ) : void

Jumps to the given index, ignoring all chars in between the current index and the new one.

Method Details

CheckNext() protected abstract method

protected abstract CheckNext ( ) : void
return void

HasStrings() protected static method

protected static HasStrings ( string expression ) : bool
expression string
return bool

StringEscapeHelper() protected method

protected StringEscapeHelper ( string expression ) : System.Linq
expression string
return System.Linq

Property Details

_endOfString protected_oe property

protected bool _endOfString
return bool

_expression protected_oe property

protected string _expression
return string

_hasStrings protected_oe property

protected bool _hasStrings
return bool

_index protected_oe property

protected int _index
return int

_isString protected_oe property

protected bool _isString
return bool

_startChar protected_oe property

protected char _startChar
return char