Пример #1
0
 private void CreateDeclarationAssociation(IJsUnresolvedType keyType, IJsUnresolvedType type, int offset)
 {
     context.AddAssocRule(JsRuleType.Declaration, JsTypingType.ExplicitTyping, keyType, type, offset);
 }
Пример #2
0
 private void CreateAssignmentAssociation(IJsUnresolvedType keyType, IJsUnresolvedType type, int offset)
 {
     context.AddAssocRule(JsRuleType.Assignment, JsTypingType.ExplicitTyping, keyType, type, offset);
 }
Пример #3
0
            private void AssociateToServiceGlobalType(string serviceName, IJsUnresolvedType serviceType, int offset)
            {
                var serviceGlobalType = GetHiddenGlobalPropertyType(serviceName);

                CreateAssignmentAssociation(serviceGlobalType, serviceType, offset);
            }
 private void CreateDeclarationAssociation(IJsUnresolvedType keyType, IJsUnresolvedType type, int offset)
 {
     context.AddAssocRule(JsRuleType.Declaration, JsTypingType.ExplicitTyping, keyType, type, offset);
 }
 private void CreateAssignmentAssociation(IJsUnresolvedType keyType, IJsUnresolvedType type, int offset)
 {
     context.AddAssocRule(JsRuleType.Assignment, JsTypingType.ExplicitTyping, keyType, type, offset);
 }
 private void AssociateToServiceGlobalType(string serviceName, IJsUnresolvedType serviceType, int offset)
 {
     var serviceGlobalType = GetHiddenGlobalPropertyType(serviceName);
     CreateAssignmentAssociation(serviceGlobalType, serviceType, offset);
 }