Summary description for AspectParser.
Inheritance: AspectLanguageParser
		protected EngineConfiguration ParseContents()
		{
			AspectLanguageLexer lexer = new AspectLanguageLexer(_reader);
			AspectParser parser = new AspectParser(lexer);

			try
			{
				return parser.Parse();
			}
			catch (antlr.RecognitionException e)
			{
				int line = e.getLine();
				int startColumn = e.getColumn();
				String filename = e.getFilename();
				LexicalInfo info = new LexicalInfo(filename, line, startColumn, -1);

				throw new BuilderException(info, e.Message);
			}
		}
Example #2
0
		private void ParseSignature(XmlNode inner, PointCutDefinition def)
		{
			XmlNode signature = inner.SelectSingleNode("signature");
			StringReader reader = new StringReader(signature.InnerText);
			AspectLanguageLexer lexer = new AspectLanguageLexer(reader);
			AspectParser parser = new AspectParser(lexer);
			parser.ParsePointcutSignature(def);
		}