[Gregor.Core.Parse]

Gregor.Core.Parse

Saturday, September 15, 2007

Defined in Gregor.Core, namespace Gregor.Core.

Details

public static class Gregor.Core.Parse

Custom Attributes: Gregor.Core.Module()

Description: 


Members

Parse

static private Parse()

Custom Attributes: 

Description: 

Parse

public Parse()

Custom Attributes: 

Description: 

s_ArgumentDelimiters

static private System.Char[] s_ArgumentDelimiters

Custom Attributes: 

Description: 

s_IdentifierSeparators

static private System.Char[] s_IdentifierSeparators

Custom Attributes: 

Description: 

s_LineBreakChars

static private System.Char[] s_LineBreakChars

Custom Attributes: 

Description: 

s_StandardDelimiters

static private System.Char[] s_StandardDelimiters

Custom Attributes: 

Description: 

AlignText

static public System.String AlignText(System.String s, System.Int32 width, Gregor.Core.CellAlignment alignment, Gregor.Core.CellOverflow overflow)

Custom Attributes: 

Description: 

AlignText

static public System.String AlignText(System.String s, System.Int32 width)

Custom Attributes: 

Description: 

ApplyOverflow

static private System.String ApplyOverflow(System.String s, Gregor.Core.CellOverflow overflow, System.Int32 iStart, System.Int32 nMaxLength)

Custom Attributes: 

Description: 

ByteArrayToString

static private System.String ByteArrayToString(System.Byte[] ab)

Custom Attributes: 

Description: 

ByteArrayToString

static private System.String ByteArrayToString(System.Byte[] ab, System.String sFormat, System.String sSep)

Custom Attributes: 

Description: 

ContainsLineBreaks

static public System.Boolean ContainsLineBreaks(System.String s)

Custom Attributes: 

Description: 

CorrectLineBreaks

static public System.String CorrectLineBreaks(System.String s, System.String sNewLine)

Custom Attributes: 

Description: 

DecodeEntities

static public System.String DecodeEntities(System.String s)

Custom Attributes: 

Description: 

DoFindAll

static private System.Int32[] DoFindAll(System.String s, System.String sToFind, Gregor.Core.TextFindOptions options, System.Int32 iStart, System.Int32 nLength, System.Int32 cHitsMax)

Custom Attributes: 

Description: 

DoFindAllEx

static private Gregor.Core.LocationEx[] DoFindAllEx(System.String s, System.String sToFind, Gregor.Core.TextFindOptions options, System.Int32 iStart, System.Int32 nLength, System.Int32 cHitsMax)

Custom Attributes: 

Description: 

EncodeEntities

static public System.String EncodeEntities(System.String s)

Custom Attributes: 

Description: 

EnsureStringEndsWith

static public System.String EnsureStringEndsWith(System.String s, System.String sPostfix, System.Boolean fIgnoreCase)

Custom Attributes: 

Description: 

EnsureStringEndsWithout

static public System.String EnsureStringEndsWithout(System.String s, System.String sPostfix, System.Boolean fIgnoreCase)

Custom Attributes: 

Description: 

EnsureStringStartsWith

static public System.String EnsureStringStartsWith(System.String s, System.String sPrefix, System.Boolean fIgnoreCase)

Custom Attributes: 

Description: 

EnsureStringStartsWithout

static public System.String EnsureStringStartsWithout(System.String s, System.String sPrefix, System.Boolean fIgnoreCase)

Custom Attributes: 

Description: 

Escape

static public System.String Escape(System.String sUnEscaped, Gregor.Core.ISyntaxProvider provider)

Custom Attributes: 

Description: 

Escape

static public System.String Escape(System.String sUnEscaped)

Custom Attributes: 

Description: 

ExistsTextInFile

static public System.Boolean ExistsTextInFile(System.String sFile, System.String sToFind, Gregor.Core.TextFindOptions options)

Custom Attributes: 

Description: 

ExpandLine

static public System.String ExpandLine(System.String s, System.Int32 iPos)

Custom Attributes: 

Description: 

ExpandLine

static public System.String ExpandLine(System.String s, System.Int32 iPos, out System.Int32 iLineStart)

Custom Attributes: 
iLineStart - System.Runtime.InteropServices.Out()

Description: 

ExtractAfter

static public System.String ExtractAfter(System.String s, System.String sSep)

Custom Attributes: 

Description: 

ExtractAfterLast

static public System.String ExtractAfterLast(System.String s, System.String sSep)

Custom Attributes: 

Description: 

ExtractBefore

static public System.String ExtractBefore(System.String s, System.String sSep)

Custom Attributes: 

Description: 

ExtractBeforeLast

static public System.String ExtractBeforeLast(System.String s, System.String sSep)

Custom Attributes: 

Description: 

ExtractBetween

static public System.String ExtractBetween(System.String s, System.String sSepBefore, System.String sSepAfter)

Custom Attributes: 

Description: 

ExtractBetweenAll

static public System.String[] ExtractBetweenAll(System.String s, System.String sSepBefore, System.String sSepAfter)

Custom Attributes: 

Description: 

ExtractBetweenLast

static public System.String ExtractBetweenLast(System.String s, System.String sSepBefore, System.String sSepAfter)

Custom Attributes: 

Description: 

FindAll

static public System.Int32[] FindAll(System.String s, System.String sToFind, Gregor.Core.TextFindOptions options, System.Int32 iStart, System.Int32 nLength)

Custom Attributes: 

Description: 

FindAll

static public System.Int32[] FindAll(System.String s, System.String sToFind, Gregor.Core.TextFindOptions options)

Custom Attributes: 

Description: 

FindAllEx

static public Gregor.Core.LocationEx[] FindAllEx(System.String s, System.String sToFind, Gregor.Core.TextFindOptions options)

Custom Attributes: 

Description: 

FindAllEx

static public Gregor.Core.LocationEx[] FindAllEx(System.String s, System.String sToFind, Gregor.Core.TextFindOptions options, System.Int32 iStart, System.Int32 nLength, System.Int32 cHitsMax)

Custom Attributes: 

Description: 

FindOne

static public System.Int32 FindOne(System.String s, System.String sToFind, Gregor.Core.TextFindOptions options, System.Int32 iStart, System.Int32 nLength)

Custom Attributes: 

Description: 

FindOne

static public System.Int32 FindOne(System.String s, System.String sToFind, Gregor.Core.TextFindOptions options)

Custom Attributes: 

Description: 

FindTextInFile

static public System.Int32[] FindTextInFile(System.String sFile, System.String sToFind, Gregor.Core.TextFindOptions options)

Custom Attributes: 

Description: 

GetArgumentDelimiters

static public System.Char[] GetArgumentDelimiters()

Custom Attributes: 

Description: 

GetByteString

static private System.String GetByteString(System.Text.Encoding enc, System.String s)

Custom Attributes: 

Description: 

GetCharacterInformation

static public System.String GetCharacterInformation(System.Char c)

Custom Attributes: 

Description: 

GetCharacterProperties

static private System.String GetCharacterProperties(System.Char c)

Custom Attributes: 

Description: 

GetCountOf

static public System.Int32 GetCountOf(System.String s, System.String sFind, System.Int32 iStart, System.Int32 nLength)

Custom Attributes: 

Description: 

GetCountOf

static public System.Int32 GetCountOf(System.String s, System.String sFind)

Custom Attributes: 

Description: 

GetFirstCharIndex

static public System.Int32 GetFirstCharIndex(System.String s)

Custom Attributes: 

Description: 

GetFirstLine

static public System.String GetFirstLine(System.String s, Gregor.Core.StringFilterOption filter)

Custom Attributes: 

Description: 

GetIdentifierSeparators

static public System.Char[] GetIdentifierSeparators()

Custom Attributes: 

Description: 

GetLastCharIndex

static public System.Int32 GetLastCharIndex(System.String s)

Custom Attributes: 

Description: 

GetLineBreakChars

static public System.Char[] GetLineBreakChars()

Custom Attributes: 

Description: 

GetLineBreakInfo

static private void GetLineBreakInfo(System.String s, out System.Int32 cLineBreaks, out System.Int32 iLastLineStart)

Custom Attributes: 
cLineBreaks - System.Runtime.InteropServices.Out()
iLastLineStart - System.Runtime.InteropServices.Out()

Description: 

GetLocation

static public Gregor.Core.Location GetLocation(System.String s, System.Int32 iPos)

Custom Attributes: 

Description: 

GetLocationEx

static public void GetLocationEx(System.String s, System.Int32 iPos, out Gregor.Core.Location loc, out System.Int32 iLineStart, out System.String sLineText)

Custom Attributes: 
loc - System.Runtime.InteropServices.Out()
iLineStart - System.Runtime.InteropServices.Out()
sLineText - System.Runtime.InteropServices.Out()

Description: 

GetLocationHint

static public System.String GetLocationHint(System.String s, System.Int32 iPos)

Custom Attributes: 

Description: 

GetMaskList

static private System.Collections.ArrayList GetMaskList(System.String sPattern)

Custom Attributes: 

Description: 

GetParameterRanges

static public Gregor.Core.NRanges GetParameterRanges(System.String sTemplate, System.String sOpener, System.String sCloser)

Custom Attributes: 

Description: 

GetParameterRanges

static public Gregor.Core.NRanges GetParameterRanges(System.String sTemplate, System.Char cOpener, System.Char cCloser)

Custom Attributes: 

Description: 

GetStandardDelimiters

static public System.Char[] GetStandardDelimiters()

Custom Attributes: 

Description: 

HarvestArg

static private void HarvestArg(System.Text.StringBuilder sbCarry, System.Collections.Specialized.StringCollection col)

Custom Attributes: 

Description: 

IsArgumentDelimiter

static public System.Boolean IsArgumentDelimiter(System.Char ch)

Custom Attributes: 

Description: 

IsEscaped

static private System.Boolean IsEscaped(System.String s, System.Int32 iCur)

Custom Attributes: 

Description: 

IsIdentifierChar

static public System.Boolean IsIdentifierChar(System.Char ch, params System.Char[] separators)

Custom Attributes: 
separators - System.ParamArray()

Description: 

IsIdentifierSeparator

static public System.Boolean IsIdentifierSeparator(System.Char ch)

Custom Attributes: 

Description: 

IsIdentifierStartChar

static public System.Boolean IsIdentifierStartChar(System.Char ch)

Custom Attributes: 

Description: 

IsIdentifierString

static public System.Boolean IsIdentifierString(System.String s, params System.Char[] separators)

Custom Attributes: 
separators - System.ParamArray()

Description: 

IsLineBreakChar

static public System.Boolean IsLineBreakChar(System.Char ch)

Custom Attributes: 

Description: 

IsStandardDelimiter

static public System.Boolean IsStandardDelimiter(System.Char ch)

Custom Attributes: 

Description: 

LimitText

static public System.String LimitText(System.String s, System.Int32 cMax, System.String sIndicator)

Custom Attributes: 

Description: 

LimitText

static public System.String LimitText(System.String s, System.Int32 cMax)

Custom Attributes: 

Description: 

MaintainParensStack

static private void MaintainParensStack(System.Char ch, ref System.Int32 cParensStack, ref System.Int32 cSquareBracketStack, ref System.Int32 cAngleBracketStack, ref System.Int32 cBracesStack)

Custom Attributes: 

Description: 

ProcessTemplate

static public System.String ProcessTemplate(Gregor.Core.IEvaluator evaluator, System.String sTemplate, System.Char cOpener, System.Char cCloser, System.Boolean fThrowOnEvaluationError)

Custom Attributes: System.Obsolete(Message="Use Parse.ProcessTemplate(IEvaluator, string, char, char, TemplateEvalErrorOption)", IsError=false)

Description: 

ProcessTemplate

static public System.String ProcessTemplate(Gregor.Core.IEvaluator evaluator, System.String sTemplate, System.Char cOpener, System.Char cCloser, Gregor.Core.TemplateEvalErrorOption errorOption)

Custom Attributes: 

Description: 

ProcessTemplate

static public System.String ProcessTemplate(Gregor.Core.IEvaluator evaluator, System.String sTemplate, System.Char cOpener, System.Char cCloser)

Custom Attributes: 

Description: 

ProcessTemplate

static public System.String ProcessTemplate(Gregor.Core.IEvaluator evaluator, System.String sTemplate)

Custom Attributes: 

Description: 

ReplaceAll

static public System.String ReplaceAll(System.String s, System.String sToFind, System.String sReplace, Gregor.Core.TextFindOptions options)

Custom Attributes: 

Description: 

ReplaceAll

static public System.Int32[] ReplaceAll(System.String s, System.String sToFind, System.String sReplace, Gregor.Core.TextFindOptions options, out System.String sOut, out System.Int32[] aiOut)

Custom Attributes: 
sOut - System.Runtime.InteropServices.Out()
aiOut - System.Runtime.InteropServices.Out()

Description: 

ReplaceAllEx

static public System.String ReplaceAllEx(System.String s, System.String sToFind, System.String sReplace, Gregor.Core.TextFindOptions options, out Gregor.Core.LocationEx[] hits, out Gregor.Core.LocationEx[] replacements)

Custom Attributes: 
hits - System.Runtime.InteropServices.Out()
replacements - System.Runtime.InteropServices.Out()

Description: 

ReplaceTextInFile

static public System.Int32[] ReplaceTextInFile(System.String sFile, System.String sNewFile, System.String sToFind, System.String sReplace, Gregor.Core.TextFindOptions options)

Custom Attributes: 

Description: 

SliceColumns

static public System.String[] SliceColumns(System.String[] aStr, System.Int32 iStart, System.Int32 nLength)

Custom Attributes: 

Description: 

SplitChain

static public System.String[] SplitChain(System.String sInput, System.Char sep)

Custom Attributes: 

Description: 

SplitInt

static private void SplitInt(System.Int32 n, out System.Int32 n1, out System.Int32 n2)

Custom Attributes: 
n1 - System.Runtime.InteropServices.Out()
n2 - System.Runtime.InteropServices.Out()

Description: 

SplitToArguments

static public System.Collections.Specialized.StringCollection SplitToArguments(System.String s, System.Char[] delims)

Custom Attributes: 

Description: 

SplitToArguments

static public System.Collections.Specialized.StringCollection SplitToArguments(System.String s)

Custom Attributes: 

Description: 

SplitToLines

static public System.Collections.Specialized.StringCollection SplitToLines(System.String s)

Custom Attributes: 

Description: 

StringEndsWith

static public System.Boolean StringEndsWith(System.String s, System.String sPostfix, System.Boolean fIgnoreCase)

Custom Attributes: 

Description: 

StringIndexOfAny

static public System.Int32 StringIndexOfAny(System.String s, System.String[] asAnyOf)

Custom Attributes: 

Description: 

StringIndexOfOther

static public System.Int32 StringIndexOfOther(System.String s, System.Char c)

Custom Attributes: 

Description: 

StringLastIndexOfAny

static public System.Int32 StringLastIndexOfAny(System.String s, System.String[] asAnyOf)

Custom Attributes: 

Description: 

StringLastIndexOfOther

static public System.Int32 StringLastIndexOfOther(System.String s, System.Char c)

Custom Attributes: 

Description: 

StringMatches

static public System.Boolean StringMatches(System.String s, System.String sPattern, System.Boolean fIgnoreCase)

Custom Attributes: 

Description: 

StringMatches

static public System.Boolean StringMatches(System.String s, System.String sPattern)

Custom Attributes: 

Description: 

StringSplitEx

static public System.String[] StringSplitEx(System.String s, Gregor.Core.StringSplitExOptions options, params System.String[] asSeps)

Custom Attributes: 
asSeps - System.ParamArray()

Description: 

StringSplitEx

static public System.String[] StringSplitEx(System.String s, Gregor.Core.StringSplitExOptions options, params System.Char[] seps)

Custom Attributes: 
seps - System.ParamArray()

Description: 

StringStartsWith

static public System.Boolean StringStartsWith(System.String s, System.String sPrefix, System.Boolean fIgnoreCase)

Custom Attributes: 

Description: 

Tighten

static public System.String Tighten(System.String s, System.Char chSeq, Gregor.Core.StringTightenOptions options)

Custom Attributes: 

Description: 

Tighten

static public System.String Tighten(System.String s, System.Char chSeq)

Custom Attributes: 

Description: 

UnEscape

static public System.String UnEscape(System.String sEscaped)

Custom Attributes: 

Description: 

UnEscape

static public System.String UnEscape(System.String sEscaped, Gregor.Core.ISyntaxProvider provider)

Custom Attributes: 

Description: 


See Also

Gregor.Core.ModuleAttribute

Gregor.Core.NRanges

System.Collections.ArrayList

System.Collections.Specialized.StringCollection

System.Object

System.ObsoleteAttribute

System.String

System.Text.Encoding

System.Text.StringBuilder

Gregor.Core.IEvaluator

Gregor.Core.ISyntaxProvider

Gregor.Core.Location

Gregor.Core.LocationEx

System.Boolean

System.Byte

System.Char

System.Int32

System.Void

Gregor.Core.CellAlignment

Gregor.Core.CellOverflow

Gregor.Core.StringFilterOption

Gregor.Core.StringSplitExOptions

Gregor.Core.StringTightenOptions

Gregor.Core.TemplateEvalErrorOption

Gregor.Core.TextFindOptions