C# 클래스 FlatRedBall.Glue.Parsing.ParsedClass

파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
mWordSeparators char[]

공개 메소드들

메소드 설명
Clone ( ) : ParsedClass
FillWithThisAndInheitedFields ( List parsedFields ) : void
FillWithThisAndInheitedProperties ( List parsedProperties ) : void
FromType ( Type type ) : ParsedClass
GetField ( string fieldName ) : ParsedField
GetLine ( string entireString, int &startingIndex ) : string
GetMethod ( string methodName ) : ParsedMethod
GetParsedField ( string line ) : ParsedField
GetProperty ( string propertyName ) : ParsedProperty
GetWord ( string entireString, int &startingIndex ) : string
GetWord ( string entireString, int &startingIndex, char &separator ) : string
LineHasGetter ( string line ) : bool
LineHasSetter ( string line ) : bool
NumberOfValid ( char charToSearchFor, string lineOfCode ) : int
ParsedClass ( string classContents, bool trimContents ) : System
RemoveComments ( string classContents ) : string
ToString ( ) : string

비공개 메소드들

메소드 설명
AddAttribute ( string line ) : void
AddToCurrentBlock ( string line, int index ) : void
CreateParsedEnum ( ) : void
CreateParsedMethod ( int startIndex, int endIndex, bool trimContents ) : void
CreateParsedProperty ( ) : void
FillGettersAndSetters ( StringBuilder getterLines, StringBuilder setterLines, bool requireGetters, bool trimContents, bool &hasGetter, bool &hasSetter, bool &hasAutomaticGetter, bool &hasAutomaticSetter ) : void
ParseContents ( string classContents, bool trim ) : void
ParseField ( string line ) : void
ParseHeader ( string classContents ) : void
ParsedClass ( ) : System
ProcessCurrentBlock ( int currentIndex, bool trimContents ) : void
RemovePreprocessoredOutCode ( string namespaceContents ) : string

메소드 상세

Clone() 공개 메소드

public Clone ( ) : ParsedClass
리턴 ParsedClass

FillWithThisAndInheitedFields() 공개 메소드

public FillWithThisAndInheitedFields ( List parsedFields ) : void
parsedFields List
리턴 void

FillWithThisAndInheitedProperties() 공개 메소드

public FillWithThisAndInheitedProperties ( List parsedProperties ) : void
parsedProperties List
리턴 void

FromType() 공개 정적인 메소드

public static FromType ( Type type ) : ParsedClass
type System.Type
리턴 ParsedClass

GetField() 공개 메소드

public GetField ( string fieldName ) : ParsedField
fieldName string
리턴 ParsedField

GetLine() 공개 정적인 메소드

public static GetLine ( string entireString, int &startingIndex ) : string
entireString string
startingIndex int
리턴 string

GetMethod() 공개 메소드

public GetMethod ( string methodName ) : ParsedMethod
methodName string
리턴 ParsedMethod

GetParsedField() 공개 정적인 메소드

public static GetParsedField ( string line ) : ParsedField
line string
리턴 ParsedField

GetProperty() 공개 메소드

public GetProperty ( string propertyName ) : ParsedProperty
propertyName string
리턴 ParsedProperty

GetWord() 공개 정적인 메소드

public static GetWord ( string entireString, int &startingIndex ) : string
entireString string
startingIndex int
리턴 string

GetWord() 공개 정적인 메소드

public static GetWord ( string entireString, int &startingIndex, char &separator ) : string
entireString string
startingIndex int
separator char
리턴 string

LineHasGetter() 공개 메소드

public LineHasGetter ( string line ) : bool
line string
리턴 bool

LineHasSetter() 공개 메소드

public LineHasSetter ( string line ) : bool
line string
리턴 bool

NumberOfValid() 공개 정적인 메소드

public static NumberOfValid ( char charToSearchFor, string lineOfCode ) : int
charToSearchFor char
lineOfCode string
리턴 int

ParsedClass() 공개 메소드

public ParsedClass ( string classContents, bool trimContents ) : System
classContents string
trimContents bool
리턴 System

RemoveComments() 공개 정적인 메소드

public static RemoveComments ( string classContents ) : string
classContents string
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

mWordSeparators 공개적으로 정적으로 프로퍼티

public static char[] mWordSeparators
리턴 char[]