C# Class CodeTranslator.Parsers.ParsedLine

显示文件 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
CombineToExpressions ( ) : void
CombineToExpressions ( int startIndex, bool stopOnBreak ) : void
ConsolidateMethodContents ( ) : void
DoesListOfFieldsContainsField ( List parsedFields, string variableName ) : bool
DoesListOfFieldsContainsField ( List parsedFields, string variableName, ParsedType &parsedType ) : bool
DoesListOfPropertiesContainProperty ( List parsedProperty, string variableName ) : bool
DoesListOfPropertiesContainProperty ( List parsedProperty, string variableName, ParsedType &parsedType ) : bool
DoesListOfPropertiesContainProperty ( ParsedClass parsedClass, string variableName ) : bool
GetMatchingBracketForBracketAtIndex ( int codeItemIndex ) : int
ParsedLine ( string lineOfCode ) : System
ParsedLine ( string lineOfCode, ParsedClass parsedClass, ParsedClass unchangedClass, List localVariables ) : System
SetFromParsedLine ( ParsedLine otherParsedLine ) : void
ToString ( ) : string
ToSubString ( int start, int count ) : string
this ( int i ) : CodeItem

Private Methods

Method Description
ConsolidateMethodContents ( int startIndex, int count ) : void
IsPartOfExpression ( CodeItem first, CodeItem second, int>.Dictionary pairedCharacterDictionary ) : bool

Method Details

CombineToExpressions() public method

public CombineToExpressions ( ) : void
return void

CombineToExpressions() public method

public CombineToExpressions ( int startIndex, bool stopOnBreak ) : void
startIndex int
stopOnBreak bool
return void

ConsolidateMethodContents() public method

public ConsolidateMethodContents ( ) : void
return void

DoesListOfFieldsContainsField() public static method

public static DoesListOfFieldsContainsField ( List parsedFields, string variableName ) : bool
parsedFields List
variableName string
return bool

DoesListOfFieldsContainsField() public static method

public static DoesListOfFieldsContainsField ( List parsedFields, string variableName, ParsedType &parsedType ) : bool
parsedFields List
variableName string
parsedType FlatRedBall.Glue.Parsing.ParsedType
return bool

DoesListOfPropertiesContainProperty() public static method

public static DoesListOfPropertiesContainProperty ( List parsedProperty, string variableName ) : bool
parsedProperty List
variableName string
return bool

DoesListOfPropertiesContainProperty() public static method

public static DoesListOfPropertiesContainProperty ( List parsedProperty, string variableName, ParsedType &parsedType ) : bool
parsedProperty List
variableName string
parsedType FlatRedBall.Glue.Parsing.ParsedType
return bool

DoesListOfPropertiesContainProperty() public static method

public static DoesListOfPropertiesContainProperty ( ParsedClass parsedClass, string variableName ) : bool
parsedClass FlatRedBall.Glue.Parsing.ParsedClass
variableName string
return bool

GetMatchingBracketForBracketAtIndex() public method

public GetMatchingBracketForBracketAtIndex ( int codeItemIndex ) : int
codeItemIndex int
return int

ParsedLine() public method

public ParsedLine ( string lineOfCode ) : System
lineOfCode string
return System

ParsedLine() public method

public ParsedLine ( string lineOfCode, ParsedClass parsedClass, ParsedClass unchangedClass, List localVariables ) : System
lineOfCode string
parsedClass FlatRedBall.Glue.Parsing.ParsedClass
unchangedClass FlatRedBall.Glue.Parsing.ParsedClass
localVariables List
return System

SetFromParsedLine() public method

public SetFromParsedLine ( ParsedLine otherParsedLine ) : void
otherParsedLine ParsedLine
return void

ToString() public method

public ToString ( ) : string
return string

ToSubString() public method

public ToSubString ( int start, int count ) : string
start int
count int
return string

this() public method

public this ( int i ) : CodeItem
i int
return CodeItem