Package net.sourceforge.veditor.parser

Examples of net.sourceforge.veditor.parser.IParser


   */
  public boolean refreshOutline() throws HdlParserException{
    if(m_NeedToRefresh){
      m_NeedToRefresh=false;
      getOutlineContainer(false).clear();
      IParser parser = createParser(get());
      VerilogPlugin.deleteMarkers(getFile());
      try{
        parser.parse();
      }
      catch (HdlParserException e){
        throw e;
      }
      OutlineDatabase database = OutlineDatabase.getProjectsDatabase(getProject());
View Full Code Here


   * @param documentOffset
   * @return
   */
  public int getContext(int documentOffset) throws BadLocationException {
    String text = get(0, documentOffset);
    IParser parser = ParserFactory.createVerilogParser(text, null, getFile());
    try {
      parser.parse();
    } catch (HdlParserException e) {
    }

    return parser.getContext();
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.veditor.parser.IParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.