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