Beispiel #1
0
 public ExpandCastExpressions (TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil, ITypeInfoSource typeInfo, MethodTypeFactory methodTypeFactory) {
     TypeSystem = typeSystem;
     JS = js;
     JSIL = jsil;
     TypeInfo = typeInfo;
     MethodTypeFactory = methodTypeFactory;
 }
 public ExpandCastExpressions(TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil, ITypeInfoSource typeInfo)
 {
     TypeSystem = typeSystem;
     JS = js;
     JSIL = jsil;
     TypeInfo = typeInfo;
 }
Beispiel #3
0
 public ExpandCastExpressions(TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil, ITypeInfoSource typeInfo)
 {
     TypeSystem = typeSystem;
     JS         = js;
     JSIL       = jsil;
     TypeInfo   = typeInfo;
 }
Beispiel #4
0
 public ReplaceMethodCalls (
     MethodReference method, JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem
 ) {
     Method = method;
     JSIL = jsil;
     JS = js;
     TypeSystem = typeSystem;
 }
Beispiel #5
0
 public ExpandCastExpressions(TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil, ITypeInfoSource typeInfo, MethodTypeFactory methodTypeFactory)
 {
     TypeSystem        = typeSystem;
     JS                = js;
     JSIL              = jsil;
     TypeInfo          = typeInfo;
     MethodTypeFactory = methodTypeFactory;
 }
Beispiel #6
0
 public ReplaceMethodCalls(
     MethodReference method, JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem
     )
 {
     Method     = method;
     JSIL       = jsil;
     JS         = js;
     TypeSystem = typeSystem;
 }
Beispiel #7
0
 public AstEmitter(
     JavascriptFormatter formatter, JSILIdentifier jsil,
     TypeSystem typeSystem, TypeInfoProvider typeInfoProvider,
     Configuration configuration, bool isTopLevel
     )
     : base()
 {
     Formatter     = formatter;
     TypeSystem    = typeSystem;
     TypeInfo      = typeInfoProvider;
     Configuration = configuration;
     IsTopLevel    = isTopLevel;
     JSIL          = jsil;
 }
 public ReplaceMethodCalls(JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem)
 {
     JSIL = jsil;
     JS = js;
     TypeSystem = typeSystem;
 }
Beispiel #9
0
 public VariableReferenceAccessTransformer(JSILIdentifier jsil, JSVariable variable, IFunctionSource functionSource)
 {
     JSIL           = jsil;
     Variable       = variable;
     FunctionSource = functionSource;
 }
Beispiel #10
0
 public IntroduceVariableReferences(JSILIdentifier jsil, Dictionary <string, JSVariable> variables, IFunctionSource functionSource)
 {
     JSIL           = jsil;
     Variables      = variables;
     FunctionSource = functionSource;
 }
 public IntroduceVariableReferences(JSILIdentifier jsil, Dictionary<string, JSVariable> variables)
 {
     JSIL = jsil;
     Variables = variables;
 }
 public VariableReferenceAccessTransformer(JSILIdentifier jsil, JSVariable variable)
 {
     JSIL = jsil;
     Variable = variable;
 }
 public VariableReferenceAccessTransformer(JSILIdentifier jsil, JSVariable variable)
 {
     JSIL     = jsil;
     Variable = variable;
 }
Beispiel #14
0
 public IAstEmitter MakeAstEmitter(JSILIdentifier jsil, TypeSystem typeSystem, TypeInfoProvider typeInfoProvider, Configuration configuration)
 {
     return(new AstEmitter(this, Formatter, jsil, typeSystem, typeInfoProvider, configuration, isTopLevel: false));
 }
Beispiel #15
0
 public SimplifyOperators (JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem) {
     JSIL = jsil;
     JS = js;
     TypeSystem = typeSystem;
 }
 public IntroduceVariableReferences(JSILIdentifier jsil, Dictionary <string, JSVariable> variables)
 {
     JSIL      = jsil;
     Variables = variables;
 }
Beispiel #17
0
 public IAstEmitter MakeAstEmitter(JSILIdentifier jsil, TypeSystem typeSystem, TypeInfoProvider typeInfoProvider, Configuration configuration)
 {
     return(new NullAstEmitter(typeSystem));
 }
Beispiel #18
0
 public IntroduceVariableReferences(JSILIdentifier jsil, Dictionary <string, JSVariable> variables, HashSet <string> parameterNames)
 {
     JSIL           = jsil;
     Variables      = variables;
     ParameterNames = parameterNames;
 }
 public ExpandCastExpressions(TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil)
 {
     TypeSystem = typeSystem;
     JS = js;
     JSIL = jsil;
 }
 public VariableReferenceAccessTransformer (JSILIdentifier jsil, JSVariable variable, IFunctionSource functionSource) {
     JSIL = jsil;
     Variable = variable;
     FunctionSource = functionSource;
 }
 public IntroduceVariableReferences (JSILIdentifier jsil, Dictionary<string, JSVariable> variables, IFunctionSource functionSource) {
     JSIL = jsil;
     Variables = variables;
     FunctionSource = functionSource;
 }
Beispiel #22
0
 public SimplifyOperators(JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem)
 {
     JSIL       = jsil;
     JS         = js;
     TypeSystem = typeSystem;
 }
 public IntroduceVariableReferences(JSILIdentifier jsil, Dictionary<string, JSVariable> variables, HashSet<string> parameterNames)
 {
     JSIL = jsil;
     Variables = variables;
     ParameterNames = parameterNames;
 }