Example usage for org.aspectj.weaver.patterns IToken EOF

List of usage examples for org.aspectj.weaver.patterns IToken EOF

Introduction

In this page you can find the example usage for org.aspectj.weaver.patterns IToken EOF.

Prototype

IToken EOF

To view the source code for org.aspectj.weaver.patterns IToken EOF.

Click Source Link

Usage

From source file:org.caesarj.compiler.aspectj.CaesarPatternParser.java

License:Open Source License

public CaesarPointcut parsePointcut() {
    CaesarPointcut ret;//  w ww .j av a  2 s .  c o  m
    try {
        ret = new CaesarPointcut(patternParser.parsePointcut());
    } catch (ParserException ex) {
        throw new CaesarParserException(ex);
    }
    if (tokenSource.peek() != IToken.EOF) {
        throw new CaesarParserException(
                new ParserException("symbols found after pointcut", tokenSource.peek()));
    }
    return ret;
}