示例#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
        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);
        }