├── .editorconfig ├── .github └── workflows │ ├── codeql-analysis.yml │ └── gradle.yml ├── .gitignore ├── LICENSE.md ├── README.md ├── RSTALanguageSupport ├── README.md ├── build.gradle └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── fife │ │ │ └── rsta │ │ │ └── ac │ │ │ ├── AbstractLanguageSupport.java │ │ │ ├── AbstractMarkupLanguageSupport.java │ │ │ ├── AbstractSourceTree.java │ │ │ ├── GoToMemberAction.java │ │ │ ├── GoToMemberWindow.java │ │ │ ├── IOUtil.java │ │ │ ├── LanguageSupport.java │ │ │ ├── LanguageSupportFactory.java │ │ │ ├── OutputCollector.java │ │ │ ├── ShorthandCompletionCache.java │ │ │ ├── SourceTreeNode.java │ │ │ ├── asm6502 │ │ │ ├── Asm6502CodeCompletionProvider.java │ │ │ ├── Asm6502CompletionProvider.java │ │ │ ├── Asm6502LanguageSupport.java │ │ │ └── package-info.java │ │ │ ├── c │ │ │ ├── CCellRenderer.java │ │ │ ├── CCompletionProvider.java │ │ │ ├── CLanguageSupport.java │ │ │ └── package-info.java │ │ │ ├── common │ │ │ ├── CodeBlock.java │ │ │ ├── TokenScanner.java │ │ │ ├── VariableDeclaration.java │ │ │ └── package-info.java │ │ │ ├── css │ │ │ ├── BasicCssCompletion.java │ │ │ ├── BorderStyleCompletionGenerator.java │ │ │ ├── ColorCompletionGenerator.java │ │ │ ├── CommonFontCompletionGenerator.java │ │ │ ├── CompletionGenerator.java │ │ │ ├── CssCellRenderer.java │ │ │ ├── CssCompletionProvider.java │ │ │ ├── CssLanguageSupport.java │ │ │ ├── IconFactory.java │ │ │ ├── PercentageOrLengthCompletionGenerator.java │ │ │ ├── PropertyCompletion.java │ │ │ ├── PropertyValueCompletionProvider.java │ │ │ ├── TimeCompletionGenerator.java │ │ │ └── package-info.java │ │ │ ├── groovy │ │ │ ├── GroovyCompletionProvider.java │ │ │ ├── GroovyLanguageSupport.java │ │ │ ├── GroovySourceCompletionProvider.java │ │ │ └── package-info.java │ │ │ ├── html │ │ │ ├── AttributeCompletion.java │ │ │ ├── HtmlCellRenderer.java │ │ │ ├── HtmlCompletionProvider.java │ │ │ ├── HtmlLanguageSupport.java │ │ │ └── package-info.java │ │ │ ├── java │ │ │ ├── AbstractJavaSourceCompletion.java │ │ │ ├── ClassCompletion.java │ │ │ ├── DecoratableIcon.java │ │ │ ├── DocCommentCompletionProvider.java │ │ │ ├── FieldCompletion.java │ │ │ ├── FieldData.java │ │ │ ├── FieldInfoData.java │ │ │ ├── IconFactory.java │ │ │ ├── JarManager.java │ │ │ ├── JarReader.java │ │ │ ├── JavaCellRenderer.java │ │ │ ├── JavaCompletionProvider.java │ │ │ ├── JavaLanguageSupport.java │ │ │ ├── JavaLinkGenerator.java │ │ │ ├── JavaParamListCellRenderer.java │ │ │ ├── JavaParser.java │ │ │ ├── JavaShorthandCompletion.java │ │ │ ├── JavaShorthandCompletionCache.java │ │ │ ├── JavaSourceCompletion.java │ │ │ ├── JavaTemplateCompletion.java │ │ │ ├── JavadocUrlHandler.java │ │ │ ├── LocalVariableCompletion.java │ │ │ ├── MemberCompletion.java │ │ │ ├── MethodCompletion.java │ │ │ ├── MethodData.java │ │ │ ├── MethodInfoData.java │ │ │ ├── PackageMapNode.java │ │ │ ├── PackageNameCompletion.java │ │ │ ├── SourceCompletionProvider.java │ │ │ ├── SourceParamChoicesProvider.java │ │ │ ├── Util.java │ │ │ ├── buildpath │ │ │ │ ├── ClassEnumerationReader.java │ │ │ │ ├── ClasspathLibraryInfo.java │ │ │ │ ├── ClasspathSourceLocation.java │ │ │ │ ├── DirLibraryInfo.java │ │ │ │ ├── DirSourceLocation.java │ │ │ │ ├── JarLibraryInfo.java │ │ │ │ ├── LibraryInfo.java │ │ │ │ ├── SourceLocation.java │ │ │ │ ├── ZipSourceLocation.java │ │ │ │ └── package-info.java │ │ │ ├── classreader │ │ │ │ ├── AccessFlags.java │ │ │ │ ├── ClassFile.java │ │ │ │ ├── ExceptionTableEntry.java │ │ │ │ ├── FieldInfo.java │ │ │ │ ├── Frame.java │ │ │ │ ├── MemberInfo.java │ │ │ │ ├── MethodInfo.java │ │ │ │ ├── Util.java │ │ │ │ ├── attributes │ │ │ │ │ ├── AttributeInfo.java │ │ │ │ │ ├── Code.java │ │ │ │ │ ├── ConstantValue.java │ │ │ │ │ ├── Exceptions.java │ │ │ │ │ ├── Signature.java │ │ │ │ │ ├── SourceFile.java │ │ │ │ │ ├── UnsupportedAttribute.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── constantpool │ │ │ │ │ ├── ConstantClassInfo.java │ │ │ │ │ ├── ConstantDoubleInfo.java │ │ │ │ │ ├── ConstantFieldrefInfo.java │ │ │ │ │ ├── ConstantFloatInfo.java │ │ │ │ │ ├── ConstantIntegerInfo.java │ │ │ │ │ ├── ConstantInterfaceMethodrefInfo.java │ │ │ │ │ ├── ConstantInvokeDynamicInfo.java │ │ │ │ │ ├── ConstantLongInfo.java │ │ │ │ │ ├── ConstantMethodHandleInfo.java │ │ │ │ │ ├── ConstantMethodTypeInfo.java │ │ │ │ │ ├── ConstantMethodrefInfo.java │ │ │ │ │ ├── ConstantNameAndTypeInfo.java │ │ │ │ │ ├── ConstantPoolInfo.java │ │ │ │ │ ├── ConstantPoolInfoFactory.java │ │ │ │ │ ├── ConstantStringInfo.java │ │ │ │ │ ├── ConstantTypes.java │ │ │ │ │ ├── ConstantUtf8Info.java │ │ │ │ │ └── package-info.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── rjc │ │ │ │ ├── ast │ │ │ │ │ ├── ASTNode.java │ │ │ │ │ ├── AbstractASTNode.java │ │ │ │ │ ├── AbstractMember.java │ │ │ │ │ ├── AbstractTypeDeclarationNode.java │ │ │ │ │ ├── CodeBlock.java │ │ │ │ │ ├── CompilationUnit.java │ │ │ │ │ ├── EnumBody.java │ │ │ │ │ ├── EnumDeclaration.java │ │ │ │ │ ├── Field.java │ │ │ │ │ ├── FormalParameter.java │ │ │ │ │ ├── ImportDeclaration.java │ │ │ │ │ ├── LocalVariable.java │ │ │ │ │ ├── Member.java │ │ │ │ │ ├── Method.java │ │ │ │ │ ├── NormalClassDeclaration.java │ │ │ │ │ ├── NormalInterfaceDeclaration.java │ │ │ │ │ ├── Package.java │ │ │ │ │ ├── TypeDeclaration.java │ │ │ │ │ ├── TypeDeclarationContainer.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── lang │ │ │ │ │ ├── Annotation.java │ │ │ │ │ ├── Modifiers.java │ │ │ │ │ ├── Type.java │ │ │ │ │ ├── TypeArgument.java │ │ │ │ │ ├── TypeParameter.java │ │ │ │ │ ├── Variable.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── lexer │ │ │ │ │ ├── Offset.java │ │ │ │ │ ├── Scanner.java │ │ │ │ │ ├── SourceCodeScanner.flex │ │ │ │ │ ├── SourceCodeScanner.java │ │ │ │ │ ├── Token.java │ │ │ │ │ ├── TokenImpl.java │ │ │ │ │ ├── TokenTypes.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── notices │ │ │ │ │ ├── ParserNotice.java │ │ │ │ │ └── package-info.java │ │ │ │ └── parser │ │ │ │ │ ├── ASTFactory.java │ │ │ │ │ ├── Main.java │ │ │ │ │ └── package-info.java │ │ │ └── tree │ │ │ │ ├── AstTreeCellRenderer.java │ │ │ │ ├── JavaOutlineTree.java │ │ │ │ ├── JavaTreeNode.java │ │ │ │ ├── LocalVarTreeNode.java │ │ │ │ ├── MemberTreeNode.java │ │ │ │ ├── TypeDeclarationTreeNode.java │ │ │ │ └── package-info.java │ │ │ ├── js │ │ │ ├── IconFactory.java │ │ │ ├── JavaScriptCellRenderer.java │ │ │ ├── JavaScriptCompletionProvider.java │ │ │ ├── JavaScriptDocUrlhandler.java │ │ │ ├── JavaScriptHelper.java │ │ │ ├── JavaScriptLanguageSupport.java │ │ │ ├── JavaScriptLinkGenerator.java │ │ │ ├── JavaScriptParser.java │ │ │ ├── JavaScriptShorthandCompletionCache.java │ │ │ ├── JsDocCompletionProvider.java │ │ │ ├── JsErrorParser.java │ │ │ ├── JsHinter.java │ │ │ ├── Logger.java │ │ │ ├── PreProcessingScripts.java │ │ │ ├── SourceCompletionProvider.java │ │ │ ├── Util.java │ │ │ ├── ast │ │ │ │ ├── CodeBlock.java │ │ │ │ ├── FunctionDeclaration.java │ │ │ │ ├── JavaScriptDeclaration.java │ │ │ │ ├── JavaScriptFunctionDeclaration.java │ │ │ │ ├── JavaScriptFunctionTypeDeclaration.java │ │ │ │ ├── JavaScriptVariableDeclaration.java │ │ │ │ ├── TypeDeclarationOptions.java │ │ │ │ ├── VariableResolver.java │ │ │ │ ├── jsType │ │ │ │ │ ├── JSR223JavaScriptTypesFactory.java │ │ │ │ │ ├── JSR223Type.java │ │ │ │ │ ├── JavaScriptFunctionType.java │ │ │ │ │ ├── JavaScriptType.java │ │ │ │ │ ├── JavaScriptTypesFactory.java │ │ │ │ │ └── RhinoJavaScriptTypesFactory.java │ │ │ │ ├── parser │ │ │ │ │ ├── JavaScriptAstParser.java │ │ │ │ │ ├── JavaScriptParser.java │ │ │ │ │ ├── JavaScriptTypeNode.java │ │ │ │ │ └── RhinoJavaScriptAstParser.java │ │ │ │ └── type │ │ │ │ │ ├── ArrayTypeDeclaration.java │ │ │ │ │ ├── ECMAAdditions.java │ │ │ │ │ ├── TypeDeclaration.java │ │ │ │ │ ├── TypeDeclarationFactory.java │ │ │ │ │ └── ecma │ │ │ │ │ ├── TypeDeclarations.java │ │ │ │ │ ├── client │ │ │ │ │ ├── ClientBrowserAdditions.java │ │ │ │ │ ├── DOMAdditions.java │ │ │ │ │ └── HTMLDOMAdditions.java │ │ │ │ │ ├── e4x │ │ │ │ │ └── ECMAvE4xAdditions.java │ │ │ │ │ ├── v3 │ │ │ │ │ └── TypeDeclarationsECMAv3.java │ │ │ │ │ └── v5 │ │ │ │ │ └── TypeDeclarationsECMAv5.java │ │ │ ├── completion │ │ │ │ ├── JSBeanCompletion.java │ │ │ │ ├── JSClassCompletion.java │ │ │ │ ├── JSCompletion.java │ │ │ │ ├── JSCompletionUI.java │ │ │ │ ├── JSConstructorCompletion.java │ │ │ │ ├── JSFieldCompletion.java │ │ │ │ ├── JSFieldData.java │ │ │ │ ├── JSFunctionCompletion.java │ │ │ │ ├── JSMethodData.java │ │ │ │ ├── JSVariableCompletion.java │ │ │ │ ├── JavaScriptInScriptFunctionCompletion.java │ │ │ │ ├── JavaScriptMethodCompletion.java │ │ │ │ ├── JavaScriptShorthandCompletion.java │ │ │ │ ├── JavaScriptTemplateCompletion.java │ │ │ │ └── JavascriptBasicCompletion.java │ │ │ ├── ecma │ │ │ │ └── api │ │ │ │ │ ├── client │ │ │ │ │ ├── BarProp.java │ │ │ │ │ ├── History.java │ │ │ │ │ ├── Location.java │ │ │ │ │ ├── Navigator.java │ │ │ │ │ ├── Screen.java │ │ │ │ │ ├── Window.java │ │ │ │ │ └── funtions │ │ │ │ │ │ ├── HistoryFunctions.java │ │ │ │ │ │ ├── LocationFunctions.java │ │ │ │ │ │ ├── NavigatorFunctions.java │ │ │ │ │ │ └── WindowFunctions.java │ │ │ │ │ ├── dom │ │ │ │ │ ├── JSAttr.java │ │ │ │ │ ├── JSCDATASection.java │ │ │ │ │ ├── JSCharacterData.java │ │ │ │ │ ├── JSComment.java │ │ │ │ │ ├── JSDOMConfiguration.java │ │ │ │ │ ├── JSDOMImplementation.java │ │ │ │ │ ├── JSDOMImplementationList.java │ │ │ │ │ ├── JSDOMImplementationSource.java │ │ │ │ │ ├── JSDOMLocator.java │ │ │ │ │ ├── JSDOMStringList.java │ │ │ │ │ ├── JSDocument.java │ │ │ │ │ ├── JSDocumentFragment.java │ │ │ │ │ ├── JSDocumentType.java │ │ │ │ │ ├── JSElement.java │ │ │ │ │ ├── JSEntity.java │ │ │ │ │ ├── JSEntityReference.java │ │ │ │ │ ├── JSNameList.java │ │ │ │ │ ├── JSNamedNodeMap.java │ │ │ │ │ ├── JSNode.java │ │ │ │ │ ├── JSNodeList.java │ │ │ │ │ ├── JSNotation.java │ │ │ │ │ ├── JSProcessingInstruction.java │ │ │ │ │ ├── JSText.java │ │ │ │ │ ├── JSTypeInfo.java │ │ │ │ │ ├── JSUserDataHandler.java │ │ │ │ │ └── html │ │ │ │ │ │ ├── JSHTMLAnchorElement.java │ │ │ │ │ │ ├── JSHTMLAppletElement.java │ │ │ │ │ │ ├── JSHTMLAreaElement.java │ │ │ │ │ │ ├── JSHTMLBRElement.java │ │ │ │ │ │ ├── JSHTMLBaseElement.java │ │ │ │ │ │ ├── JSHTMLBaseFontElement.java │ │ │ │ │ │ ├── JSHTMLBodyElement.java │ │ │ │ │ │ ├── JSHTMLButtonElement.java │ │ │ │ │ │ ├── JSHTMLCollection.java │ │ │ │ │ │ ├── JSHTMLDListElement.java │ │ │ │ │ │ ├── JSHTMLDirectoryElement.java │ │ │ │ │ │ ├── JSHTMLDivElement.java │ │ │ │ │ │ ├── JSHTMLDocument.java │ │ │ │ │ │ ├── JSHTMLElement.java │ │ │ │ │ │ ├── JSHTMLFieldSetElement.java │ │ │ │ │ │ ├── JSHTMLFontElement.java │ │ │ │ │ │ ├── JSHTMLFormElement.java │ │ │ │ │ │ ├── JSHTMLFrameElement.java │ │ │ │ │ │ ├── JSHTMLFrameSetElement.java │ │ │ │ │ │ ├── JSHTMLHRElement.java │ │ │ │ │ │ ├── JSHTMLHeadElement.java │ │ │ │ │ │ ├── JSHTMLHeadingElement.java │ │ │ │ │ │ ├── JSHTMLHtmlElement.java │ │ │ │ │ │ ├── JSHTMLIFrameElement.java │ │ │ │ │ │ ├── JSHTMLImageElement.java │ │ │ │ │ │ ├── JSHTMLInputElement.java │ │ │ │ │ │ ├── JSHTMLIsIndexElement.java │ │ │ │ │ │ ├── JSHTMLLIElement.java │ │ │ │ │ │ ├── JSHTMLLabelElement.java │ │ │ │ │ │ ├── JSHTMLLegendElement.java │ │ │ │ │ │ ├── JSHTMLLinkElement.java │ │ │ │ │ │ ├── JSHTMLMapElement.java │ │ │ │ │ │ ├── JSHTMLMenuElement.java │ │ │ │ │ │ ├── JSHTMLMetaElement.java │ │ │ │ │ │ ├── JSHTMLModElement.java │ │ │ │ │ │ ├── JSHTMLOListElement.java │ │ │ │ │ │ ├── JSHTMLObjectElement.java │ │ │ │ │ │ ├── JSHTMLOptGroupElement.java │ │ │ │ │ │ ├── JSHTMLOptionElement.java │ │ │ │ │ │ ├── JSHTMLOptionsCollection.java │ │ │ │ │ │ ├── JSHTMLParagraphElement.java │ │ │ │ │ │ ├── JSHTMLParamElement.java │ │ │ │ │ │ ├── JSHTMLPreElement.java │ │ │ │ │ │ ├── JSHTMLQuoteElement.java │ │ │ │ │ │ ├── JSHTMLScriptElement.java │ │ │ │ │ │ ├── JSHTMLSelectElement.java │ │ │ │ │ │ ├── JSHTMLStyleElement.java │ │ │ │ │ │ ├── JSHTMLTableCaptionElement.java │ │ │ │ │ │ ├── JSHTMLTableCellElement.java │ │ │ │ │ │ ├── JSHTMLTableColElement.java │ │ │ │ │ │ ├── JSHTMLTableElement.java │ │ │ │ │ │ ├── JSHTMLTableRowElement.java │ │ │ │ │ │ ├── JSHTMLTableSectionElement.java │ │ │ │ │ │ ├── JSHTMLTextAreaElement.java │ │ │ │ │ │ ├── JSHTMLTitleElement.java │ │ │ │ │ │ └── JSHTMLUListElement.java │ │ │ │ │ ├── e4x │ │ │ │ │ ├── E4XGlobal.java │ │ │ │ │ ├── E4XNamespace.java │ │ │ │ │ ├── E4XQName.java │ │ │ │ │ ├── E4XXML.java │ │ │ │ │ ├── E4XXMLList.java │ │ │ │ │ └── functions │ │ │ │ │ │ ├── E4XGlobalFunctions.java │ │ │ │ │ │ ├── E4XXMLFunctions.java │ │ │ │ │ │ └── E4XXMLListFunctions.java │ │ │ │ │ ├── ecma3 │ │ │ │ │ ├── JSArray.java │ │ │ │ │ ├── JSBoolean.java │ │ │ │ │ ├── JSDate.java │ │ │ │ │ ├── JSError.java │ │ │ │ │ ├── JSFunction.java │ │ │ │ │ ├── JSGlobal.java │ │ │ │ │ ├── JSMath.java │ │ │ │ │ ├── JSNumber.java │ │ │ │ │ ├── JSObject.java │ │ │ │ │ ├── JSRegExp.java │ │ │ │ │ ├── JSString.java │ │ │ │ │ ├── JSUndefined.java │ │ │ │ │ └── functions │ │ │ │ │ │ ├── JSArrayFunctions.java │ │ │ │ │ │ ├── JSDateFunctions.java │ │ │ │ │ │ ├── JSFunctionFunctions.java │ │ │ │ │ │ ├── JSGlobalFunctions.java │ │ │ │ │ │ ├── JSNumberFunctions.java │ │ │ │ │ │ ├── JSObjectFunctions.java │ │ │ │ │ │ ├── JSRegExpFunctions.java │ │ │ │ │ │ └── JSStringFunctions.java │ │ │ │ │ └── ecma5 │ │ │ │ │ ├── JS5Array.java │ │ │ │ │ ├── JS5Date.java │ │ │ │ │ ├── JS5Function.java │ │ │ │ │ ├── JS5JSON.java │ │ │ │ │ ├── JS5Object.java │ │ │ │ │ ├── JS5String.java │ │ │ │ │ └── functions │ │ │ │ │ ├── JS5ArrayFunctions.java │ │ │ │ │ ├── JS5DateFunctions.java │ │ │ │ │ ├── JS5FunctionFunctions.java │ │ │ │ │ ├── JS5ObjectFunctions.java │ │ │ │ │ └── JS5StringFunctions.java │ │ │ ├── engine │ │ │ │ ├── ECMAJavaScriptEngine.java │ │ │ │ ├── JSR223JavaScriptEngine.java │ │ │ │ ├── JavaScriptEngine.java │ │ │ │ ├── JavaScriptEngineFactory.java │ │ │ │ └── RhinoJavaScriptEngine.java │ │ │ ├── package-info.java │ │ │ ├── resolver │ │ │ │ ├── JSR223JavaScriptCompletionResolver.java │ │ │ │ ├── JavaScriptCompletionResolver.java │ │ │ │ └── JavaScriptResolver.java │ │ │ ├── tree │ │ │ │ ├── JavaScriptOutlineTree.java │ │ │ │ ├── JavaScriptOutlineTreeGenerator.java │ │ │ │ ├── JavaScriptTreeCellRenderer.java │ │ │ │ └── JavaScriptTreeNode.java │ │ │ └── util │ │ │ │ └── RhinoUtil.java │ │ │ ├── jsp │ │ │ ├── JspCompletionProvider.java │ │ │ ├── JspLanguageSupport.java │ │ │ ├── TldAttribute.java │ │ │ ├── TldElement.java │ │ │ ├── TldFile.java │ │ │ └── package-info.java │ │ │ ├── less │ │ │ ├── LessCodeCompletionProvider.java │ │ │ ├── LessCompletionProvider.java │ │ │ ├── LessLanguageSupport.java │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── perl │ │ │ ├── PerlCodeCompletionProvider.java │ │ │ ├── PerlCompletionProvider.java │ │ │ ├── PerlFunctionCompletion.java │ │ │ ├── PerlLanguageSupport.java │ │ │ ├── PerlOutputCollector.java │ │ │ ├── PerlParser.java │ │ │ └── package-info.java │ │ │ ├── php │ │ │ ├── PhpCompletionProvider.java │ │ │ ├── PhpLanguageSupport.java │ │ │ └── package-info.java │ │ │ ├── sh │ │ │ ├── ShellCompletionProvider.java │ │ │ ├── ShellFunctionCompletion.java │ │ │ ├── ShellLanguageSupport.java │ │ │ └── package-info.java │ │ │ ├── ts │ │ │ ├── SourceCompletionProvider.java │ │ │ ├── TypeScriptCompletionProvider.java │ │ │ ├── TypeScriptLanguageSupport.java │ │ │ └── package-info.java │ │ │ └── xml │ │ │ ├── DtdValidationConfig.java │ │ │ ├── SchemaValidationConfig.java │ │ │ ├── ValidationConfig.java │ │ │ ├── ValidationConfigSniffer.java │ │ │ ├── XmlCompletionProvider.java │ │ │ ├── XmlLanguageSupport.java │ │ │ ├── XmlParser.java │ │ │ ├── package-info.java │ │ │ └── tree │ │ │ ├── XmlOutlineTree.java │ │ │ ├── XmlTreeCellRenderer.java │ │ │ ├── XmlTreeNode.java │ │ │ └── package-info.java │ └── resources │ │ ├── data │ │ ├── asm6502.xml │ │ ├── c.xml │ │ ├── css_properties.txt │ │ ├── html.xml │ │ ├── jsp.xml │ │ ├── less_functions.xml │ │ ├── perl5.xml │ │ ├── php.xml │ │ └── sh.xml │ │ └── org │ │ └── fife │ │ └── rsta │ │ └── ac │ │ ├── c │ │ ├── function.png │ │ ├── macro.png │ │ └── var.png │ │ ├── css │ │ └── img │ │ │ ├── aural_props.gif │ │ │ ├── boxmodel_props.gif │ │ │ ├── charset_rule.gif │ │ │ ├── colback_props.gif │ │ │ ├── content_props.gif │ │ │ ├── css_propertyvalue_function.gif │ │ │ ├── css_propertyvalue_identifier.gif │ │ │ ├── css_propertyvalue_unit.gif │ │ │ ├── font_props.gif │ │ │ ├── fontface_rule.gif │ │ │ ├── link_rule.gif │ │ │ ├── media_rule.gif │ │ │ ├── page_rule.gif │ │ │ ├── pagedmedia_props.gif │ │ │ ├── table_props.gif │ │ │ ├── text_props.gif │ │ │ ├── ui_props.gif │ │ │ └── visual_props.gif │ │ ├── html │ │ ├── attribute.png │ │ ├── html5_close_tags.txt │ │ ├── tag.png │ │ └── xml_comment.png │ │ ├── java │ │ ├── img │ │ │ ├── abstract_co.gif │ │ │ ├── class_default_obj.gif │ │ │ ├── class_obj.gif │ │ │ ├── constr_ovr.gif │ │ │ ├── deprecated.gif │ │ │ ├── enum_default_obj.gif │ │ │ ├── enum_obj.gif │ │ │ ├── enum_private_obj.gif │ │ │ ├── enum_protected_obj.gif │ │ │ ├── error_obj.gif │ │ │ ├── field_default_obj.gif │ │ │ ├── field_private_obj.gif │ │ │ ├── field_protected_obj.gif │ │ │ ├── field_public_obj.gif │ │ │ ├── final_co.gif │ │ │ ├── html_tag_obj.gif │ │ │ ├── imp_obj.gif │ │ │ ├── impc_obj.gif │ │ │ ├── info_obj.gif │ │ │ ├── innerclass_default_obj.gif │ │ │ ├── innerclass_private_obj.gif │ │ │ ├── innerclass_protected_obj.gif │ │ │ ├── innerclass_public_obj.gif │ │ │ ├── innerinterface_default_obj.gif │ │ │ ├── innerinterface_private_obj.gif │ │ │ ├── innerinterface_protected_obj.gif │ │ │ ├── innerinterface_public_obj.gif │ │ │ ├── int_default_obj.gif │ │ │ ├── int_obj.gif │ │ │ ├── jcu_obj.gif │ │ │ ├── jdoc_tag_obj.gif │ │ │ ├── localvariable_obj.gif │ │ │ ├── methdef_obj.gif │ │ │ ├── methpri_obj.gif │ │ │ ├── methpro_obj.gif │ │ │ ├── methpub_obj.gif │ │ │ ├── package_obj.gif │ │ │ ├── static_co.gif │ │ │ ├── synch_co.gif │ │ │ ├── template_obj.gif │ │ │ └── warning_obj.gif │ │ └── resources.properties │ │ ├── js │ │ ├── img │ │ │ ├── class_obj.gif │ │ │ ├── field_default_obj.gif │ │ │ ├── field_public_obj.gif │ │ │ ├── jdoc_tag_obj.gif │ │ │ ├── localvariable_obj.gif │ │ │ ├── methdef_obj.gif │ │ │ ├── methpub_obj.gif │ │ │ ├── methpub_static.gif │ │ │ ├── static_co.gif │ │ │ └── template_obj.gif │ │ └── resources.properties │ │ ├── less │ │ └── img │ │ │ └── methpub_obj.gif │ │ └── xml │ │ └── tree │ │ └── tag.png │ └── test │ ├── java │ └── org │ │ └── fife │ │ └── rsta │ │ └── ac │ │ └── java │ │ └── rjc │ │ └── parser │ │ └── ClassAndLocalVariablesTest.java │ └── resources │ └── SimpleClass.java ├── RSTALanguageSupportDemo ├── README.md ├── build.gradle └── src │ └── main │ ├── java │ └── org │ │ └── fife │ │ └── rsta │ │ └── ac │ │ └── demo │ │ ├── AboutDialog.java │ │ ├── Actions.java │ │ ├── DemoApp.java │ │ ├── DemoRootPane.java │ │ ├── ExtensionFileFilter.java │ │ └── package-info.java │ └── resources │ └── examples │ ├── Asm6502Example.txt │ ├── CExample.txt │ ├── CssExample.txt │ ├── GroovyExample.txt │ ├── HtmlExample.txt │ ├── JSExample.txt │ ├── JavaExample.txt │ ├── JspExample.txt │ ├── LessExample.txt │ ├── PerlExample.txt │ ├── PhpExample.txt │ ├── ShellExample.txt │ ├── TypeScriptExample.txt │ └── XmlExample.txt ├── build.gradle ├── config └── checkstyle │ ├── checkstyle.xml │ └── lsSuppressions.xml ├── data ├── asm6502.xml ├── asm6502 │ ├── asm-6502-instructions.txt │ └── create_asm6502_xml.pl ├── c.xml ├── c │ ├── c.txt │ └── create_c_xml.pl ├── css │ └── css_properties.txt ├── html │ ├── create_html_xml.pl │ ├── html5_tags_to_descs.txt │ └── html_401_attrs.txt ├── jsp │ ├── create_jsp_xml.pl │ └── jsp_input.txt ├── less │ ├── create_less_xml.pl │ └── less_builtin_functions.txt ├── less_functions.xml ├── perl │ ├── create_perl5_xml.pl │ ├── perl5.txt │ └── src │ │ └── Main.java ├── php │ ├── create_php_xml.pl │ └── php.txt └── sh │ ├── create_sh_xml.pl │ ├── sh.txt │ └── test.sh ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── java_support_TODO.txt └── settings.gradle /.editorconfig: -------------------------------------------------------------------------------- 1 | [*.java] 2 | indent_style = tab 3 | indent_size = 4 4 | trim_trailing_whitespace = true 5 | max_line_length = 120 6 | tab_width = 4 7 | -------------------------------------------------------------------------------- /.github/workflows/gradle.yml: -------------------------------------------------------------------------------- 1 | # This workflow will build a Java project with Gradle 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle 3 | 4 | name: Gradle Build 5 | 6 | on: 7 | push: 8 | branches: [ master ] 9 | pull_request: 10 | branches: [ master ] 11 | 12 | jobs: 13 | build: 14 | 15 | runs-on: ubuntu-latest 16 | 17 | strategy: 18 | matrix: 19 | java: [ '8', '11', '14', '17'] 20 | 21 | steps: 22 | - uses: actions/checkout@v2 23 | 24 | - name: Set up JDK ${{ matrix.java }} 25 | uses: actions/setup-java@v2 26 | with: 27 | java-version: ${{ matrix.java }} 28 | distribution: 'adopt' 29 | 30 | - name: Grant execute permission for gradlew 31 | run: chmod +x gradlew 32 | 33 | - name: Build with Gradle 34 | #run: ./gradlew build --warning-mode all 35 | uses: GabrielBB/xvfb-action@v1 36 | with: 37 | run: ./gradlew build -xsign -xpublish --warning-mode all 38 | working-directory: ./ #optional 39 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.java~ 2 | build 3 | .gradle 4 | out/ 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/README.md: -------------------------------------------------------------------------------- 1 | # RSyntaxTextArea 2 | This is the module containing the actual source code. 3 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/asm6502/Asm6502CodeCompletionProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * This library is distributed under a modified BSD license. See the included 3 | * RSTALanguageSupport.License.txt file for details. 4 | */ 5 | package org.fife.rsta.ac.asm6502; 6 | 7 | import org.fife.ui.autocomplete.*; 8 | 9 | import java.io.IOException; 10 | 11 | 12 | /** 13 | * A completion provider for 6502 assembler code (not comments). 14 | * 15 | * @author Robert Futrell 16 | * @version 1.0 17 | */ 18 | public class Asm6502CodeCompletionProvider extends DefaultCompletionProvider { 19 | 20 | 21 | /** 22 | * Constructor. 23 | */ 24 | public Asm6502CodeCompletionProvider() { 25 | 26 | initCompletions(); 27 | } 28 | 29 | 30 | /** 31 | * Loads completions for the 6502 instruction set. 32 | */ 33 | private void initCompletions() { 34 | try { 35 | loadFromXML("data/asm6502.xml"); 36 | } catch (IOException ioe) { 37 | ioe.printStackTrace(); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/asm6502/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 6502 Assembler code completion classes. 3 | */ 4 | package org.fife.rsta.ac.asm6502; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/c/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * C code completion classes. 3 | */ 4 | package org.fife.rsta.ac.c; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/common/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Classes usable across language support for all languages. 3 | */ 4 | package org.fife.rsta.ac.common; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/css/BasicCssCompletion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 12/04/2013 3 | * 4 | * Copyright (C) 2013 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.css; 12 | 13 | import javax.swing.Icon; 14 | 15 | import org.fife.ui.autocomplete.BasicCompletion; 16 | import org.fife.ui.autocomplete.CompletionProvider; 17 | 18 | 19 | /** 20 | * A basic completion type for CSS code completion. Basically just a 21 | * {@link BasicCompletion} with a key for the icon for this completion type. 22 | * 23 | * @author Robert Futrell 24 | * @version 1.0 25 | */ 26 | class BasicCssCompletion extends BasicCompletion { 27 | 28 | private String iconKey; 29 | 30 | 31 | BasicCssCompletion(CompletionProvider provider, String value, 32 | String iconKey) { 33 | super(provider, value); 34 | this.iconKey = iconKey; 35 | } 36 | 37 | 38 | @Override 39 | public Icon getIcon() { 40 | return IconFactory.get().getIcon(iconKey); 41 | } 42 | 43 | 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/css/CompletionGenerator.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.css; 2 | 3 | import java.util.List; 4 | 5 | import org.fife.ui.autocomplete.Completion; 6 | import org.fife.ui.autocomplete.CompletionProvider; 7 | 8 | 9 | /** 10 | * Generates completions based on the current user input. 11 | * 12 | * @author Robert Futrell 13 | * @version 1.0 14 | */ 15 | interface CompletionGenerator { 16 | 17 | 18 | /** 19 | * Generates a list of completions based on the current user input. 20 | * 21 | * @param provider The completion provider querying for completions. 22 | * @param input The current user input. 23 | * @return The list of completions. This may be null if 24 | * no completions are appropriate. 25 | */ 26 | List generate(CompletionProvider provider, String input); 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/css/PropertyCompletion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 11/28/2013 3 | * 4 | * Copyright (C) 2013 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.css; 12 | 13 | import javax.swing.Icon; 14 | 15 | import org.fife.ui.autocomplete.CompletionProvider; 16 | import org.fife.ui.autocomplete.ShorthandCompletion; 17 | 18 | 19 | /** 20 | * A completion for a CSS property name. 21 | * 22 | * @author Robert Futrell 23 | * @version 1.0 24 | */ 25 | class PropertyCompletion extends ShorthandCompletion { 26 | 27 | private String iconKey; 28 | 29 | 30 | PropertyCompletion(CompletionProvider provider, String property, 31 | String iconKey) { 32 | super(provider, property, property + ": "); 33 | this.iconKey = iconKey; 34 | } 35 | 36 | 37 | @Override 38 | public Icon getIcon() { 39 | return IconFactory.get().getIcon(iconKey); 40 | } 41 | 42 | 43 | } 44 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/css/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * CSS code completion classes. 3 | */ 4 | package org.fife.rsta.ac.css; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/groovy/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Groovy code completion classes. 3 | */ 4 | package org.fife.rsta.ac.groovy; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/html/AttributeCompletion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 04/29/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.html; 12 | 13 | import org.fife.ui.autocomplete.AbstractCompletion; 14 | import org.fife.ui.autocomplete.CompletionProvider; 15 | import org.fife.ui.autocomplete.ParameterizedCompletion.Parameter; 16 | 17 | 18 | /** 19 | * A completion for an HTML attribute. 20 | * 21 | * @author Robert Futrell 22 | * @version 1.0 23 | */ 24 | public class AttributeCompletion extends AbstractCompletion { 25 | 26 | private Parameter param; 27 | 28 | 29 | public AttributeCompletion(CompletionProvider provider, Parameter param) { 30 | super(provider); 31 | this.param = param; 32 | } 33 | 34 | 35 | @Override 36 | public String getSummary() { 37 | return param.getDescription(); 38 | } 39 | 40 | 41 | @Override 42 | public String getReplacementText() { 43 | return param.getName(); 44 | } 45 | 46 | 47 | } 48 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/html/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * HTML code completion classes. 3 | */ 4 | package org.fife.rsta.ac.html; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/JavaSourceCompletion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.java; 12 | 13 | import java.awt.Graphics; 14 | 15 | import org.fife.ui.autocomplete.Completion; 16 | 17 | 18 | /** 19 | * Interface for Java source code completions. 20 | * 21 | * @author Robert Futrell 22 | * @version 1.0 23 | */ 24 | public interface JavaSourceCompletion extends Completion { 25 | 26 | 27 | /** 28 | * Force subclasses to override equals(). 29 | * TODO: Remove me 30 | */ 31 | @Override 32 | boolean equals(Object obj); 33 | 34 | 35 | /** 36 | * Used by {@link JavaCellRenderer} to render this completion choice. 37 | * 38 | * @param g The graphics context to render to. 39 | * @param x The x-offset at which to render. 40 | * @param y The y-offset at which to render. 41 | * @param selected Whether this completion is currently selected/active. 42 | */ 43 | void rendererText(Graphics g, int x, int y, boolean selected); 44 | 45 | 46 | } 47 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/buildpath/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Various ways to reference and ingest classes. 3 | */ 4 | package org.fife.rsta.ac.java.buildpath; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/classreader/attributes/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Attributes in a class file. 3 | */ 4 | package org.fife.rsta.ac.java.classreader.attributes; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/classreader/constantpool/ConstantPoolInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.classreader.constantpool; 12 | 13 | 14 | /** 15 | * A ConstantPool table entry.

16 | * 17 | * See 18 | * http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#20080 19 | * for more information. 20 | * 21 | * @author Robert Futrell 22 | * @version 1.0 23 | */ 24 | public abstract class ConstantPoolInfo implements ConstantTypes { 25 | 26 | private int tag; 27 | 28 | 29 | /** 30 | * Constructor. 31 | * 32 | * @param tag The tag. 33 | */ 34 | public ConstantPoolInfo(int tag) { 35 | this.tag = tag; 36 | } 37 | 38 | 39 | /** 40 | * Returns the tag item for this structure. 41 | * 42 | * @return The tag item. 43 | */ 44 | public int getTag() { 45 | return tag; 46 | } 47 | 48 | 49 | } 50 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/classreader/constantpool/ConstantTypes.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.classreader.constantpool; 12 | 13 | 14 | /** 15 | * Constant types used by {@link ConstantPoolInfo}s. 16 | * 17 | * @author Robert Futrell 18 | * @version 1.0 19 | */ 20 | interface ConstantTypes { 21 | 22 | int CONSTANT_Class = 7; 23 | 24 | int CONSTANT_Fieldref = 9; 25 | 26 | int CONSTANT_Methodref = 10; 27 | 28 | int CONSTANT_InterfaceMethodref = 11; 29 | 30 | int CONSTANT_String = 8; 31 | 32 | int CONSTANT_Integer = 3; 33 | 34 | int CONSTANT_Float = 4; 35 | 36 | int CONSTANT_Long = 5; 37 | 38 | int CONSTANT_Double = 6; 39 | 40 | int CONSTANT_NameAndType = 12; 41 | 42 | int CONSTANT_Utf8 = 1; 43 | 44 | int CONSTANT_MethodHandle = 15; 45 | 46 | int CONSTANT_MethodType = 16; 47 | 48 | int CONSTANT_InvokeDynamic = 18; 49 | 50 | } 51 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/classreader/constantpool/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Classes that model a class file's constant pool. 3 | */ 4 | package org.fife.rsta.ac.java.classreader.constantpool; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/classreader/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Classes that help you parse and model a class file's contents. 3 | */ 4 | package org.fife.rsta.ac.java.classreader; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Java code completion classes. 3 | */ 4 | package org.fife.rsta.ac.java; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/ast/ASTNode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.ast; 12 | 13 | 14 | /** 15 | * A node in a Java AST. 16 | * 17 | * @author Robert Futrell 18 | * @version 1.0 19 | */ 20 | public interface ASTNode { 21 | 22 | 23 | /** 24 | * Returns the "name" of this node. This will be the name of the method, 25 | * the name of the member or local variable, etc. For {@link CodeBlock}s 26 | * it will be {@link CodeBlock#NAME}.

27 | * 28 | * Note that this may not be unique. For example, a class with an 29 | * overloaded method will have multiple methods with the same "name," 30 | * just with different signatures. 31 | * 32 | * @return The "name" of this node. 33 | */ 34 | String getName(); 35 | 36 | 37 | /** 38 | * Returns the end offset of the "name" of this node. 39 | * 40 | * @return The end offset. 41 | */ 42 | int getNameEndOffset(); 43 | 44 | 45 | /** 46 | * Returns the start offset of the "name" of this node. 47 | * 48 | * @return The start offset. 49 | */ 50 | int getNameStartOffset(); 51 | 52 | 53 | } 54 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/ast/EnumBody.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.ast; 12 | 13 | import org.fife.rsta.ac.java.rjc.lexer.Offset; 14 | 15 | 16 | /** 17 | * An EnumBody. 18 | * 19 | *

20 |  * EnumBody:
21 |  *    '{' [EnumConstants] [,] [EnumBodyDeclarations] '}'
22 |  *
23 |  *
24 |  * EnumConstants:
25 |  *    EnumConstant
26 |  *    EnumConstants , EnumConstant
27 |  *
28 |  * EnumConstant:
29 |  *    Annotations Identifier [Arguments] [ClassBody]
30 |  *
31 |  * EnumBodyDeclarations:
32 |  *    ; {ClassBodyDeclaration}
33 |  * 
34 | * 35 | * @author Robert Futrell 36 | * @version 1.0 37 | */ 38 | public class EnumBody extends AbstractASTNode { 39 | 40 | 41 | public EnumBody(String name, Offset start) { 42 | super(name, start); 43 | } 44 | 45 | 46 | } -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/ast/EnumDeclaration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.ast; 12 | 13 | import org.fife.rsta.ac.java.rjc.lexer.Scanner; 14 | 15 | 16 | /** 17 | * Represents an enum declaration. 18 | * 19 | * @author Robert Futrell 20 | * @version 1.0 21 | */ 22 | public class EnumDeclaration extends AbstractTypeDeclarationNode { 23 | 24 | //private EnumBody enumBody; 25 | 26 | 27 | public EnumDeclaration(Scanner s, int offs, String name) { 28 | super(name, s.createOffset(offs), s.createOffset(offs+name.length())); 29 | } 30 | 31 | 32 | @Override 33 | public String getTypeString() { 34 | return "enum"; 35 | } 36 | 37 | 38 | //public void setEnumBody(EnumBody enumBody) { 39 | // this.enumBody = enumBody; 40 | //} 41 | 42 | 43 | } 44 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/ast/ImportDeclaration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.ast; 12 | 13 | import org.fife.rsta.ac.java.rjc.lexer.Scanner; 14 | 15 | 16 | /** 17 | * An import declaration in a class file. 18 | * 19 | * @author Robert Futrell 20 | * @version 1.0 21 | */ 22 | public class ImportDeclaration extends AbstractASTNode { 23 | 24 | private boolean isStatic; 25 | 26 | 27 | public ImportDeclaration(Scanner s, int offs, String info, boolean isStatic) { 28 | super(info, s.createOffset(offs), s.createOffset(offs+info.length())); 29 | setStatic(isStatic); 30 | } 31 | 32 | 33 | public boolean isStatic() { 34 | return isStatic; 35 | } 36 | 37 | 38 | public boolean isWildcard() { 39 | return getName().endsWith(".*"); 40 | } 41 | 42 | 43 | public void setStatic(boolean isStatic) { 44 | this.isStatic = isStatic; 45 | } 46 | 47 | 48 | } 49 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/ast/LocalVariable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.ast; 12 | 13 | import org.fife.rsta.ac.java.rjc.lang.Type; 14 | import org.fife.rsta.ac.java.rjc.lexer.Scanner; 15 | 16 | 17 | /** 18 | * Base class for local variables and formal parameters. 19 | * 20 | * @author Robert Futrell 21 | * @version 1.0 22 | */ 23 | public class LocalVariable extends AbstractASTNode { 24 | 25 | private boolean isFinal; 26 | private Type type; 27 | 28 | 29 | public LocalVariable(Scanner s, boolean isFinal, 30 | Type type, int offs, String name) { 31 | super(name, s.createOffset(offs), s.createOffset(offs+name.length())); 32 | this.isFinal = isFinal; 33 | this.type = type; 34 | } 35 | 36 | 37 | public Type getType() { 38 | return type; 39 | } 40 | 41 | 42 | public boolean isFinal() { 43 | return isFinal; 44 | } 45 | 46 | 47 | } -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/ast/Package.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.ast; 12 | 13 | import org.fife.rsta.ac.java.rjc.lexer.Scanner; 14 | 15 | 16 | /** 17 | * Represents a package in a class file. 18 | * 19 | * @author Robert Futrell 20 | * @version 1.0 21 | */ 22 | public class Package extends AbstractASTNode { 23 | 24 | 25 | public Package(Scanner s, int offs, String pkg) { 26 | super(pkg, s.createOffset(offs), s.createOffset(offs+pkg.length())); 27 | } 28 | 29 | 30 | } 31 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/ast/TypeDeclarationContainer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.ast; 12 | 13 | 14 | /** 15 | * Interface for tree nodes that can hold type declarations (e.g. 16 | * {@link CompilationUnit}s and {@link TypeDeclaration}s). 17 | * 18 | * @author Robert Futrell 19 | * @version 1.0 20 | */ 21 | public interface TypeDeclarationContainer { 22 | 23 | 24 | /** 25 | * Adds a type declaration to this container. 26 | * 27 | * @param typeDec The new type declaration. 28 | */ 29 | void addTypeDeclaration(TypeDeclaration typeDec); 30 | 31 | 32 | } 33 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/ast/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Nodes making an abstract syntax tree for Java code. 3 | */ 4 | package org.fife.rsta.ac.java.rjc.ast; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/lang/Annotation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.lang; 12 | 13 | 14 | /** 15 | * Represents an annotation. 16 | * 17 | * @author Robert Futrell 18 | * @version 1.0 19 | */ 20 | public class Annotation { 21 | 22 | private Type type; 23 | 24 | 25 | /** 26 | * Constructor. 27 | * 28 | * @param type The type. 29 | */ 30 | public Annotation(Type type) { 31 | this.type = type; 32 | } 33 | 34 | 35 | @Override 36 | public String toString() { 37 | return "@" + type.toString(); 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/lang/TypeParameter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.lang; 12 | 13 | import java.util.ArrayList; 14 | import java.util.List; 15 | 16 | import org.fife.rsta.ac.java.rjc.lexer.Token; 17 | 18 | 19 | /** 20 | * A TypeParameter. 21 | * 22 | *
23 |  * TypeParameter:
24 |  *    Identifier ['extends' Bound]
25 |  *
26 |  * Bound:
27 |  *    Type { '&' Type }
28 |  * 
29 | * 30 | * @author Robert Futrell 31 | * @version 1.0 32 | */ 33 | public class TypeParameter { 34 | 35 | private Token name; 36 | private List bounds; 37 | 38 | 39 | public TypeParameter(Token name) { 40 | this.name = name; 41 | } 42 | 43 | 44 | /** 45 | * Adds a bound to this type parameter. 46 | * 47 | * @param bound The bound to add. 48 | */ 49 | public void addBound(Type bound) { 50 | if (bounds==null) { 51 | bounds = new ArrayList<>(1); // Usually just 1 52 | } 53 | bounds.add(bound); 54 | } 55 | 56 | 57 | public String getName() { 58 | return name.getLexeme(); 59 | } 60 | 61 | 62 | } 63 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/lang/Variable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.lang; 12 | 13 | import org.fife.rsta.ac.java.rjc.lexer.Token; 14 | 15 | 16 | /** 17 | * Base class for variable type (local variables, formal parameters...). 18 | * 19 | * @author Robert Futrell 20 | * @version 1.0 21 | */ 22 | public abstract class Variable { 23 | 24 | private boolean isFinal; 25 | private Type type; 26 | private Token name; 27 | 28 | 29 | public Variable(boolean isFinal, Type type, Token name) { 30 | this.isFinal = isFinal; 31 | this.type = type; 32 | this.name = name; 33 | } 34 | 35 | 36 | public String getName() { 37 | return name.getLexeme(); 38 | } 39 | 40 | 41 | public Type getType() { 42 | return type; 43 | } 44 | 45 | 46 | public boolean isFinal() { 47 | return isFinal; 48 | } 49 | 50 | 51 | } 52 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/lang/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Classes representing Java language constructs. 3 | */ 4 | package org.fife.rsta.ac.java.rjc.lang; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/lexer/Offset.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.rjc.lexer; 12 | 13 | 14 | /** 15 | * An offset into Java source. This is an interface so we can wrap 16 | * javax.swing.text.Position instances when parsing code in a 17 | * JTextComponent, so these offsets can get tracked. 18 | * 19 | * @author Robert Futrell 20 | * @version 1.0 21 | */ 22 | public interface Offset { 23 | 24 | 25 | /** 26 | * Returns the offset into the source. 27 | * 28 | * @return The offset. 29 | */ 30 | int getOffset(); 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/lexer/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * A lexer/scanner for Java source code. 3 | */ 4 | package org.fife.rsta.ac.java.rjc.lexer; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/notices/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Notices from a Java parser. 3 | */ 4 | package org.fife.rsta.ac.java.rjc.notices; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/rjc/parser/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * A parser for Java source code. 3 | */ 4 | package org.fife.rsta.ac.java.rjc.parser; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/tree/AstTreeCellRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.tree; 12 | 13 | import java.awt.Component; 14 | import javax.swing.JTree; 15 | import javax.swing.tree.DefaultTreeCellRenderer; 16 | 17 | 18 | /** 19 | * Renderer for the AST tree in the UI. 20 | * 21 | * @author Robert Futrell 22 | * @version 1.0 23 | */ 24 | class AstTreeCellRenderer extends DefaultTreeCellRenderer { 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | 29 | @Override 30 | public Component getTreeCellRendererComponent(JTree tree, Object value, 31 | boolean sel, boolean expanded, boolean leaf, 32 | int row, boolean hasFocus) { 33 | super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, 34 | row, hasFocus); 35 | if (value instanceof JavaTreeNode) { // Should always be true 36 | JavaTreeNode node = (JavaTreeNode)value; 37 | setText(node.getText(sel)); 38 | setIcon(node.getIcon()); 39 | } 40 | return this; 41 | } 42 | 43 | 44 | } -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/tree/LocalVarTreeNode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.java.tree; 12 | 13 | import org.fife.rsta.ac.java.IconFactory; 14 | import org.fife.rsta.ac.java.rjc.ast.LocalVariable; 15 | import org.fife.ui.autocomplete.Util; 16 | 17 | 18 | /** 19 | * Tree node for a local variable. 20 | * 21 | * @author Robert Futrell 22 | * @version 1.0 23 | */ 24 | class LocalVarTreeNode extends JavaTreeNode { 25 | 26 | private String text; 27 | 28 | 29 | LocalVarTreeNode(LocalVariable var) { 30 | 31 | super(var); 32 | setIcon(IconFactory.get().getIcon(IconFactory.LOCAL_VARIABLE_ICON)); 33 | setSortPriority(PRIORITY_LOCAL_VAR); 34 | 35 | StringBuilder sb = new StringBuilder(); 36 | sb.append(""); 37 | sb.append(var.getName()); 38 | sb.append(" : "); 39 | sb.append(""); 40 | MemberTreeNode.appendType(var.getType(), sb); 41 | text = sb.toString(); 42 | } 43 | 44 | 45 | @Override 46 | public String getText(boolean selected) { 47 | // Strip out HTML tags 48 | return selected ? Util.stripHtml(text). 49 | replaceAll("<", "<").replaceAll(">", ">") : text; 50 | } 51 | 52 | 53 | } 54 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/java/tree/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Java outline tree implementation. 3 | */ 4 | package org.fife.rsta.ac.java.tree; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/JsErrorParser.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js; 2 | 3 | 4 | /** 5 | * Enumerates the different parsing engines that can be used to identify 6 | * syntax errors in a JavaScript file. 7 | * 8 | * @author Robert Futrell 9 | * @version 1.0 10 | */ 11 | public enum JsErrorParser { 12 | 13 | RHINO, JSHINT 14 | 15 | } 16 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/Logger.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js; 2 | 3 | 4 | public class Logger { 5 | 6 | private static boolean DEBUG; 7 | 8 | static 9 | { 10 | DEBUG = Boolean.parseBoolean(System.getProperty("javascript.debug")); 11 | } 12 | 13 | /** 14 | * TODO change logging to Log4J? 15 | * Log message to console 16 | * @param msg 17 | */ 18 | public static final void log(String msg) { 19 | if (DEBUG) { 20 | System.out.println(msg); 21 | } 22 | } 23 | 24 | public static final void logError(String msg) { 25 | System.err.println(msg); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/Util.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 01/28/2012 3 | * 4 | * Copyright (C) 2012 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.js; 12 | 13 | 14 | /** 15 | * Utility classes for the JavaScript code completion. 16 | * 17 | * @author Robert Futrell 18 | * @version 1.0 19 | */ 20 | public class Util { 21 | 22 | /** 23 | * Private constructor to prevent instantiation. 24 | */ 25 | private Util() { 26 | } 27 | 28 | 29 | /** 30 | * Generates an HTML summary from a JSDoc comment. 31 | * 32 | * @param jsDoc The JSDoc comment. 33 | * @return The HTML version. 34 | */ 35 | public static String jsDocToHtml(String jsDoc) { 36 | return org.fife.rsta.ac.java.Util.docCommentToHtml(jsDoc); 37 | } 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ast/FunctionDeclaration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 02/25/2012 3 | * 4 | * Copyright (C) 2012 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.js.ast; 12 | 13 | import org.fife.ui.autocomplete.FunctionCompletion; 14 | 15 | 16 | public class FunctionDeclaration { 17 | 18 | private FunctionCompletion fc; 19 | private int offset; 20 | 21 | 22 | public FunctionDeclaration(FunctionCompletion fc, int offset) { 23 | this.fc = fc; 24 | this.offset = offset; 25 | } 26 | 27 | 28 | public FunctionCompletion getFunction() { 29 | return fc; 30 | } 31 | 32 | 33 | public int getOffset() { 34 | return offset; 35 | } 36 | 37 | 38 | } 39 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ast/JavaScriptFunctionDeclaration.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ast; 2 | 3 | import org.fife.rsta.ac.js.ast.type.TypeDeclaration; 4 | 5 | 6 | public class JavaScriptFunctionDeclaration extends JavaScriptDeclaration { 7 | 8 | private TypeDeclaration typeDec; 9 | 10 | private String functionName; 11 | 12 | 13 | public JavaScriptFunctionDeclaration(String name, int offset, CodeBlock block, TypeDeclaration typeDec) { 14 | super(name, offset, block); 15 | this.typeDec = typeDec; 16 | } 17 | 18 | 19 | public TypeDeclaration getTypeDeclaration() { 20 | return typeDec; 21 | } 22 | 23 | public void setFunctionName(String functionName) { 24 | this.functionName = functionName; 25 | } 26 | 27 | public String getFunctionName() 28 | { 29 | return functionName; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ast/JavaScriptFunctionTypeDeclaration.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ast; 2 | 3 | import org.fife.rsta.ac.js.SourceCompletionProvider; 4 | import org.fife.rsta.ac.js.ast.type.TypeDeclaration; 5 | import org.mozilla.javascript.ast.AstNode; 6 | 7 | 8 | public class JavaScriptFunctionTypeDeclaration extends 9 | JavaScriptVariableDeclaration { 10 | 11 | private AstNode typeNode; 12 | 13 | public JavaScriptFunctionTypeDeclaration(String name, int offset, 14 | SourceCompletionProvider provider, CodeBlock block) { 15 | super(name, offset, provider, block); 16 | } 17 | 18 | @Override 19 | public void setTypeDeclaration(AstNode typeNode) { 20 | this.typeNode = typeNode; 21 | } 22 | 23 | 24 | @Override 25 | public TypeDeclaration getTypeDeclaration() { 26 | return provider.getJavaScriptEngine().getJavaScriptResolver(provider).resolveNode(typeNode); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ast/jsType/JSR223JavaScriptTypesFactory.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ast.jsType; 2 | 3 | import org.fife.rsta.ac.js.ast.type.TypeDeclaration; 4 | import org.fife.rsta.ac.js.ast.type.TypeDeclarationFactory; 5 | 6 | 7 | public class JSR223JavaScriptTypesFactory extends JavaScriptTypesFactory { 8 | 9 | public JSR223JavaScriptTypesFactory(TypeDeclarationFactory typesFactory) 10 | { 11 | super(typesFactory); 12 | } 13 | 14 | @Override 15 | public JavaScriptType makeJavaScriptType(TypeDeclaration type) { 16 | return new JSR223Type(type); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ast/parser/JavaScriptTypeNode.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ast.parser; 2 | 3 | 4 | 5 | public interface JavaScriptTypeNode { 6 | 7 | int getAstNode(); 8 | } 9 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ast/type/ECMAAdditions.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ast.type; 2 | 3 | import org.fife.rsta.ac.js.ast.type.ecma.TypeDeclarations; 4 | 5 | 6 | public interface ECMAAdditions { 7 | 8 | void addAdditionalTypes(TypeDeclarations typeDecs); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/completion/JSCompletion.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.completion; 2 | 3 | 4 | public interface JSCompletion extends JSCompletionUI { 5 | 6 | 7 | /** 8 | * @return a logical lookup name that is unique 9 | */ 10 | String getLookupName(); 11 | 12 | 13 | /** 14 | * @return JavaScript type from Completion qualified 15 | */ 16 | String getType(boolean qualified); 17 | 18 | 19 | /** 20 | * Returns the name of the enclosing class. 21 | * 22 | * @param fullyQualified Whether the name returned should be fully 23 | * qualified. 24 | * @return The class name. 25 | */ 26 | String getEnclosingClassName(boolean fullyQualified); 27 | 28 | 29 | } -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/completion/JSCompletionUI.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.completion; 2 | 3 | import org.fife.ui.autocomplete.Completion; 4 | 5 | 6 | public interface JSCompletionUI extends Completion { 7 | 8 | int LOCAL_VARIABLE_RELEVANCE = 9; 9 | int GLOBAL_VARIABLE_RELEVANCE = 8; 10 | int DEFAULT_VARIABLE_RELEVANCE = 7; 11 | int STATIC_FIELD_RELEVANCE = 6; 12 | int BEAN_METHOD_RELEVANCE = 5; 13 | int DEFAULT_FUNCTION_RELEVANCE = 4; 14 | int GLOBAL_FUNCTION_RELEVANCE = 3; 15 | int DEFAULT_CLASS_RELEVANCE = 2; 16 | int BASIC_COMPLETION_RELEVANCE = 1; 17 | int TEMPLATE_RELEVANCE = 0; 18 | 19 | 20 | } 21 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/completion/JSConstructorCompletion.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.completion; 2 | 3 | import javax.swing.Icon; 4 | 5 | import org.fife.rsta.ac.java.classreader.MethodInfo; 6 | import org.fife.rsta.ac.js.IconFactory; 7 | import org.fife.ui.autocomplete.CompletionProvider; 8 | 9 | 10 | public class JSConstructorCompletion extends JSFunctionCompletion { 11 | 12 | public JSConstructorCompletion(CompletionProvider provider, MethodInfo method) { 13 | super(provider, method); 14 | } 15 | 16 | @Override 17 | public Icon getIcon() { 18 | return IconFactory.getIcon(IconFactory.FUNCTION_ICON); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/completion/JavascriptBasicCompletion.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.completion; 2 | 3 | import javax.swing.Icon; 4 | 5 | import org.fife.rsta.ac.js.IconFactory; 6 | import org.fife.ui.autocomplete.BasicCompletion; 7 | import org.fife.ui.autocomplete.CompletionProvider; 8 | 9 | 10 | /** 11 | * Basic JavaScript completion that requires no icon 12 | * e.g. for or while 13 | */ 14 | public class JavascriptBasicCompletion extends BasicCompletion implements 15 | JSCompletionUI { 16 | 17 | public JavascriptBasicCompletion(CompletionProvider provider, 18 | String replacementText, String shortDesc, String summary) { 19 | super(provider, replacementText, shortDesc, summary); 20 | } 21 | 22 | 23 | public JavascriptBasicCompletion(CompletionProvider provider, 24 | String replacementText, String shortDesc) { 25 | super(provider, replacementText, shortDesc); 26 | } 27 | 28 | 29 | public JavascriptBasicCompletion(CompletionProvider provider, 30 | String replacementText) { 31 | super(provider, replacementText); 32 | } 33 | 34 | 35 | @Override 36 | public Icon getIcon() { 37 | return IconFactory.getIcon(IconFactory.getEmptyIcon()); 38 | } 39 | 40 | 41 | @Override 42 | public int getRelevance() { 43 | return BASIC_COMPLETION_RELEVANCE; 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/client/BarProp.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.client; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma5.JS5Array; 4 | 5 | 6 | public abstract class BarProp extends JS5Array { 7 | 8 | /** 9 | * Object BarProp() 10 | * 11 | * @constructor 12 | * @since Standard ECMA-262 3rd. Edition 13 | * @since Level 2 Document Object Model Core Definition. 14 | */ 15 | public BarProp() { 16 | 17 | } 18 | 19 | /** 20 | * property prototype 21 | * 22 | * @type Array 23 | * @memberOf Array 24 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSArray Array 25 | * @since Standard ECMA-262 3rd. Edition 26 | * @since Level 2 Document Object Model Core Definition. 27 | */ 28 | public BarProp prototype; 29 | 30 | } 31 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/client/History.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.client; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.client.funtions.HistoryFunctions; 4 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 5 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSNumber; 6 | 7 | 8 | 9 | public abstract class History implements HistoryFunctions { 10 | 11 | /** 12 | * Object History() 13 | * @super Object 14 | * @constructor 15 | * @since Common Usage, no standard 16 | */ 17 | public History(){} 18 | 19 | /** 20 | * property constructor 21 | * 22 | * @type Function 23 | * @memberOf Object 24 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 25 | * @since Standard ECMA-262 3rd. Edition 26 | * @since Level 2 Document Object Model Core Definition. 27 | */ 28 | protected JSFunction constructor; 29 | 30 | /** 31 | * property prototype 32 | * 33 | * @type History 34 | * @memberOf History 35 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSObject Object 36 | * @since Standard ECMA-262 3rd. Edition 37 | * @since Level 2 Document Object Model Core Definition. 38 | */ 39 | public History prototype; 40 | 41 | /** 42 | * Property length 43 | * @type Number 44 | * @memberOf History 45 | */ 46 | public JSNumber length; 47 | 48 | 49 | } 50 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/client/funtions/HistoryFunctions.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.client.funtions; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSNumber; 4 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSString; 5 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 6 | 7 | 8 | public interface HistoryFunctions extends JS5ObjectFunctions { 9 | 10 | 11 | /** 12 | * function back - Loads the previous URL in the history list. 13 | * @memberOf History 14 | * @see org.fife.rsta.ac.js.ecma.api.client.History History 15 | */ 16 | void back(); 17 | 18 | /** 19 | * function forward - Loads the next URL in the history list. 20 | * @memberOf History 21 | * @see org.fife.rsta.ac.js.ecma.api.client.History History 22 | */ 23 | void forward(); 24 | 25 | /** 26 | * function go - Loads a specific URL from the history list. 27 | * @memberOf History 28 | * @param arg goes to the URL within the specific position (-1 goes back one page, 1 goes forward one page) 29 | * @see org.fife.rsta.ac.js.ecma.api.client.History History 30 | */ 31 | void go(JSNumber arg); 32 | 33 | /** 34 | * function go - Loads a specific URL from the history list. 35 | * @memberOf History 36 | * @param arg the string must be a partial or full URL, and the function will go to the first URL that matches the string 37 | * @see org.fife.rsta.ac.js.ecma.api.client.History History 38 | */ 39 | void go(JSString arg); 40 | } 41 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/client/funtions/LocationFunctions.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.client.funtions; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSBoolean; 4 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSString; 5 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 6 | 7 | 8 | public interface LocationFunctions extends JS5ObjectFunctions { 9 | 10 | /** 11 | * function assign(newURL) method loads a new document 12 | * @param newURL 13 | * @memberOf Location 14 | */ 15 | void assign(JSString newURL); 16 | 17 | /** 18 | * function reload(optionalArg) - Reload the current document 19 | * @param optionalArg - default false which reloads the page from the cache. Set this paramter to true if you want to force the browser to get the page from the server 20 | * @memberOf Location 21 | */ 22 | void reload(JSBoolean optionalArg); 23 | 24 | /** 25 | * function replace(newURL) - method replaces the current document with a new one 26 | * @param newUrl 27 | * @memberOf Location 28 | */ 29 | void replace(JSString newUrl); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/client/funtions/NavigatorFunctions.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.client.funtions; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSBoolean; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | 6 | 7 | public interface NavigatorFunctions extends JS5ObjectFunctions { 8 | 9 | /** 10 | * function javaEnabled() - Specifies whether the browser has Java enabled 11 | * @returns true if java is enabled 12 | * @memberOf Navigator 13 | */ 14 | JSBoolean javaEnabled(); 15 | } 16 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSCDATASection.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.CDATASection; 6 | 7 | 8 | public abstract class JSCDATASection implements CDATASection, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object CDATASection() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSCDATASection() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type CDATASection 27 | * @memberOf CDATASection 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSCDATASection CDATASection 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSCDATASection protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | 45 | } 46 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSCharacterData.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.CDATASection; 6 | 7 | 8 | public abstract class JSCharacterData implements CDATASection, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object CharacterData() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSCharacterData() {} 20 | 21 | /** 22 | * property prototype 23 | * 24 | * @type CharacterData 25 | * @memberOf CharacterData 26 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSNode Node 27 | * @since Standard ECMA-262 3rd. Edition 28 | * @since Level 2 Document Object Model Core Definition. 29 | */ 30 | public JSCharacterData protype; 31 | 32 | /** 33 | * property constructor 34 | * 35 | * @type Function 36 | * @memberOf Array 37 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 38 | * @since Standard ECMA-262 3rd. Edition 39 | * @since Level 2 Document Object Model Core Definition. 40 | */ 41 | protected JSFunction constructor; 42 | } 43 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSComment.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.Comment; 6 | 7 | 8 | public abstract class JSComment implements Comment, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object Comment() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSComment() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type Comment 27 | * @memberOf Comment 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSComment Comment 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSComment protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | 45 | } 46 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSDOMConfiguration.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.DOMConfiguration; 6 | 7 | 8 | public abstract class JSDOMConfiguration implements DOMConfiguration, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object DOMConfiguration() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSDOMConfiguration() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type DOMConfiguration 27 | * @memberOf DOMConfiguration 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSDOMConfiguration DOMConfiguration 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSDOMConfiguration protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSDOMImplementation.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.DOMImplementation; 6 | 7 | 8 | public abstract class JSDOMImplementation implements DOMImplementation, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object DOMImplementation() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSDOMImplementation() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type DOMImplementation 27 | * @memberOf DOMImplementation 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSDOMImplementation DOMImplementation 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSDOMImplementation protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | 45 | } 46 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSDOMImplementationList.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.DOMImplementationList; 6 | 7 | 8 | public abstract class JSDOMImplementationList implements DOMImplementationList, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object DOMImplementationList() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSDOMImplementationList() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type DOMImplementationList 27 | * @memberOf DOMImplementationList 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSDOMImplementationList DOMImplementationList 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public DOMImplementationList protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSDOMLocator.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.DOMLocator; 6 | 7 | 8 | public abstract class JSDOMLocator implements DOMLocator, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object DOMLocator() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSDOMLocator() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type DOMLocator 27 | * @memberOf DOMLocator 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSDOMLocator DOMLocator 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSDOMLocator protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSDOMStringList.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.DOMStringList; 6 | 7 | 8 | public abstract class JSDOMStringList implements DOMStringList, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object DOMStringList() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSDOMStringList() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type DOMStringList 27 | * @memberOf DOMStringList 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSDOMStringList DOMStringList 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSDOMStringList protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | 45 | } 46 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSDocument.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.Document; 6 | 7 | 8 | public abstract class JSDocument implements Document, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object Document() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSDocument() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type Document 27 | * @memberOf Document 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSDocument Document 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSDocument protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSDocumentFragment.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.DocumentFragment; 6 | 7 | 8 | public abstract class JSDocumentFragment implements DocumentFragment, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object DocumentFragment() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSDocumentFragment() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type DocumentFragment 27 | * @memberOf DocumentFragment 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSDocumentFragment DocumentFragment 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSDocumentFragment protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSDocumentType.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.DocumentType; 6 | 7 | 8 | public abstract class JSDocumentType implements DocumentType, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object DocumentType() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSDocumentType() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type DocumentType 27 | * @memberOf DocumentType 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSDocumentType DocumentType 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSDocumentType protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.Element; 6 | 7 | 8 | public abstract class JSElement implements Element, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object Element() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type Element 27 | * @memberOf Element 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSNode Node 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | 45 | } 46 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSEntity.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.Entity; 6 | 7 | 8 | public abstract class JSEntity implements Entity, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object Entity() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSEntity() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type Entity 27 | * @memberOf Entity 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSNode Node 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSEntity protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSEntityReference.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.EntityReference; 6 | 7 | 8 | public abstract class JSEntityReference implements EntityReference, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object EntityReference() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSEntityReference() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type EntityReference 27 | * @memberOf EntityReference 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSEntityReference Node 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSEntityReference protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSNameList.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.NameList; 6 | 7 | 8 | public abstract class JSNameList implements NameList, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object NameList() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSNameList() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type NameList 27 | * @memberOf NameList 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSNameList NameList 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSNameList protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSNamedNodeMap.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.NamedNodeMap; 6 | 7 | 8 | public abstract class JSNamedNodeMap implements NamedNodeMap, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object NamedNodeMap() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSNamedNodeMap() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type NamedNodeMap 27 | * @memberOf NamedNodeMap 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSNamedNodeMap NamedNodeMap 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSNamedNodeMap protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSNode.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.Node; 6 | 7 | 8 | public abstract class JSNode implements Node, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object Node() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSNode() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type Node 27 | * @memberOf Node 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSNode Node 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSNode protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSNodeList.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.NodeList; 6 | 7 | 8 | public abstract class JSNodeList implements NodeList, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object NodeList() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSNodeList() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type NodeList 27 | * @memberOf NodeList 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSNodeList NodeList 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSNodeList protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSNotation.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.Notation; 6 | 7 | 8 | public abstract class JSNotation implements Notation, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object Notation() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSNotation() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type Notation 27 | * @memberOf Notation 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSNotation Notation 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSNotation protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSProcessingInstruction.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.ProcessingInstruction; 6 | 7 | 8 | public abstract class JSProcessingInstruction implements ProcessingInstruction, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object ProcessingInstruction() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSProcessingInstruction() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type ProcessingInstruction 27 | * @memberOf ProcessingInstruction 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSNode Node 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSProcessingInstruction protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSText.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.Text; 6 | 7 | 8 | public abstract class JSText implements Text, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object Text() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSText() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type Text 27 | * @memberOf Text 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSCharacterData CharacterData 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSNode protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSTypeInfo.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.TypeInfo; 6 | 7 | 8 | public abstract class JSTypeInfo implements TypeInfo, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object Node() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSTypeInfo() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type TypeInfo 27 | * @memberOf TypeInfo 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSTypeInfo TypeInfo 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSTypeInfo protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/JSUserDataHandler.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.UserDataHandler; 6 | 7 | 8 | public abstract class JSUserDataHandler implements UserDataHandler, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object Node() 12 | * http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSUserDataHandler() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type UserDataHandler 27 | * @memberOf UserDataHandler 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSUserDataHandler UserDataHandler 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSUserDataHandler protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLAnchorElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLAnchorElement; 6 | 7 | 8 | public abstract class JSHTMLAnchorElement implements HTMLAnchorElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLAnchorElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLAnchorElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLAnchorElement 27 | * @memberOf HTMLAnchorElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLAnchorElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLAppletElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLAppletElement; 6 | 7 | 8 | public abstract class JSHTMLAppletElement implements HTMLAppletElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLAppletElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLAppletElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLAppletElement 27 | * @memberOf HTMLAppletElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLAppletElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLAreaElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLAreaElement; 6 | 7 | 8 | public abstract class JSHTMLAreaElement implements HTMLAreaElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLAreaElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLAreaElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLAreaElement 27 | * @memberOf HTMLAreaElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLAreaElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLBRElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLBRElement; 6 | 7 | 8 | public abstract class JSHTMLBRElement implements HTMLBRElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLBRElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLBRElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLBRElement 27 | * @memberOf HTMLBRElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLBRElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLBaseElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLBaseElement; 6 | 7 | 8 | public abstract class JSHTMLBaseElement implements HTMLBaseElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLBaseElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLBaseElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLBaseElement 27 | * @memberOf HTMLBaseElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLBaseElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLBodyElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLBodyElement; 6 | 7 | 8 | public abstract class JSHTMLBodyElement implements HTMLBodyElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLBodyElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLBodyElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLBodyElement 27 | * @memberOf HTMLBodyElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLBodyElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLCollection.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLCollection; 6 | 7 | 8 | public abstract class JSHTMLCollection implements HTMLCollection, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLCollection() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLCollection() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLCollection 27 | * @memberOf HTMLCollection 28 | * @since Standard ECMA-262 3rd. Edition 29 | * @since Level 2 Document Object Model Core Definition. 30 | */ 31 | public JSHTMLCollection protype; 32 | 33 | /** 34 | * property constructor 35 | * 36 | * @type Function 37 | * @memberOf Array 38 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 39 | * @since Standard ECMA-262 3rd. Edition 40 | * @since Level 2 Document Object Model Core Definition. 41 | */ 42 | protected JSFunction constructor; 43 | 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLDListElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLDListElement; 6 | 7 | 8 | public abstract class JSHTMLDListElement implements HTMLDListElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLDListElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLDListElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLDListElement 27 | * @memberOf HTMLDListElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLDListElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLDivElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLDivElement; 6 | 7 | 8 | public abstract class JSHTMLDivElement implements HTMLDivElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLDivElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLDivElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLDivElement 27 | * @memberOf HTMLDivElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLDivElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLDocument.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLDocument; 6 | 7 | 8 | public abstract class JSHTMLDocument implements HTMLDocument, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLDocument() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLDocument() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLDocument 27 | * @memberOf HTMLDocument 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.JSDocument Document 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLDocument protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLElement; 6 | 7 | 8 | public abstract class JSHTMLElement implements HTMLElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLElement 27 | * @memberOf HTMLElement 28 | * @since Standard ECMA-262 3rd. Edition 29 | * @since Level 2 Document Object Model Core Definition. 30 | */ 31 | public JSHTMLElement protype; 32 | 33 | /** 34 | * property constructor 35 | * 36 | * @type Function 37 | * @memberOf Array 38 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 39 | * @since Standard ECMA-262 3rd. Edition 40 | * @since Level 2 Document Object Model Core Definition. 41 | */ 42 | protected JSFunction constructor; 43 | } 44 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLFontElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLFontElement; 6 | 7 | 8 | public abstract class JSHTMLFontElement implements HTMLFontElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLFontElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLFontElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLFontElement 27 | * @memberOf HTMLFontElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLFontElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLFormElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLFormElement; 6 | 7 | 8 | public abstract class JSHTMLFormElement implements HTMLFormElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLFormElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLFormElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLFormElement 27 | * @memberOf HTMLFormElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLFormElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLFrameElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLFrameElement; 6 | 7 | 8 | public abstract class JSHTMLFrameElement implements HTMLFrameElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLFrameElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLFrameElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLFrameElement 27 | * @memberOf HTMLFrameElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLFrameElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLHRElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLHRElement; 6 | 7 | 8 | public abstract class JSHTMLHRElement implements HTMLHRElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLHRElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLHRElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLHRElement 27 | * @memberOf HTMLHRElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLHRElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLHeadElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLHeadElement; 6 | 7 | 8 | public abstract class JSHTMLHeadElement implements HTMLHeadElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLHeadElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLHeadElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLHeadElement 27 | * @memberOf HTMLHeadElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLHeadElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLHtmlElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLHtmlElement; 6 | 7 | 8 | public abstract class JSHTMLHtmlElement implements HTMLHtmlElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLHtmlElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLHtmlElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLHtmlElement 27 | * @memberOf HTMLHtmlElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLHtmlElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLImageElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLImageElement; 6 | 7 | 8 | public abstract class JSHTMLImageElement implements HTMLImageElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLImageElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLImageElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLImageElement 27 | * @memberOf HTMLImageElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLImageElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLInputElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLInputElement; 6 | 7 | 8 | public abstract class JSHTMLInputElement implements HTMLInputElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLInputElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLInputElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLInputElement 27 | * @memberOf HTMLInputElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLInputElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLLIElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLLIElement; 6 | 7 | 8 | public abstract class JSHTMLLIElement implements HTMLLIElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLLIElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLLIElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLLIElement 27 | * @memberOf HTMLLIElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLLIElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLLabelElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLLabelElement; 6 | 7 | 8 | public abstract class JSHTMLLabelElement implements HTMLLabelElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLLabelElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLLabelElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLLabelElement 27 | * @memberOf HTMLLabelElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLLabelElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLLinkElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLLinkElement; 6 | 7 | 8 | public abstract class JSHTMLLinkElement implements HTMLLinkElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLLinkElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLLinkElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLLinkElement 27 | * @memberOf HTMLLinkElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLLinkElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLMapElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLMapElement; 6 | 7 | 8 | public abstract class JSHTMLMapElement implements HTMLMapElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLMapElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLMapElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLMapElement 27 | * @memberOf HTMLMapElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLMapElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLMenuElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLMenuElement; 6 | 7 | 8 | public abstract class JSHTMLMenuElement implements HTMLMenuElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLMenuElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLMenuElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLMenuElement 27 | * @memberOf HTMLMenuElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLMenuElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLMetaElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLMetaElement; 6 | 7 | 8 | public abstract class JSHTMLMetaElement implements HTMLMetaElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLMetaElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLMetaElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLMetaElement 27 | * @memberOf HTMLMetaElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLMetaElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLModElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLModElement; 6 | 7 | 8 | public abstract class JSHTMLModElement implements HTMLModElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLModElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLModElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLModElement 27 | * @memberOf HTMLModElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLModElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLOListElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLOListElement; 6 | 7 | 8 | public abstract class JSHTMLOListElement implements HTMLOListElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLOListElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLOListElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLOListElement 27 | * @memberOf HTMLOListElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public HTMLOListElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLOptionsCollection.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | 6 | 7 | public abstract class JSHTMLOptionsCollection implements JS5ObjectFunctions { 8 | 9 | /** 10 | * Object HTMLOptionsCollection() 11 | * See also the Document Object Model (DOM) Level 2 Specification 12 | * 13 | * @constructor 14 | * @since Standard ECMA-262 3rd. Edition 15 | * @since Level 2 Document Object Model Core Definition. 16 | * 17 | */ 18 | public JSHTMLOptionsCollection() { 19 | 20 | } 21 | 22 | /** 23 | * property prototype 24 | * 25 | * @type HTMLOptionElement 26 | * @memberOf HTMLOptionElement 27 | * @since Standard ECMA-262 3rd. Edition 28 | * @since Level 2 Document Object Model Core Definition. 29 | */ 30 | public JSHTMLOptionsCollection protype; 31 | 32 | /** 33 | * property constructor 34 | * 35 | * @type Function 36 | * @memberOf Array 37 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 38 | * @since Standard ECMA-262 3rd. Edition 39 | * @since Level 2 Document Object Model Core Definition. 40 | */ 41 | protected JSFunction constructor; 42 | } 43 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLParamElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLParamElement; 6 | 7 | 8 | public abstract class JSHTMLParamElement implements HTMLParamElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLParamElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLParamElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLParamElement 27 | * @memberOf HTMLParamElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLParamElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLPreElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLPreElement; 6 | 7 | 8 | public abstract class JSHTMLPreElement implements HTMLPreElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLPreElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLPreElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLPreElement 27 | * @memberOf HTMLPreElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLPreElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLQuoteElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLQuoteElement; 6 | 7 | 8 | public abstract class JSHTMLQuoteElement implements HTMLQuoteElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLQuoteElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLQuoteElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLQuoteElement 27 | * @memberOf HTMLQuoteElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLQuoteElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLStyleElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLStyleElement; 6 | 7 | 8 | public abstract class JSHTMLStyleElement implements HTMLStyleElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLStyleElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLStyleElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLStyleElement 27 | * @memberOf HTMLStyleElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLStyleElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLTableElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLTableElement; 6 | 7 | 8 | public abstract class JSHTMLTableElement implements HTMLTableElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLTableElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLTableElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLTableElement 27 | * @memberOf HTMLTableElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLTableElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLTitleElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLTitleElement; 6 | 7 | 8 | public abstract class JSHTMLTitleElement implements HTMLTitleElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLTitleElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLTitleElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLTitleElement 27 | * @memberOf HTMLTitleElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLTitleElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/dom/html/JSHTMLUListElement.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.dom.html; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 5 | import org.w3c.dom.html.HTMLUListElement; 6 | 7 | 8 | public abstract class JSHTMLUListElement implements HTMLUListElement, JS5ObjectFunctions { 9 | 10 | /** 11 | * Object HTMLUListElement() 12 | * See also the Document Object Model (DOM) Level 2 Specification 13 | * 14 | * @constructor 15 | * @since Standard ECMA-262 3rd. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | * 18 | */ 19 | public JSHTMLUListElement() { 20 | 21 | } 22 | 23 | /** 24 | * property prototype 25 | * 26 | * @type HTMLUListElement 27 | * @memberOf HTMLUListElement 28 | * @see org.fife.rsta.ac.js.ecma.api.dom.html.JSHTMLElement HTMLElement 29 | * @since Standard ECMA-262 3rd. Edition 30 | * @since Level 2 Document Object Model Core Definition. 31 | */ 32 | public JSHTMLUListElement protype; 33 | 34 | /** 35 | * property constructor 36 | * 37 | * @type Function 38 | * @memberOf Array 39 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 40 | * @since Standard ECMA-262 3rd. Edition 41 | * @since Level 2 Document Object Model Core Definition. 42 | */ 43 | protected JSFunction constructor; 44 | } 45 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/e4x/E4XGlobal.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.e4x; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.e4x.functions.E4XGlobalFunctions; 4 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSGlobal; 5 | 6 | 7 | /** 8 | * Object Global 9 | * 10 | * @since Standard ECMA-357 2nd. Edition 11 | */ 12 | public abstract class E4XGlobal extends JSGlobal implements E4XGlobalFunctions { 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/e4x/functions/E4XGlobalFunctions.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.e4x.functions; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSBoolean; 4 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSString; 5 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; 6 | 7 | 8 | public interface E4XGlobalFunctions extends JS5ObjectFunctions { 9 | 10 | /** 11 | * function isXMLName(name) determines whether name is a valid XML name. 12 | * @param name The name to be tested. 13 | * @returns examines the given value and determines whether it is a valid XML name that can be used as an XML element or attribute name. If so, it returns true, otherwise it returns false. 14 | * @memberOf Global 15 | * @see org.fife.rsta.ac.js.ecma.api.e4x.E4XGlobal Global 16 | * @since Standard ECMA-357 2nd. Edition 17 | */ 18 | JSBoolean isXMLName(JSString name); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma3/JSBoolean.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma3; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSObjectFunctions; 4 | 5 | 6 | /** 7 | * Object Boolean 8 | * @since Standard ECMA-262 3rd. Edition 9 | */ 10 | public abstract class JSBoolean implements JSObjectFunctions { 11 | 12 | /** 13 | * Object Boolean(value) 14 | * 15 | * @constructor 16 | * @extends Object 17 | * @param value The value to be held by the Boolean object or be converted to a boolean value 18 | * @since Standard ECMA-262 3rd. Edition 19 | * @since Level 2 Document Object Model Core Definition. 20 | */ 21 | public JSBoolean(JSObject value) { 22 | } 23 | 24 | /** 25 | * property prototype 26 | * 27 | * @type Boolean 28 | * @memberOf Boolean 29 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSBoolean Boolean 30 | * @since Standard ECMA-262 3rd. Edition 31 | * @since Level 2 Document Object Model Core Definition. 32 | */ 33 | public JSBoolean prototype; 34 | 35 | /** 36 | * property constructor 37 | * 38 | * @type Function 39 | * @memberOf Boolean 40 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction Function 41 | * @since Standard ECMA-262 3rd. Edition 42 | * @since Level 2 Document Object Model Core Definition. 43 | */ 44 | protected JSFunction constructor; 45 | 46 | } 47 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma3/JSGlobal.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma3; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSGlobalFunctions; 4 | 5 | 6 | /** 7 | * Object Global 8 | * 9 | * @since Standard ECMA-262 3rd. Edition 10 | */ 11 | public abstract class JSGlobal implements JSGlobalFunctions { 12 | 13 | /** 14 | * property Infinity A numerical property that represents infinity. 15 | * 16 | * @memberOf Global 17 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSNumber Number 18 | * @since Standard ECMA-262 3rd. Edition 19 | * @since Level 2 Document Object Model Core Definition. 20 | */ 21 | public static JSNumber Infinity; 22 | 23 | /** 24 | * property NaN Not a number value. 25 | * 26 | * @memberOf Global 27 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSNumber Number 28 | * @since Standard ECMA-262 3rd. Edition 29 | * @since Level 2 Document Object Model Core Definition. 30 | */ 31 | public static JSNumber NaN; 32 | 33 | /** 34 | * property undefined The undefined value. 35 | * 36 | * @memberOf Global 37 | * @see org.fife.rsta.ac.js.ecma.api.ecma3.JSGlobal Global 38 | * @since Standard ECMA-262 3rd. Edition 39 | * @since Level 2 Document Object Model Core Definition. 40 | */ 41 | public static JSUndefined undefined; 42 | } 43 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma3/JSUndefined.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma3; 2 | 3 | 4 | /** 5 | * Object Undefined 6 | * @since Standard ECMA-262 3rd. Edition 7 | */ 8 | public abstract class JSUndefined { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma5/JS5Function.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma5; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; 4 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSString; 5 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5FunctionFunctions; 6 | 7 | /** 8 | * Object Function 9 | * @since Standard ECMA-262 3rd. Edition 10 | */ 11 | public abstract class JS5Function extends JSFunction implements JS5FunctionFunctions { 12 | 13 | /** 14 | * Object Function(argument_names..., body) 15 | * @constructor 16 | * @extends Object 17 | * @param argument_names Any number of string arguments, each naming one or more arguments of the Function object to be created. 18 | * @param body A string that represents the body of the function. It may contain an number of JavaScript statements, separated by semicolons. 19 | * @since Standard ECMA-262 3rd. Edition 20 | * @since Level 2 Document Object Model Core Definition. 21 | */ 22 | public JS5Function(JSString argument_names, JSString body) { 23 | super(argument_names, body); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma5/JS5JSON.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma5; 2 | 3 | /** 4 | * Object JSON 5 | * @since Standard ECMA-262 5th. Edition 6 | */ 7 | public abstract class JS5JSON { 8 | 9 | 10 | /** 11 | * function parse(s, reviver) parse a JSON-formatted string. 12 | * 13 | * @memberOf Date 14 | * @param s The string to be parsed. 15 | * @param reviver An optional argument function that can transform parsed values. 16 | * @returns {Object} 17 | * @see org.fife.rsta.ac.js.ecma.api.ecma5.JS5JSON JSON 18 | * @since Standard ECMA-262 5th. Edition 19 | */ 20 | public static JS5Object parse(JS5String s, JS5Function reviver){return null;} 21 | 22 | /** 23 | * function stringify(o, filter, indent) serialize an object, array or primitive value. 24 | * 25 | * @memberOf Date 26 | * @param o The object, array or primitive value to convert to JSON string. 27 | * @param filter An optional function that can replace values before stringification. 28 | * @param indent An optional argument that specifies am indentation string or number of spaces to use for indentation. 29 | * @returns A JSON formatted string representing the value o. 30 | * @see org.fife.rsta.ac.js.ecma.api.ecma5.JS5JSON JSON 31 | * @since Standard ECMA-262 5th. Edition 32 | */ 33 | public static JS5Object stringify(JS5Object o, JS5Function filter, JS5Object indent){return null;} 34 | } 35 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma5/JS5String.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma5; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.JSString; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5StringFunctions; 5 | 6 | 7 | /** 8 | * Object String 9 | * @since Standard ECMA-262 3rd. Edition 10 | */ 11 | public abstract class JS5String extends JSString implements JS5StringFunctions { 12 | 13 | 14 | /** 15 | * Object String(s) 16 | * 17 | * @constructor 18 | * @extends Object 19 | * @param s The value to be stored in a String or converted to a primitive type 20 | * @since Standard ECMA-262 3rd. Edition 21 | * @since Level 2 Document Object Model Core Definition. 22 | */ 23 | public JS5String(JSString s){super(s);} 24 | } 25 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma5/functions/JS5DateFunctions.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma5.functions; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSDateFunctions; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.JS5String; 5 | 6 | 7 | public interface JS5DateFunctions extends JS5ObjectFunctions, JSDateFunctions { 8 | 9 | /** 10 | * function toISOString() converts a Date to ISO8601-formatted string. 11 | * 12 | * @memberOf Date 13 | * @returns A string representation of date, formatted according to ISO-8601 - yyyy-mm-ddThh:mm:ss.sssZ 14 | * @see org.fife.rsta.ac.js.ecma.api.ecma5.JS5Date Date 15 | * @since Standard ECMA-262 5th. Edition 16 | * @since Level 2 Document Object Model Core Definition. 17 | */ 18 | JS5String toISOString(); 19 | 20 | /** 21 | * function toJSON(key) JSON-serialize a Date object. 22 | * 23 | * @memberOf Date 24 | * @param key JSON.stringify() passes this argument. 25 | * @returns A string representation of the date, obtained by calling the toISOString() method. 26 | * @see org.fife.rsta.ac.js.ecma.api.ecma5.JS5Date Date 27 | * @see #toISOString() toISOString() 28 | * @since Standard ECMA-262 5th. Edition 29 | * @since Level 2 Document Object Model Core Definition. 30 | */ 31 | JS5String toJSON(JS5String key); 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma5/functions/JS5FunctionFunctions.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma5.functions; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSFunctionFunctions; 4 | import org.fife.rsta.ac.js.ecma.api.ecma5.JS5Array; 5 | import org.fife.rsta.ac.js.ecma.api.ecma5.JS5Function; 6 | import org.fife.rsta.ac.js.ecma.api.ecma5.JS5Object; 7 | 8 | 9 | public interface JS5FunctionFunctions extends JS5ObjectFunctions, JSFunctionFunctions { 10 | 11 | /** 12 | * function bind (thisObject, argArray) return a function that invokes this as a method. 13 | * 14 | * @param thisObject The object to which the function should be bound. 15 | * @param argArray Zero or more argument values that will also be bound. 16 | * @returns A new function which invokes this function as a method of thisObject and passes arguments argArray. 17 | * @see org.fife.rsta.ac.js.ecma.api.ecma5.JS5Function Function 18 | * @since Standard ECMA-262 5th. Edition 19 | * @since Level 2 Document Object Model Core Definition. 20 | */ 21 | JS5Function bind(JS5Object thisObject, JS5Array argArray); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma5/functions/JS5ObjectFunctions.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma5.functions; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSObjectFunctions; 4 | 5 | 6 | public interface JS5ObjectFunctions extends JSObjectFunctions { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/ecma/api/ecma5/functions/JS5StringFunctions.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.ecma.api.ecma5.functions; 2 | 3 | import org.fife.rsta.ac.js.ecma.api.ecma5.JS5String; 4 | 5 | 6 | public interface JS5StringFunctions extends JS5ObjectFunctions { 7 | 8 | /** 9 | * function trim () string leading and trailing whitespace. 10 | * 11 | * @returns A copy of string, with all leading and trailing whitespace removed. 12 | * @see org.fife.rsta.ac.js.ecma.api.ecma5.JS5String String 13 | * @since Standard ECMA-262 5th. Edition 14 | */ 15 | JS5String trim(); 16 | } 17 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/engine/ECMAJavaScriptEngine.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.engine; 2 | 3 | import org.fife.rsta.ac.js.SourceCompletionProvider; 4 | import org.fife.rsta.ac.js.ast.TypeDeclarationOptions; 5 | import org.fife.rsta.ac.js.ast.jsType.JavaScriptTypesFactory; 6 | import org.fife.rsta.ac.js.ast.parser.JavaScriptAstParser; 7 | import org.fife.rsta.ac.js.ast.parser.JavaScriptParser; 8 | import org.fife.rsta.ac.js.resolver.JavaScriptCompletionResolver; 9 | import org.fife.rsta.ac.js.resolver.JavaScriptResolver; 10 | 11 | 12 | public class ECMAJavaScriptEngine extends JavaScriptEngine { 13 | 14 | public static final String ECMA_ENGINE = "ECMA"; 15 | 16 | @Override 17 | public JavaScriptResolver getJavaScriptResolver(SourceCompletionProvider provider) { 18 | return new JavaScriptCompletionResolver(provider); 19 | } 20 | 21 | @Override 22 | public JavaScriptTypesFactory getJavaScriptTypesFactory(SourceCompletionProvider provider) { 23 | if(jsFactory == null) 24 | jsFactory = JavaScriptTypesFactory.getDefaultJavaScriptTypesFactory(provider.getTypesFactory()); 25 | 26 | return jsFactory; 27 | } 28 | 29 | 30 | @Override 31 | public JavaScriptParser getParser(SourceCompletionProvider provider, int dot, TypeDeclarationOptions options) { 32 | return new JavaScriptAstParser(provider, dot, options); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/engine/JSR223JavaScriptEngine.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.engine; 2 | 3 | import org.fife.rsta.ac.js.SourceCompletionProvider; 4 | import org.fife.rsta.ac.js.ast.TypeDeclarationOptions; 5 | import org.fife.rsta.ac.js.ast.jsType.JSR223JavaScriptTypesFactory; 6 | import org.fife.rsta.ac.js.ast.jsType.JavaScriptTypesFactory; 7 | import org.fife.rsta.ac.js.ast.parser.JavaScriptAstParser; 8 | import org.fife.rsta.ac.js.ast.parser.JavaScriptParser; 9 | import org.fife.rsta.ac.js.resolver.JSR223JavaScriptCompletionResolver; 10 | import org.fife.rsta.ac.js.resolver.JavaScriptResolver; 11 | 12 | 13 | public class JSR223JavaScriptEngine extends JavaScriptEngine { 14 | 15 | 16 | public static final String JSR223_ENGINE = "JSR223"; 17 | 18 | @Override 19 | public JavaScriptResolver getJavaScriptResolver(SourceCompletionProvider provider) { 20 | return new JSR223JavaScriptCompletionResolver(provider); 21 | } 22 | 23 | 24 | @Override 25 | public JavaScriptTypesFactory getJavaScriptTypesFactory(SourceCompletionProvider provider) { 26 | if(jsFactory == null) 27 | jsFactory = new JSR223JavaScriptTypesFactory(provider.getTypesFactory()); 28 | return jsFactory; 29 | } 30 | 31 | 32 | @Override 33 | public JavaScriptParser getParser(SourceCompletionProvider provider, int dot, TypeDeclarationOptions options) { 34 | return new JavaScriptAstParser(provider, dot, options); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/engine/JavaScriptEngineFactory.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.engine; 2 | 3 | import java.util.HashMap; 4 | 5 | 6 | public class JavaScriptEngineFactory { 7 | 8 | 9 | public static final String DEFAULT = ECMAJavaScriptEngine.ECMA_ENGINE; 10 | 11 | private HashMap supportedEngines = 12 | new HashMap<>(); 13 | 14 | private static JavaScriptEngineFactory Instance = new JavaScriptEngineFactory(); 15 | 16 | static { 17 | Instance().addEngine(ECMAJavaScriptEngine.ECMA_ENGINE, new ECMAJavaScriptEngine()); 18 | Instance().addEngine(JSR223JavaScriptEngine.JSR223_ENGINE, new JSR223JavaScriptEngine()); 19 | Instance().addEngine(RhinoJavaScriptEngine.RHINO_ENGINE, new RhinoJavaScriptEngine()); 20 | } 21 | 22 | 23 | private JavaScriptEngineFactory() { 24 | } 25 | 26 | 27 | public static JavaScriptEngineFactory Instance() { 28 | return Instance; 29 | } 30 | 31 | 32 | public JavaScriptEngine getEngineFromCache(String name) { 33 | if(name == null) { 34 | name = DEFAULT; 35 | } 36 | return supportedEngines.get(name); 37 | } 38 | 39 | 40 | public void addEngine(String name, JavaScriptEngine engine) { 41 | supportedEngines.put(name, engine); 42 | } 43 | 44 | 45 | public void removeEngine(String name) { 46 | supportedEngines.remove(name); 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/engine/RhinoJavaScriptEngine.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.js.engine; 2 | 3 | import org.fife.rsta.ac.js.SourceCompletionProvider; 4 | import org.fife.rsta.ac.js.ast.TypeDeclarationOptions; 5 | import org.fife.rsta.ac.js.ast.jsType.JavaScriptTypesFactory; 6 | import org.fife.rsta.ac.js.ast.jsType.RhinoJavaScriptTypesFactory; 7 | import org.fife.rsta.ac.js.ast.parser.JavaScriptParser; 8 | import org.fife.rsta.ac.js.ast.parser.RhinoJavaScriptAstParser; 9 | import org.fife.rsta.ac.js.resolver.JSR223JavaScriptCompletionResolver; 10 | import org.fife.rsta.ac.js.resolver.JavaScriptResolver; 11 | 12 | 13 | public class RhinoJavaScriptEngine extends JavaScriptEngine { 14 | 15 | public static final String RHINO_ENGINE = "RHINO"; 16 | 17 | @Override 18 | public JavaScriptResolver getJavaScriptResolver(SourceCompletionProvider provider) { 19 | return new JSR223JavaScriptCompletionResolver(provider); 20 | } 21 | 22 | 23 | @Override 24 | public JavaScriptTypesFactory getJavaScriptTypesFactory(SourceCompletionProvider provider) { 25 | 26 | if(jsFactory == null) 27 | jsFactory = new RhinoJavaScriptTypesFactory(provider.getTypesFactory()); 28 | 29 | return jsFactory; 30 | } 31 | 32 | 33 | @Override 34 | public JavaScriptParser getParser(SourceCompletionProvider provider, int dot, TypeDeclarationOptions options) { 35 | return new RhinoJavaScriptAstParser(provider, dot, options); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * JavaScript code completion classes. 3 | */ 4 | package org.fife.rsta.ac.js; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/tree/JavaScriptTreeCellRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 01/28/2012 3 | * 4 | * Copyright (C) 2012 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.js.tree; 12 | 13 | import java.awt.Component; 14 | import javax.swing.JTree; 15 | import javax.swing.tree.DefaultTreeCellRenderer; 16 | 17 | 18 | /** 19 | * Renderer for JavaScript outline trees. 20 | * 21 | * @author Robert Futrell 22 | * @version 1.0 23 | */ 24 | class JavaScriptTreeCellRenderer extends DefaultTreeCellRenderer { 25 | 26 | 27 | @Override 28 | public Component getTreeCellRendererComponent(JTree tree, Object value, 29 | boolean sel, boolean expanded, boolean leaf, 30 | int row, boolean hasFocus) { 31 | super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, 32 | row, hasFocus); 33 | if (value instanceof JavaScriptTreeNode) { // Should always be true 34 | JavaScriptTreeNode node = (JavaScriptTreeNode)value; 35 | setText(node.getText(sel)); 36 | setIcon(node.getIcon()); 37 | } 38 | return this; 39 | } 40 | 41 | 42 | } 43 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/jsp/TldAttribute.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 07/05/2011 3 | * 4 | * Copyright (C) 2011 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.jsp; 12 | 13 | import org.fife.rsta.ac.html.AttributeCompletion; 14 | import org.fife.ui.autocomplete.ParameterizedCompletion.Parameter; 15 | 16 | 17 | /** 18 | * An attribute of an element defined in a TLD. 19 | * 20 | * @author Robert Futrell 21 | * @version 1.0 22 | */ 23 | class TldAttribute extends AttributeCompletion { 24 | 25 | private boolean required; 26 | private boolean rtexprvalue; 27 | 28 | 29 | TldAttribute(JspCompletionProvider provider, 30 | TldAttributeParam param) { 31 | super(provider, param); 32 | } 33 | 34 | 35 | public static class TldAttributeParam extends Parameter { 36 | 37 | private boolean required; 38 | private boolean rtexprvalue; 39 | 40 | TldAttributeParam(Object type, String name, boolean required, 41 | boolean rtexprvalue) { 42 | super(type, name); 43 | this.required = required; 44 | this.rtexprvalue = rtexprvalue; 45 | } 46 | 47 | public boolean isRequired() { 48 | return required; 49 | } 50 | 51 | public boolean getRtexprvalue() { 52 | return rtexprvalue; 53 | } 54 | 55 | } 56 | 57 | 58 | } 59 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/jsp/TldElement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 07/05/2011 3 | * 4 | * Copyright (C) 2011 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.jsp; 12 | 13 | import org.fife.ui.autocomplete.MarkupTagCompletion; 14 | 15 | 16 | /** 17 | * An element defined in a TLD. 18 | * 19 | * @author Robert Futrell 20 | * @version 1.0 21 | */ 22 | class TldElement extends MarkupTagCompletion { 23 | 24 | 25 | TldElement(JspCompletionProvider provider, String name, String desc){ 26 | super(provider, name); 27 | setDescription(desc); 28 | } 29 | 30 | 31 | } 32 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/jsp/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * JSP code completion classes. 3 | */ 4 | package org.fife.rsta.ac.jsp; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/less/LessCompletionProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 08/22/2015 3 | * 4 | * Copyright (C) 2014 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.less; 12 | 13 | import org.fife.rsta.ac.css.CssCompletionProvider; 14 | import org.fife.ui.autocomplete.CompletionProvider; 15 | 16 | 17 | /** 18 | * A completion provider for Less. 19 | * 20 | * @author Robert Futrell 21 | * @version 1.0 22 | */ 23 | class LessCompletionProvider extends CssCompletionProvider { 24 | 25 | 26 | /** 27 | * Returns the provider to use when editing code. 28 | * 29 | * @return The provider. 30 | */ 31 | @Override 32 | protected CompletionProvider createCodeCompletionProvider() { 33 | return new LessCodeCompletionProvider(); 34 | } 35 | 36 | 37 | } -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/less/LessLanguageSupport.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 08/22/2015 3 | * 4 | * Copyright (C) 2013 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.less; 12 | 13 | import org.fife.rsta.ac.css.CssCompletionProvider; 14 | import org.fife.rsta.ac.css.CssLanguageSupport; 15 | 16 | 17 | /** 18 | * Language support for Less. 19 | * 20 | * @author Robert Futrell 21 | * @version 1.0 22 | */ 23 | public class LessLanguageSupport extends CssLanguageSupport { 24 | 25 | 26 | /** 27 | * Constructor. 28 | */ 29 | public LessLanguageSupport() { 30 | setShowDescWindow(true); 31 | } 32 | 33 | 34 | /** 35 | * Overridden to return a completion provider that understands Less. 36 | * 37 | * @return A completion provider to use for this language. 38 | */ 39 | @Override 40 | protected CssCompletionProvider createProvider() { 41 | return new LessCompletionProvider(); 42 | } 43 | 44 | 45 | } -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/less/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * LESS code completion classes. 3 | */ 4 | package org.fife.rsta.ac.less; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * A framework that facilitates code completion and parsing of languages in RSyntaxTextArea. 3 | */ 4 | package org.fife.rsta.ac; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/perl/PerlCodeCompletionProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * RSTALanguageSupport.License.txt file for details. 10 | */ 11 | package org.fife.rsta.ac.perl; 12 | 13 | import org.fife.ui.autocomplete.DefaultCompletionProvider; 14 | 15 | 16 | /** 17 | * The completion provider for Perl code. 18 | * 19 | * @author Robert Futrell 20 | * @version 1.0 21 | */ 22 | class PerlCodeCompletionProvider extends DefaultCompletionProvider { 23 | 24 | private PerlCompletionProvider parent; 25 | 26 | 27 | PerlCodeCompletionProvider(PerlCompletionProvider parent) { 28 | this.parent = parent; 29 | } 30 | 31 | 32 | @Override 33 | public char getParameterListEnd() { 34 | return parent.getParameterListEnd(); 35 | } 36 | 37 | 38 | @Override 39 | public char getParameterListStart() { 40 | return parent.getParameterListStart(); 41 | } 42 | 43 | 44 | @Override 45 | public boolean isValidChar(char ch) { 46 | return super.isValidChar(ch) || ch=='@' || ch=='$' || ch=='%'; 47 | } 48 | 49 | 50 | } 51 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/perl/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Perl code completion classes. 3 | */ 4 | package org.fife.rsta.ac.perl; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/php/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * PHP code completion classes. 3 | */ 4 | package org.fife.rsta.ac.php; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/sh/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Unix shell code completion classes. 3 | */ 4 | package org.fife.rsta.ac.sh; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/ts/SourceCompletionProvider.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.ts; 2 | 3 | import org.fife.ui.autocomplete.DefaultCompletionProvider; 4 | 5 | 6 | /** 7 | * The completion provider for TypeScript source code. 8 | * 9 | * @author Robert Futrell 10 | * @version 1.0 11 | */ 12 | public class SourceCompletionProvider extends DefaultCompletionProvider { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/ts/TypeScriptCompletionProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 12/03/2015 3 | * 4 | * This library is distributed under a modified BSD license. See the included 5 | * LICENSE.md file for details. 6 | */ 7 | package org.fife.rsta.ac.ts; 8 | 9 | import org.fife.rsta.ac.js.JsDocCompletionProvider; 10 | import org.fife.ui.autocomplete.LanguageAwareCompletionProvider; 11 | 12 | 13 | /** 14 | * Completion provider for TypeScript. 15 | * 16 | * @author Robert Futrell 17 | * @version 1.0 18 | */ 19 | public class TypeScriptCompletionProvider extends LanguageAwareCompletionProvider { 20 | 21 | ///** 22 | // * The provider used for source code, kept here since it's used so much. 23 | // */ 24 | //private SourceCompletionProvider sourceProvider; 25 | 26 | private TypeScriptLanguageSupport languageSupport; 27 | 28 | 29 | public TypeScriptCompletionProvider(TypeScriptLanguageSupport languageSupport) { 30 | super(new SourceCompletionProvider()); 31 | //this.sourceProvider = (SourceCompletionProvider) getDefaultCompletionProvider(); 32 | this.languageSupport = languageSupport; 33 | 34 | setDocCommentCompletionProvider(new JsDocCompletionProvider()); 35 | } 36 | 37 | 38 | public TypeScriptLanguageSupport getLanguageSupport() { 39 | return languageSupport; 40 | } 41 | 42 | 43 | } 44 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/ts/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * TypeScript code completion classes. 3 | */ 4 | package org.fife.rsta.ac.ts; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/xml/DtdValidationConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 08/14/2013 3 | * 4 | * Copyright (C) 2013 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.xml; 12 | 13 | import javax.xml.parsers.SAXParserFactory; 14 | import org.xml.sax.EntityResolver; 15 | 16 | 17 | /** 18 | * Configuration information for validating XML against a DTD. 19 | * 20 | * @author Robert Futrell 21 | * @version 1.0 22 | */ 23 | public class DtdValidationConfig implements ValidationConfig { 24 | 25 | private EntityResolver entityResolver; 26 | 27 | 28 | public DtdValidationConfig(EntityResolver entityResolver) { 29 | this.entityResolver = entityResolver; 30 | } 31 | 32 | 33 | @Override 34 | public void configureParser(XmlParser parser) { 35 | SAXParserFactory spf = parser.getSaxParserFactory(); 36 | spf.setValidating(true); 37 | spf.setSchema(null); 38 | } 39 | 40 | 41 | @Override 42 | public void configureHandler(XmlParser.Handler handler) { 43 | handler.setEntityResolver(entityResolver); 44 | } 45 | 46 | 47 | } 48 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/xml/ValidationConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 08/14/2013 3 | * 4 | * Copyright (C) 2013 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.xml; 12 | 13 | 14 | /** 15 | * Configuration information to get an {@link XmlParser} validating against 16 | * either a DTD or a schema. 17 | * 18 | * @author Robert Futrell 19 | * @version 1.0 20 | */ 21 | public interface ValidationConfig { 22 | 23 | 24 | /** 25 | * Configures the parser itself. Called when this config is first set 26 | * on an XmlParser. 27 | * 28 | * @param parser The parser to configure. 29 | */ 30 | void configureParser(XmlParser parser); 31 | 32 | 33 | /** 34 | * Configures the actual handler instance. Called before each parsing 35 | * of the document. 36 | * 37 | * @param handler The handler to configure. 38 | */ 39 | void configureHandler(XmlParser.Handler handler); 40 | 41 | 42 | } 43 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/xml/ValidationConfigSniffer.java: -------------------------------------------------------------------------------- 1 | package org.fife.rsta.ac.xml; 2 | 3 | import org.fife.ui.rsyntaxtextarea.RSyntaxDocument; 4 | import org.fife.ui.rsyntaxtextarea.Token; 5 | import org.fife.ui.rsyntaxtextarea.TokenTypes; 6 | 7 | 8 | /** 9 | * Sniffs for validation configuration in a document. 10 | * 11 | * @author Robert Futrell 12 | * @version 1.0 13 | */ 14 | public class ValidationConfigSniffer { 15 | 16 | 17 | /** 18 | * Sniffs a document. 19 | * 20 | * @param doc The document to sniff. 21 | * @return The validation configuration, or {@code null} if none. 22 | */ 23 | public ValidationConfig sniff(RSyntaxDocument doc) { 24 | 25 | ValidationConfig config = null; 26 | 27 | OUTER: 28 | for (Token token : doc) { 29 | switch (token.getType()) { 30 | case TokenTypes.MARKUP_DTD: 31 | //System.out.println("DTD: " + token.getLexeme()); 32 | break OUTER; 33 | case TokenTypes.MARKUP_TAG_NAME: 34 | // We only care about the first element 35 | //System.out.println("First element: " + token.getLexeme()); 36 | break OUTER; 37 | } 38 | } 39 | 40 | return config; 41 | 42 | } 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/xml/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * XML code completion classes. 3 | */ 4 | package org.fife.rsta.ac.xml; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/java/org/fife/rsta/ac/xml/tree/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * An "outline tree" implementation that models XML files. 3 | */ 4 | package org.fife.rsta.ac.xml.tree; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/c/function.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/c/function.png -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/c/macro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/c/macro.png -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/c/var.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/c/var.png -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/aural_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/aural_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/boxmodel_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/boxmodel_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/charset_rule.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/charset_rule.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/colback_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/colback_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/content_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/content_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/css_propertyvalue_function.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/css_propertyvalue_function.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/css_propertyvalue_identifier.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/css_propertyvalue_identifier.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/css_propertyvalue_unit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/css_propertyvalue_unit.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/font_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/font_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/fontface_rule.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/fontface_rule.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/link_rule.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/link_rule.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/media_rule.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/media_rule.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/page_rule.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/page_rule.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/pagedmedia_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/pagedmedia_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/table_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/table_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/text_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/text_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/ui_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/ui_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/visual_props.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/css/img/visual_props.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/html/attribute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/html/attribute.png -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/html/html5_close_tags.txt: -------------------------------------------------------------------------------- 1 | # Tags that are required to be closed in HTML 5. 2 | 3 | # "html", "head", and "body" don't technically need to be closed, but usually are 4 | html 5 | head 6 | title 7 | style 8 | script 9 | noscript 10 | body 11 | section 12 | nav 13 | article 14 | aside 15 | h1 16 | h2 17 | h3 18 | h4 19 | h5 20 | h6 21 | header 22 | footer 23 | address 24 | pre 25 | dialog 26 | blockquote 27 | ol 28 | ul 29 | dl 30 | a 31 | q 32 | cite 33 | em 34 | strong 35 | small 36 | mark 37 | dfn 38 | abbr 39 | time 40 | progress 41 | meter 42 | code 43 | var 44 | samp 45 | kbd 46 | sub 47 | sup 48 | span 49 | i b 50 | bdo 51 | ruby 52 | rt 53 | rp 54 | ins 55 | del 56 | figure 57 | iframe 58 | object 59 | video 60 | audio 61 | canvas 62 | map 63 | table 64 | caption 65 | form 66 | fieldset 67 | label 68 | button 69 | select 70 | datalist 71 | textarea 72 | output 73 | details 74 | bb 75 | menu 76 | legend 77 | div 78 | 79 | # Obsolete elements 80 | acronym 81 | applet 82 | big 83 | blink 84 | center 85 | dir 86 | font 87 | frame 88 | frameset 89 | isindex 90 | listing 91 | marquee 92 | nobr 93 | noembed 94 | noframes 95 | plaintext 96 | s 97 | spacer 98 | strike 99 | tt 100 | u 101 | xmp 102 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/html/tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/html/tag.png -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/html/xml_comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/html/xml_comment.png -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/abstract_co.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/abstract_co.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/class_default_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/class_default_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/class_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/class_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/constr_ovr.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/constr_ovr.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/deprecated.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/deprecated.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/enum_default_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/enum_default_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/enum_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/enum_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/enum_private_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/enum_private_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/enum_protected_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/enum_protected_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/error_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/error_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/field_default_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/field_default_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/field_private_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/field_private_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/field_protected_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/field_protected_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/field_public_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/field_public_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/final_co.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/final_co.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/html_tag_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/html_tag_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/imp_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/imp_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/impc_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/impc_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/info_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/info_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerclass_default_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerclass_default_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerclass_private_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerclass_private_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerclass_protected_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerclass_protected_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerclass_public_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerclass_public_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerinterface_default_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerinterface_default_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerinterface_private_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerinterface_private_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerinterface_protected_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerinterface_protected_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerinterface_public_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/innerinterface_public_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/int_default_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/int_default_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/int_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/int_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/jcu_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/jcu_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/jdoc_tag_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/jdoc_tag_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/localvariable_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/localvariable_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/methdef_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/methdef_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/methpri_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/methpri_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/methpro_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/methpro_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/methpub_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/methpub_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/package_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/package_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/static_co.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/static_co.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/synch_co.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/synch_co.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/template_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/template_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/warning_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/img/warning_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/java/resources.properties: -------------------------------------------------------------------------------- 1 | sysout.shortDesc=print to standard out 2 | sysout.summary=System.out.println(); 3 | syserr.shortDesc=print to standard error 4 | syserr.summary=System.err.println(); 5 | for.array.shortDesc=iterate over array 6 | for.array.summary=for (int i = 0; i < array.length; i++) {

}
7 | for.loop.shortDesc=iterate 8 | for.loop.summary=for (int i = 0; i < 10; i++) {

}
9 | do.shortDesc=do-while statement 10 | do.summary=do {

} while(condition);
11 | runnable.shortDesc=runnable 12 | runnable.summary=new Runnable() {
public void run() {
}
}
13 | if.cond.shortDesc=if statement 14 | if.cond.summary=if (condition) {

}
15 | if.else.shortDesc=if-else statement 16 | if.else.summary=if (condition) {

}
else {

}
17 | while.shortDesc=while condition 18 | while.summary=while (condition) {

}
19 | todo=A to-do reminder 20 | fixme=A bug that needs to be fixed 21 | switch.case.shortDesc=switch case statement 22 | switch.case.summary=switch (key) {
 case value:

      break;

  default:
      break;
} 23 | try.catch.shortDesc=try catch statement 24 | try.catch.summary=try {

}
catch (err) {

} 25 | catch.block.shortDesc=catch block 26 | catch.block.summary=catch (err) {

} 27 | -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/class_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/class_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/field_default_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/field_default_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/field_public_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/field_public_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/jdoc_tag_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/jdoc_tag_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/localvariable_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/localvariable_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/methdef_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/methdef_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/methpub_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/methpub_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/methpub_static.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/methpub_static.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/static_co.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/static_co.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/template_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/img/template_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/js/resources.properties: -------------------------------------------------------------------------------- 1 | for.array.shortDesc=iterate over array 2 | for.array.summary=for (var i = 0; i < array.length; i++) {

} 3 | for.loop.shortDesc=iterate 4 | for.loop.summary=for (var i = 0; i < 10; i++) {

} 5 | for.in.shortDesc=iterate over using for in 6 | for.in.summary=for (var iterable_element in iterable) {

} 7 | for.in.each.shortDesc=iterate over using for each 8 | for.in.each.summary=for each (var iterable_element in iterable) {

} 9 | do.shortDesc=do while statement 10 | do.summary=do {

} while(condition); 11 | if.cond.shortDesc=if statement 12 | if.cond.summary=if (condition) {

} 13 | if.else.shortDesc=if else statement 14 | if.else.summary=if (condition) {

} else {

} 15 | while.shortDesc=while condition 16 | while.summary=while (condition) {

} 17 | todo=A to-do reminder 18 | fixme=A bug that needs to be fixed 19 | switch.case.shortDesc=switch case statement 20 | switch.case.summary=switch (key) {
 case value:

      break;

  default:
      break;
} 21 | try.catch.shortDesc=try catch statement 22 | try.catch.summary=try {

}
catch (err) {

} 23 | catch.block.shortDesc=catch block 24 | catch.block.summary=catch (err) {

} -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/less/img/methpub_obj.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/less/img/methpub_obj.gif -------------------------------------------------------------------------------- /RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/xml/tree/tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/RSTALanguageSupport/src/main/resources/org/fife/rsta/ac/xml/tree/tag.png -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/README.md: -------------------------------------------------------------------------------- 1 | # RSTALanguageSupportDemo 2 | A demo application showing off some features of the RSTALanguageSupport library. 3 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | implementation project(path: ':RSTALanguageSupport') 3 | } 4 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/java/org/fife/rsta/ac/demo/ExtensionFileFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 03/21/2010 3 | * 4 | * Copyright (C) 2010 Robert Futrell 5 | * robert_futrell at users.sourceforge.net 6 | * http://fifesoft.com/rsyntaxtextarea 7 | * 8 | * This library is distributed under a modified BSD license. See the included 9 | * LICENSE.md file for details. 10 | */ 11 | package org.fife.rsta.ac.demo; 12 | 13 | import java.io.File; 14 | import javax.swing.filechooser.FileFilter; 15 | 16 | 17 | /** 18 | * A file filter for opening files with a specific extension. 19 | * 20 | * @author Robert Futrell 21 | * @version 1.0 22 | */ 23 | class ExtensionFileFilter extends FileFilter { 24 | 25 | private String desc; 26 | private String ext; 27 | 28 | 29 | /** 30 | * Constructor. 31 | * 32 | * @param desc A description of the file type. 33 | * @param ext The extension of the file type. 34 | */ 35 | ExtensionFileFilter(String desc, String ext) { 36 | this.desc = desc; 37 | this.ext = ext; 38 | } 39 | 40 | 41 | @Override 42 | public boolean accept(File f) { 43 | return f.isDirectory() || f.getName().endsWith(ext); 44 | } 45 | 46 | 47 | @Override 48 | public String getDescription() { 49 | return desc + " (*." + ext + ")"; 50 | } 51 | 52 | 53 | } 54 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/java/org/fife/rsta/ac/demo/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * A demo application for this library. 3 | */ 4 | package org.fife.rsta.ac.demo; 5 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/CExample.txt: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /* Canonical "Hello world!" example */ 4 | int main(int argc, char **argv) 5 | { 6 | printf("Hello, world!\n"); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/GroovyExample.txt: -------------------------------------------------------------------------------- 1 | def foo = "very much so" 2 | println "I'd like some pie, ${foo}" 3 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/HtmlExample.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

Hello world!

6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
10 | onetwothree
value 1value 2value 3
20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/JavaExample.txt: -------------------------------------------------------------------------------- 1 | public class ExampleCode { 2 | 3 | private String strField; 4 | protected int aaa; 5 | protected int abb; 6 | public float foo; 7 | 8 | public ExampleCode(int value) { 9 | this.value = value; 10 | } 11 | 12 | public String getX() { 13 | String str = "Hello world!"; 14 | String another = "one two three"; 15 | if (another.equals(str)) { 16 | System.out.println("Match found"); 17 | } 18 | return another; 19 | } 20 | 21 | public void setValues(String val1, int val2) { 22 | strField = val1; 23 | aaa = abb = val2; 24 | System.out.println(getX()); 25 | System.out.println(foo()); // Ctrl+click shouldn't work for foo! 26 | } 27 | 28 | /** Ctrl+click my stuff! */ 29 | private class Inner1 { 30 | 31 | private int aaa; 32 | private double d; 33 | private String strField; 34 | 35 | public void doSomething(double newVal) { 36 | d = newVal; 37 | aaa = abb = clickable; 38 | strField = getX(); // getX() clickable 39 | } 40 | 41 | } 42 | 43 | /** Ctrl+click my stuff also! */ 44 | private static class Inner2 { 45 | 46 | private double d; 47 | private String strField; 48 | 49 | public void doSomething(double newVal) { 50 | d = newVal; 51 | aaa = abb = notClickable; 52 | strField = getX(); // getX() not clickable 53 | } 54 | 55 | } 56 | 57 | } -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/JspExample.txt: -------------------------------------------------------------------------------- 1 | <%@ page errorPage="myerror.jsp" %> 2 | <%@ page import="com.foo.bar" %> 3 | 4 | 5 | 6 | <%! int serverInstanceVariable = 1;%> 7 | 8 | <% int localStackBasedVariable = 1; %> 9 | 10 | 11 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/LessExample.txt: -------------------------------------------------------------------------------- 1 | @media print { 2 | foo: bar; 3 | } 4 | 5 | @the-border: 1px; 6 | @base-color: #111; 7 | @red: #842210; 8 | 9 | #header { 10 | color: @base-color * 3; 11 | border-left: @the-border; 12 | border-right: @the-border * 3; 13 | .bar { 14 | background: lighten(red, 10%); 15 | } 16 | } 17 | 18 | #footer { 19 | color: @base-color + #003300; 20 | border-color: desaturate(@red, 0%); 21 | } 22 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/PerlExample.txt: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | use strict; 3 | 4 | print "Hello world!\n"; 5 | 6 | my @aaa, @aab, @aac, @abc, @aad, $aascalar, %aahash; 7 | 8 | # Simple regular expression recognition 9 | my $name = "Fred"; 10 | my $text = "A complicated regex example from $name"; 11 | $text =~ s/complicated/simple/; 12 | print "Text: $text\n"; 13 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/PhpExample.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 |

Hello world!

12 | 13 | 14 |
<%= toStringOrBlank( "expanded inline data " + 1 ) %>
15 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
16 | onetwothree
value 1value 2value 3
26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/ShellExample.txt: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | echo This is a shell script 4 | 5 | cat foo.txt 6 | -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/TypeScriptExample.txt: -------------------------------------------------------------------------------- 1 | class Greeter { 2 | constructor(public greeting: string) { } 3 | greet() { 4 | return "

" + this.greeting + "

"; 5 | } 6 | }; 7 | 8 | // This is a comment 9 | var greeter = new Greeter("Hello, world!"); 10 | 11 | document.body.innerHTML = greeter.greet(); -------------------------------------------------------------------------------- /RSTALanguageSupportDemo/src/main/resources/examples/XmlExample.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | John Smith 6 | Self-Help Co., Inc. 7 | 8 | 9 | 10 | Susie Peaceful 11 | Hippie Publications 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /config/checkstyle/lsSuppressions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /data/sh/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/data/sh/test.sh -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Note that Maven- and signing-related properties are in /gradle.properties 2 | javaVersion=1.8 3 | version=3.3.1-SNAPSHOT 4 | 5 | # Ugh, see https://github.com/gradle/gradle/issues/11308 6 | systemProp.org.gradle.internal.publish.checksums.insecure=true 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bobbylight/RSTALanguageSupport/e8fa2a7baf10ca42117eea675ab929414c8b4819/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /java_support_TODO.txt: -------------------------------------------------------------------------------- 1 | ***** Code Completion ***** 2 | 1. Load less stuff on first scan of ClassFiles, lazy-load rest of stuff as 3 | needed (for member completion info, etc.). -- not possible/practical due to 4 | class file format? 5 | 2. Make "prefix" go more than "1 level deep" when getting completions at caret 6 | position. 7 | 3. Improve performance of first ctrl+space - have a "pre-load package list?" 8 | 4. Make pre-loading everything an option (vs. old behavior of just imports) 9 | instead of the only choice. 10 | 5. Java 7: add parsing support for auto-closable try-blocks. 11 | 6. Javadoc links: unqualified @see/@link tags should scan imports to identify 12 | the actual class being linked to. 13 | 14 | ***** rjc (parsing) ***** 15 | BUGS: 16 | ---- 17 | 18 | TODO: 19 | ----- 20 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'RSTALanguageSupport' 2 | 3 | include 'RSTALanguageSupport', 'RSTALanguageSupportDemo' 4 | --------------------------------------------------------------------------------