net.sf.plb4jedit.plb
Class PlbParser

java.lang.Object
  extended bysidekick.SideKickParser
      extended bynet.sf.plb4jedit.plb.PlbParser

public class PlbParser
extends sidekick.SideKickParser

parses a PLB-source file and extends SideKickParser to view structure (I know there is no .... ) in the StructureBrowser tree.
The main parsing is done in PlbSource, which parses and gives access to the information we need: variables, labels, includes and a ResourceManager, which add the possibility to recursively look in all includes used by a program. TODO: port to SideKickPlugin v.0.3/jEdit 4.2 which supports finer integration of code-completion.

Author:
Peter Schaefer

Constructor Summary
PlbParser(String name)
          constructs a PlbParser object.
 
Method Summary
 sidekick.SideKickCompletion complete(org.gjt.sp.jedit.EditPane editPane, int caret)
           
 String getDelayCompletionTriggers()
           
 sidekick.SideKickParsedData parse(org.gjt.sp.jedit.Buffer buffer, errorlist.DefaultErrorSource errorSource)
           
 boolean supportsCompletion()
           
 
Methods inherited from class sidekick.SideKickParser
activate, deactivate, getInstantCompletionTriggers, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlbParser

public PlbParser(String name)
constructs a PlbParser object.

Parameters:
name -
Method Detail

supportsCompletion

public boolean supportsCompletion()

getDelayCompletionTriggers

public String getDelayCompletionTriggers()

complete

public sidekick.SideKickCompletion complete(org.gjt.sp.jedit.EditPane editPane,
                                            int caret)

parse

public sidekick.SideKickParsedData parse(org.gjt.sp.jedit.Buffer buffer,
                                         errorlist.DefaultErrorSource errorSource)


Copyright © 2003 Riege Software Internationl. All Rights Reserved.