|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsidekick.SideKickParser
sidekick.enhanced.SourceParser
sidekick.javascript.JavaScriptParser
public class JavaScriptParser
JavaScriptParser: parses perl source and builds a sidekick structure tree Parser is based on regular expressions and will therefore not able to correctly parse very irregular perl scripts
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class sidekick.enhanced.SourceParser |
|---|
sidekick.enhanced.SourceParser.AssetComparator, sidekick.enhanced.SourceParser.PackageComparator, sidekick.enhanced.SourceParser.PackageMap |
| Field Summary |
|---|
| Fields inherited from class sidekick.enhanced.SourceParser |
|---|
_asset, _end, _lastLineNumber, _pkgAsset, _start, COMMENT, COMMENT_ICON, commentList, data, LINE_COMMENT, MAIN, PACKAGE_ICON, PACKAGE_INVALID_ICON, packages, PKG_KEY, startLine, SUB_ICON, SUB_INVALID_ICON, SUB_KEY, USE, USE_ICON, USE_INVALID_ICON, USE_KEY |
| Fields inherited from class sidekick.SideKickParser |
|---|
name, SERVICE |
| Constructor Summary | |
|---|---|
JavaScriptParser()
Constructs a new Parser object |
|
| Method Summary | |
|---|---|
sidekick.SideKickParsedData |
parse(org.gjt.sp.jedit.Buffer buffer,
java.lang.String text,
errorlist.DefaultErrorSource errorSource)
|
protected void |
parseBuffer(org.gjt.sp.jedit.Buffer buffer,
errorlist.DefaultErrorSource errorSource)
Parses the given text and returns a tree model. |
protected void |
parseBuffer(org.gjt.sp.jedit.Buffer buffer,
java.lang.String text,
errorlist.DefaultErrorSource errorSource)
|
| Methods inherited from class sidekick.enhanced.SourceParser |
|---|
addAsset, addCommentAsset, addLineAsset, addList, addPackageAsset, buildTrees, completeAsset, completeAsset, completeAsset, completePackageAsset, find, find2, loadIcon, loadIcons, newTree, parse, setStartLine |
| Methods inherited from class sidekick.SideKickParser |
|---|
activate, activate, canCompleteAnywhere, canHandleBackspace, complete, deactivate, deactivate, getCompletionPopup, getInstantCompletionTriggers, getName, getPanel, getParseTriggers, stop, supportsCompletion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaScriptParser()
| Method Detail |
|---|
protected void parseBuffer(org.gjt.sp.jedit.Buffer buffer,
errorlist.DefaultErrorSource errorSource)
parseBuffer in class sidekick.enhanced.SourceParserbuffer - The buffer to parse.errorSource - An error source to add errors to.
public sidekick.SideKickParsedData parse(org.gjt.sp.jedit.Buffer buffer,
java.lang.String text,
errorlist.DefaultErrorSource errorSource)
parse in interface sidekick.enhanced.PartialParserparse in class sidekick.enhanced.SourceParser
protected void parseBuffer(org.gjt.sp.jedit.Buffer buffer,
java.lang.String text,
errorlist.DefaultErrorSource errorSource)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||