Esempio n. 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);
Esempio n. 2
0
		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>();
		}
Esempio n. 3
0
 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>();
 }
Esempio n. 4
0
		public InterpreterCompiler(AbstractPlatform platform, SystemLibraryManager sysLibMan)
		{
			this.platform = platform;
			this.interpreterParser = new Parser(platform, null, sysLibMan);
		}
Esempio n. 5
0
 public InterpreterCompiler(AbstractPlatform platform, SystemLibraryManager sysLibMan)
 {
     this.platform          = platform;
     this.interpreterParser = new Parser(platform, null, sysLibMan);
 }