C# Class LynnaLab.FileParser

Afficher le fichier Open project: Drenn1/LynnaLab Class Usage Examples

Méthodes publiques

Свойство Type Description
definesDictionary string>.Dictionary

Méthodes publiques

Méthode Description
AddDefinition ( string def, string value ) : void
AddLabelToDictionaries ( Label label ) : void
CompareComponentPositions ( FileComponent c1, FileComponent c2 ) : int
FileParser ( Project p, string f ) : System
GetData ( string labelStr, int offset ) : Data
GetDataLabel ( Data data ) : Label
GetLabel ( string labelStr ) : Label
GetNextFileComponent ( FileComponent reference ) : FileComponent
GetPrevFileComponent ( FileComponent reference ) : FileComponent
InsertComponentAfter ( FileComponent refComponent, FileComponent newComponent, string comment = "" ) : bool
InsertComponentBefore ( FileComponent refComponent, FileComponent newComponent, string comment = "" ) : bool
InsertParseableTextAfter ( FileComponent refComponent, string text ) : bool
InsertParseableTextBefore ( FileComponent refComponent, string text ) : bool
ParseLine ( string pureLine, int i, List fileStructure, List fileStructureComments ) : void
RemoveFileComponent ( FileComponent component ) : void
RemoveLabel ( string label ) : void
Save ( ) : void

Method Details

AddDefinition() public méthode

public AddDefinition ( string def, string value ) : void
def string
value string
Résultat void

AddLabelToDictionaries() public méthode

public AddLabelToDictionaries ( Label label ) : void
label Label
Résultat void

CompareComponentPositions() public méthode

public CompareComponentPositions ( FileComponent c1, FileComponent c2 ) : int
c1 FileComponent
c2 FileComponent
Résultat int

FileParser() public méthode

public FileParser ( Project p, string f ) : System
p Project
f string
Résultat System

GetData() public méthode

public GetData ( string labelStr, int offset ) : Data
labelStr string
offset int
Résultat Data

GetDataLabel() public méthode

public GetDataLabel ( Data data ) : Label
data Data
Résultat Label

GetLabel() public méthode

public GetLabel ( string labelStr ) : Label
labelStr string
Résultat Label

GetNextFileComponent() public méthode

public GetNextFileComponent ( FileComponent reference ) : FileComponent
reference FileComponent
Résultat FileComponent

GetPrevFileComponent() public méthode

public GetPrevFileComponent ( FileComponent reference ) : FileComponent
reference FileComponent
Résultat FileComponent

InsertComponentAfter() public méthode

public InsertComponentAfter ( FileComponent refComponent, FileComponent newComponent, string comment = "" ) : bool
refComponent FileComponent
newComponent FileComponent
comment string
Résultat bool

InsertComponentBefore() public méthode

public InsertComponentBefore ( FileComponent refComponent, FileComponent newComponent, string comment = "" ) : bool
refComponent FileComponent
newComponent FileComponent
comment string
Résultat bool

InsertParseableTextAfter() public méthode

public InsertParseableTextAfter ( FileComponent refComponent, string text ) : bool
refComponent FileComponent
text string
Résultat bool

InsertParseableTextBefore() public méthode

public InsertParseableTextBefore ( FileComponent refComponent, string text ) : bool
refComponent FileComponent
text string
Résultat bool

ParseLine() public méthode

public ParseLine ( string pureLine, int i, List fileStructure, List fileStructureComments ) : void
pureLine string
i int
fileStructure List
fileStructureComments List
Résultat void

RemoveFileComponent() public méthode

public RemoveFileComponent ( FileComponent component ) : void
component FileComponent
Résultat void

RemoveLabel() public méthode

public RemoveLabel ( string label ) : void
label string
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void

Property Details

definesDictionary public_oe property

public Dictionary definesDictionary
Résultat string>.Dictionary