cz.cuni.pogamut.posh.nbparser
Class NbPoshParser

Package class diagram package NbPoshParser
java.lang.Object
  extended by org.netbeans.modules.parsing.spi.Parser
      extended by cz.cuni.pogamut.posh.nbparser.NbPoshParser

public class NbPoshParser
extends org.netbeans.modules.parsing.spi.Parser

NB parser that is parsing .lap files in editor and stores results in Result class.

Author:
Honza

Nested Class Summary
static class NbPoshParser.ParserResult
           
 
Nested classes/interfaces inherited from class org.netbeans.modules.parsing.spi.Parser
org.netbeans.modules.parsing.spi.Parser.CancelReason, org.netbeans.modules.parsing.spi.Parser.Result
 
Constructor Summary
NbPoshParser()
           
 
Method Summary
 void addChangeListener(ChangeListener cl)
           
 void cancel()
           
 org.netbeans.modules.parsing.spi.Parser.Result getResult(org.netbeans.modules.parsing.api.Task task)
           
 void parse(org.netbeans.modules.parsing.api.Snapshot snapshot, org.netbeans.modules.parsing.api.Task task, org.netbeans.modules.parsing.spi.SourceModificationEvent sme)
           
 void removeChangeListener(ChangeListener cl)
           
 
Methods inherited from class org.netbeans.modules.parsing.spi.Parser
cancel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NbPoshParser

public NbPoshParser()
Method Detail

parse

public void parse(org.netbeans.modules.parsing.api.Snapshot snapshot,
                  org.netbeans.modules.parsing.api.Task task,
                  org.netbeans.modules.parsing.spi.SourceModificationEvent sme)
           throws org.netbeans.modules.parsing.spi.ParseException
Specified by:
parse in class org.netbeans.modules.parsing.spi.Parser
Throws:
org.netbeans.modules.parsing.spi.ParseException

getResult

public org.netbeans.modules.parsing.spi.Parser.Result getResult(org.netbeans.modules.parsing.api.Task task)
                                                         throws org.netbeans.modules.parsing.spi.ParseException
Specified by:
getResult in class org.netbeans.modules.parsing.spi.Parser
Throws:
org.netbeans.modules.parsing.spi.ParseException

cancel

public void cancel()
Overrides:
cancel in class org.netbeans.modules.parsing.spi.Parser

addChangeListener

public void addChangeListener(ChangeListener cl)
Specified by:
addChangeListener in class org.netbeans.modules.parsing.spi.Parser

removeChangeListener

public void removeChangeListener(ChangeListener cl)
Specified by:
removeChangeListener in class org.netbeans.modules.parsing.spi.Parser


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.