C# 클래스 LynnaLab.FileParser

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

공개 프로퍼티들

프로퍼티 타입 설명
definesDictionary string>.Dictionary

공개 메소드들

메소드 설명
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

메소드 상세

AddDefinition() 공개 메소드

public AddDefinition ( string def, string value ) : void
def string
value string
리턴 void

AddLabelToDictionaries() 공개 메소드

public AddLabelToDictionaries ( Label label ) : void
label Label
리턴 void

CompareComponentPositions() 공개 메소드

public CompareComponentPositions ( FileComponent c1, FileComponent c2 ) : int
c1 FileComponent
c2 FileComponent
리턴 int

FileParser() 공개 메소드

public FileParser ( Project p, string f ) : System
p Project
f string
리턴 System

GetData() 공개 메소드

public GetData ( string labelStr, int offset ) : Data
labelStr string
offset int
리턴 Data

GetDataLabel() 공개 메소드

public GetDataLabel ( Data data ) : Label
data Data
리턴 Label

GetLabel() 공개 메소드

public GetLabel ( string labelStr ) : Label
labelStr string
리턴 Label

GetNextFileComponent() 공개 메소드

public GetNextFileComponent ( FileComponent reference ) : FileComponent
reference FileComponent
리턴 FileComponent

GetPrevFileComponent() 공개 메소드

public GetPrevFileComponent ( FileComponent reference ) : FileComponent
reference FileComponent
리턴 FileComponent

InsertComponentAfter() 공개 메소드

public InsertComponentAfter ( FileComponent refComponent, FileComponent newComponent, string comment = "" ) : bool
refComponent FileComponent
newComponent FileComponent
comment string
리턴 bool

InsertComponentBefore() 공개 메소드

public InsertComponentBefore ( FileComponent refComponent, FileComponent newComponent, string comment = "" ) : bool
refComponent FileComponent
newComponent FileComponent
comment string
리턴 bool

InsertParseableTextAfter() 공개 메소드

public InsertParseableTextAfter ( FileComponent refComponent, string text ) : bool
refComponent FileComponent
text string
리턴 bool

InsertParseableTextBefore() 공개 메소드

public InsertParseableTextBefore ( FileComponent refComponent, string text ) : bool
refComponent FileComponent
text string
리턴 bool

ParseLine() 공개 메소드

public ParseLine ( string pureLine, int i, List fileStructure, List fileStructureComments ) : void
pureLine string
i int
fileStructure List
fileStructureComments List
리턴 void

RemoveFileComponent() 공개 메소드

public RemoveFileComponent ( FileComponent component ) : void
component FileComponent
리턴 void

RemoveLabel() 공개 메소드

public RemoveLabel ( string label ) : void
label string
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void

프로퍼티 상세

definesDictionary 공개적으로 프로퍼티

public Dictionary definesDictionary
리턴 string>.Dictionary