AspectSharp.Lang.AspectParser.Parse C# (CSharp) Method

Parse() public method

public Parse ( ) : EngineConfiguration
return AspectSharp.Lang.AST.EngineConfiguration
		public EngineConfiguration Parse()
		{
			return base.start();
		}

Usage Example

		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);
			}
		}