예제 #1
0
        public void TestCoreSchema()
        {
            var schema = new CoreSchema();

            TestCoreSchemaCommon(schema);
        }
		internal AssetObjectEditor(IClassificationTypeRegistryService registry)
		{
			schema = new CoreSchema();
            _comment = registry.GetClassificationType(PredefinedClassificationTypeNames.Comment);
            _anchor = registry.GetClassificationType(AssetObjectDefinitions.AnchorClassificationName);
            _alias = registry.GetClassificationType(AssetObjectDefinitions.AliasClassificationName);
            _key = registry.GetClassificationType(AssetObjectDefinitions.KeyClassificationName);
            _value = registry.GetClassificationType(PredefinedClassificationTypeNames.Identifier);
            _number = registry.GetClassificationType(AssetObjectDefinitions.NumberClassificationName);
            _string = registry.GetClassificationType(PredefinedClassificationTypeNames.String);
            _bool = registry.GetClassificationType(PredefinedClassificationTypeNames.Keyword);
            _tag = registry.GetClassificationType(PredefinedClassificationTypeNames.SymbolDefinition);
            _symbol = registry.GetClassificationType(PredefinedClassificationTypeNames.Operator);
            _directive = registry.GetClassificationType(PredefinedClassificationTypeNames.PreprocessorKeyword);
            _tab = registry.GetClassificationType(AssetObjectDefinitions.ErrorClassificationName);
        }