C# Class BindingsGenerator.CodeStructure

Mostrar archivo Open project: realXtend/tundra-urho3d

Public Properties

Property Type Description
bugs List
codeFiles CodeFile>.Dictionary
documentationFiles SortedSet
enumsByName Symbol>.Dictionary
symbols Symbol>.Dictionary
symbolsByName Symbol>.Dictionary
todos List

Public Methods

Method Description
FindStringInBetween ( string dataString, int startIdx, string start, string end, int &endIdx ) : string

Outputs endIdx = -1 if not found.

GroupSimilarOverloads ( ) : void

Goes through all symbols recursively and groups similar functions together (sets the similarOverload attribute).

GroupSimilarOverloads ( Symbol s ) : void
LoadSymbolsFromDirectory ( string directory, bool recursive ) : void
LoadSymbolsFromFile ( string filename ) : void
ParseCodeFileList ( XmlElement e ) : void
ParseCompoundDefElement ( XmlElement e ) : void
ParsePageCompoundDefElement ( XmlElement e ) : void
ParseSectionDefElement ( Symbol parent, XmlElement e ) : void
ParseTodoBugList ( XmlElement e, List &list ) : void

Private Methods

Method Description
CutDocGeneratorCommentDirective ( string s, int startIdx, int endIdx ) : string
GetChildElementsByName ( XmlElement node, string elementName ) : List
GetXmlElementChildNodeValue ( XmlElement element, string childNode, bool asText = false ) : string
ParseVirtualness ( string s ) : Virtualness
ParseVisibilityLevel ( string s ) : VisibilityLevel
ProcessDocGeneratorCommentDirectives ( Symbol s ) : void

Goes through the given symbol and find all DocGenerator-style directives present in the comments and applies them. These directives are of form [foo].

ProcessNodes ( XmlElement e ) : void
RenameAttribute ( XmlElement elem, string oldAttrName, string newAttrName ) : void
RenameElement ( XmlNode parent, XmlNode child, string newName ) : XmlElement

Method Details

FindStringInBetween() public static method

Outputs endIdx = -1 if not found.
public static FindStringInBetween ( string dataString, int startIdx, string start, string end, int &endIdx ) : string
dataString string
startIdx int
start string
end string
endIdx int
return string

GroupSimilarOverloads() public method

Goes through all symbols recursively and groups similar functions together (sets the similarOverload attribute).
public GroupSimilarOverloads ( ) : void
return void

GroupSimilarOverloads() public method

public GroupSimilarOverloads ( Symbol s ) : void
s Symbol
return void

LoadSymbolsFromDirectory() public method

public LoadSymbolsFromDirectory ( string directory, bool recursive ) : void
directory string
recursive bool
return void

LoadSymbolsFromFile() public method

public LoadSymbolsFromFile ( string filename ) : void
filename string
return void

ParseCodeFileList() public method

public ParseCodeFileList ( XmlElement e ) : void
e System.Xml.XmlElement
return void

ParseCompoundDefElement() public method

public ParseCompoundDefElement ( XmlElement e ) : void
e System.Xml.XmlElement
return void

ParsePageCompoundDefElement() public method

public ParsePageCompoundDefElement ( XmlElement e ) : void
e System.Xml.XmlElement
return void

ParseSectionDefElement() public method

public ParseSectionDefElement ( Symbol parent, XmlElement e ) : void
parent Symbol
e System.Xml.XmlElement
return void

ParseTodoBugList() public method

public ParseTodoBugList ( XmlElement e, List &list ) : void
e System.Xml.XmlElement
list List
return void

Property Details

bugs public_oe property

public List bugs
return List

codeFiles public_oe property

public Dictionary codeFiles
return CodeFile>.Dictionary

documentationFiles public_oe property

public SortedSet documentationFiles
return SortedSet

enumsByName public_oe property

public Dictionary enumsByName
return Symbol>.Dictionary

symbols public_oe property

public Dictionary symbols
return Symbol>.Dictionary

symbolsByName public_oe property

public Dictionary symbolsByName
return Symbol>.Dictionary

todos public_oe property

public List todos
return List