Class JavaScriptParser
java.lang.Object
org.fife.rsta.ac.js.ast.parser.JavaScriptParser
- Direct Known Subclasses:
JavaScriptAstParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected TypeDeclarationOptionsprotected SourceCompletionProvider -
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptParser(SourceCompletionProvider provider, int dot, TypeDeclarationOptions options) JavaScriptParser constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract CodeBlockconvertAstNodeToCodeBlock(org.mozilla.javascript.ast.AstRoot root, Set<org.fife.ui.autocomplete.Completion> set, String entered) Converts AstRoot to CodeBlockbooleanIf options are null, then it is assumed that the main editor text is being parsed
-
Field Details
-
provider
-
dot
protected int dot -
options
-
-
Constructor Details
-
JavaScriptParser
JavaScriptParser constructor- Parameters:
provider-dot-options-
-
-
Method Details
-
convertAstNodeToCodeBlock
-
isPreProcessing
public boolean isPreProcessing()If options are null, then it is assumed that the main editor text is being parsed- Returns:
- whether options is not null and is in pre-processing mode.
-