예제 #1
0
		public NCQLParser(string resourceName, ILogger NCacheLog)
		{
            this._ncacheLog = NCacheLog;
			_parserRule = new NCQLParserRule(NCacheLog);
            System.Reflection.Assembly asm = GetType().Assembly;
            Stream s = asm.GetManifestResourceStream(resourceName);
			base.LoadGrammar(s);
		}
예제 #2
0
파일: NCQLParser.cs 프로젝트: yaobos/NCache
        public NCQLParser(string resourceName, ILogger NCacheLog)
        {
            this._ncacheLog = NCacheLog;
            _parserRule     = new NCQLParserRule(NCacheLog);
            System.Reflection.Assembly asm = GetType().Assembly;
            Stream s = asm.GetManifestResourceStream(resourceName);

            base.LoadGrammar(s);
        }