예제 #1
0
 public abstract Dictionary <string, FileOutput> Package(
     BuildContext buildContext,
     string projectId,
     Dictionary <string, Executable[]> finalCode,
     ICollection <StructDefinition> structDefinitions,
     string fileCopySourceRoot,
     ResourceDatabase resourceDatabase,
     SystemLibraryManager libraryManager);
예제 #2
0
파일: Parser.cs 프로젝트: geofrey/crayon
		public Parser(AbstractPlatform platform, BuildContext buildContext, SystemLibraryManager sysLibMan)
		{
			this.NullablePlatform = platform;
			this.IsTranslateMode = platform != null;
			this.CurrentClass = null;
			this.CurrentSystemLibrary = null;
			this.BuildContext = buildContext;
			this.VariableIds = new VariableIdAllocator();
			this.SystemLibraryManager = sysLibMan ?? new SystemLibraryManager();
			this.CurrentNamespace = "";
			this.NamespacePrefixLookupForCurrentFile = new List<string>();
		}
예제 #3
0
파일: Parser.cs 프로젝트: falun/crayon
 public Parser(AbstractPlatform platform, BuildContext buildContext, SystemLibraryManager sysLibMan)
 {
     this.NullablePlatform     = platform;
     this.IsTranslateMode      = platform != null;
     this.CurrentClass         = null;
     this.CurrentSystemLibrary = null;
     this.BuildContext         = buildContext;
     this.SystemLibraryManager = sysLibMan ?? new SystemLibraryManager();
     this.CurrentNamespace     = "";
     this.NamespacePrefixLookupForCurrentFile = new List <string>();
     this.ConstantAndEnumResolutionState      = new Dictionary <Executable, int>();
 }
예제 #4
0
		public InterpreterCompiler(AbstractPlatform platform, SystemLibraryManager sysLibMan)
		{
			this.platform = platform;
			this.interpreterParser = new Parser(platform, null, sysLibMan);
		}
예제 #5
0
 public InterpreterCompiler(AbstractPlatform platform, SystemLibraryManager sysLibMan)
 {
     this.platform          = platform;
     this.interpreterParser = new Parser(platform, null, sysLibMan);
 }