コード例 #1
0
 public ExpandCastExpressions(TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil, ITypeInfoSource typeInfo)
 {
     TypeSystem = typeSystem;
     JS = js;
     JSIL = jsil;
     TypeInfo = typeInfo;
 }
コード例 #2
0
ファイル: IntroduceEnumCasts.cs プロジェクト: wdstest/SharpJS
        public IntroduceEnumCasts(
            TypeSystem typeSystem, JSSpecialIdentifiers js,
            TypeInfoProvider typeInfo, MethodTypeFactory methodTypes,
            IFunctionSource functionSource
            )
        {
            TypeSystem     = typeSystem;
            TypeInfo       = typeInfo;
            MethodTypes    = methodTypes;
            JS             = js;
            FunctionSource = functionSource;

            LogicalOperators = new HashSet <JSOperator>()
            {
                JSOperator.LogicalAnd,
                JSOperator.LogicalOr,
                JSOperator.LogicalNot
            };

            BitwiseOperators = new HashSet <JSOperator>()
            {
                JSOperator.BitwiseAnd,
                JSOperator.BitwiseOr,
                JSOperator.BitwiseXor
            };
        }
コード例 #3
0
 public ExpandCastExpressions(TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil, ITypeInfoSource typeInfo)
 {
     TypeSystem = typeSystem;
     JS         = js;
     JSIL       = jsil;
     TypeInfo   = typeInfo;
 }
コード例 #4
0
ファイル: ExpandCastExpressions.cs プロジェクト: Don191/JSIL
 public ExpandCastExpressions (TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil, ITypeInfoSource typeInfo, MethodTypeFactory methodTypeFactory) {
     TypeSystem = typeSystem;
     JS = js;
     JSIL = jsil;
     TypeInfo = typeInfo;
     MethodTypeFactory = methodTypeFactory;
 }
コード例 #5
0
ファイル: ReplaceMethodCalls.cs プロジェクト: x335/JSIL
 public ReplaceMethodCalls (
     MethodReference method, JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem
 ) {
     Method = method;
     JSIL = jsil;
     JS = js;
     TypeSystem = typeSystem;
 }
コード例 #6
0
ファイル: ExpandCastExpressions.cs プロジェクト: ticuth/JSIL
 public ExpandCastExpressions(TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil, ITypeInfoSource typeInfo, MethodTypeFactory methodTypeFactory)
 {
     TypeSystem        = typeSystem;
     JS                = js;
     JSIL              = jsil;
     TypeInfo          = typeInfo;
     MethodTypeFactory = methodTypeFactory;
 }
コード例 #7
0
ファイル: ReplaceMethodCalls.cs プロジェクト: dzeitlin/JSIL
 public ReplaceMethodCalls(
     MethodReference method, JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem
     )
 {
     Method     = method;
     JSIL       = jsil;
     JS         = js;
     TypeSystem = typeSystem;
 }
コード例 #8
0
ファイル: IntroduceEnumCasts.cs プロジェクト: xen2/JSIL
        public IntroduceEnumCasts(TypeSystem typeSystem, JSSpecialIdentifiers js, TypeInfoProvider typeInfo, MethodTypeFactory methodTypes)
        {
            TypeSystem  = typeSystem;
            TypeInfo    = typeInfo;
            MethodTypes = methodTypes;
            JS          = js;

            LogicalOperators = new HashSet <JSOperator>()
            {
                JSOperator.LogicalAnd,
                JSOperator.LogicalOr,
                JSOperator.LogicalNot
            };
        }
コード例 #9
0
ファイル: IntroduceEnumCasts.cs プロジェクト: Don191/JSIL
        public IntroduceEnumCasts (TypeSystem typeSystem, JSSpecialIdentifiers js, TypeInfoProvider typeInfo, MethodTypeFactory methodTypes) {
            TypeSystem = typeSystem;
            TypeInfo = typeInfo;
            MethodTypes = methodTypes;
            JS = js;

            LogicalOperators = new HashSet<JSOperator>() {
                JSOperator.LogicalAnd,
                JSOperator.LogicalOr,
                JSOperator.LogicalNot
            };

            BitwiseOperators = new HashSet<JSOperator>() {
                JSOperator.BitwiseAnd,
                JSOperator.BitwiseOr,
                JSOperator.BitwiseXor
            };
        }
コード例 #10
0
 public ReplaceMethodCalls(JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem)
 {
     JSIL = jsil;
     JS = js;
     TypeSystem = typeSystem;
 }
コード例 #11
0
 public SimplifyOperators(JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem)
 {
     JSIL       = jsil;
     JS         = js;
     TypeSystem = typeSystem;
 }
コード例 #12
0
 public HandleBooleanAsInteger(TypeSystem typeSystem, JSSpecialIdentifiers js)
 {
     TypeSystem = typeSystem;
     JS = js;
 }
コード例 #13
0
ファイル: IntroduceCharCasts.cs プロジェクト: xen2/JSIL
 public IntroduceCharCasts(TypeSystem typeSystem, JSSpecialIdentifiers js)
 {
     TypeSystem = typeSystem;
     JS         = js;
 }
コード例 #14
0
ファイル: IntroduceCharCasts.cs プロジェクト: cbsistem/JSIL
 public IntroduceCharCasts (TypeSystem typeSystem, JSSpecialIdentifiers js) {
     TypeSystem = typeSystem;
     JS = js;
 }
コード例 #15
0
 public ExpandCastExpressions(TypeSystem typeSystem, JSSpecialIdentifiers js, JSILIdentifier jsil)
 {
     TypeSystem = typeSystem;
     JS = js;
     JSIL = jsil;
 }
コード例 #16
0
 public HandleBooleanAsInteger(TypeSystem typeSystem, JSSpecialIdentifiers js)
 {
     TypeSystem = typeSystem;
     JS         = js;
 }
コード例 #17
0
ファイル: SimplifyOperators.cs プロジェクト: cbsistem/JSIL
 public SimplifyOperators (JSILIdentifier jsil, JSSpecialIdentifiers js, TypeSystem typeSystem) {
     JSIL = jsil;
     JS = js;
     TypeSystem = typeSystem;
 }