C# 클래스 CClash.Compiler

Class for processing compiler inputs, running the compiler and deducing outputs.
상속: CClash.ICompiler
파일 보기 프로젝트 열기: artillery/cclash 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CommandLineToArgvW System.IntPtr
Compiler System
CreateHardLink int
GetEnvironmentStringsA System.IntPtr
NotSupported bool
_Find string
cygwinEnvFixup void
getFullOption string
getOption string

공개 메소드들

메소드 설명
CommandLineToArgs ( string commandLine ) : List
Find ( ) : string
FixEnvironmentDictionary ( string>.Dictionary envs ) : string>.Dictionary
FixupArgs ( IEnumerable args ) : IEnumerable
GetEnvironmentDictionary ( ) : string>.Dictionary
GetPotentialIncludeFiles ( IEnumerable incdirs, IEnumerable incfiles ) : List
GetUsedIncludeDirs ( List files ) : List
InvokeCompiler ( IEnumerable args, Action onStdErr, Action onStdOut, bool showIncludes, List foundIncludes ) : int
InvokePreprocessor ( StreamWriter stdout ) : int
JoinAguments ( IEnumerable args ) : string
ProcessArguments ( string args ) : bool
SetEnvironment ( string>.Dictionary envs ) : void
SetWorkingDirectory ( string path ) : void

비공개 메소드들

메소드 설명
CommandLineToArgvW ( [ lpCmdLine, int &pNumArgs ) : IntPtr
Compiler ( ) : System
CreateHardLink ( string lpFileName, string lpExistingFileName, IntPtr lpSecurityAttributes ) : int
GetEnvironmentStringsA ( ) : IntPtr
NotSupported ( string fmt ) : bool
_Find ( ) : string
cygwinEnvFixup ( ) : void
getFullOption ( string arg ) : string
getOption ( string arg ) : string

메소드 상세

CommandLineToArgs() 공개 정적인 메소드

public static CommandLineToArgs ( string commandLine ) : List
commandLine string
리턴 List

Find() 공개 정적인 메소드

public static Find ( ) : string
리턴 string

FixEnvironmentDictionary() 공개 정적인 메소드

public static FixEnvironmentDictionary ( string>.Dictionary envs ) : string>.Dictionary
envs string>.Dictionary
리턴 string>.Dictionary

FixupArgs() 공개 메소드

public FixupArgs ( IEnumerable args ) : IEnumerable
args IEnumerable
리턴 IEnumerable

GetEnvironmentDictionary() 공개 정적인 메소드

public static GetEnvironmentDictionary ( ) : string>.Dictionary
리턴 string>.Dictionary

GetPotentialIncludeFiles() 공개 메소드

public GetPotentialIncludeFiles ( IEnumerable incdirs, IEnumerable incfiles ) : List
incdirs IEnumerable
incfiles IEnumerable
리턴 List

GetUsedIncludeDirs() 공개 메소드

public GetUsedIncludeDirs ( List files ) : List
files List
리턴 List

InvokeCompiler() 공개 메소드

public InvokeCompiler ( IEnumerable args, Action onStdErr, Action onStdOut, bool showIncludes, List foundIncludes ) : int
args IEnumerable
onStdErr Action
onStdOut Action
showIncludes bool
foundIncludes List
리턴 int

InvokePreprocessor() 공개 메소드

public InvokePreprocessor ( StreamWriter stdout ) : int
stdout System.IO.StreamWriter
리턴 int

JoinAguments() 공개 정적인 메소드

public static JoinAguments ( IEnumerable args ) : string
args IEnumerable
리턴 string

ProcessArguments() 공개 메소드

public ProcessArguments ( string args ) : bool
args string
리턴 bool

SetEnvironment() 공개 메소드

public SetEnvironment ( string>.Dictionary envs ) : void
envs string>.Dictionary
리턴 void

SetWorkingDirectory() 공개 메소드

public SetWorkingDirectory ( string path ) : void
path string
리턴 void