Example usage for org.aspectj.weaver.patterns ITokenSource getSourceContext

List of usage examples for org.aspectj.weaver.patterns ITokenSource getSourceContext

Introduction

In this page you can find the example usage for org.aspectj.weaver.patterns ITokenSource getSourceContext.

Prototype

public ISourceContext getSourceContext();

Source Link

Usage

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

License:Open Source License

/**
 * Constructor for PatterParserWrapper.//from ww w  .j a v a 2 s  .  c om
 * Just calls super.
 * 
 * @param tokenSource the tokensource object
 */
public CaesarWrapperPatternParser(ITokenSource tokenSource) {
    super(tokenSource);
    this.tokenSource = tokenSource;
    this.sourceContext = tokenSource.getSourceContext();
}