coderay 0.7.4.215 → 0.8.260
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +421 -257
- data/README +24 -13
- data/bin/coderay +9 -4
- data/lib/coderay.rb +19 -17
- data/lib/coderay/duo.rb +67 -9
- data/lib/coderay/encoder.rb +18 -9
- data/lib/coderay/encoders/_map.rb +2 -1
- data/lib/coderay/encoders/debug.rb +14 -11
- data/lib/coderay/encoders/html.rb +44 -17
- data/lib/coderay/encoders/html/css.rb +13 -8
- data/lib/coderay/encoders/html/numerization.rb +8 -6
- data/lib/coderay/encoders/html/output.rb +3 -1
- data/lib/coderay/encoders/statistic.rb +2 -6
- data/lib/coderay/encoders/text.rb +2 -3
- data/lib/coderay/encoders/tokens.rb +3 -3
- data/lib/coderay/encoders/xml.rb +1 -2
- data/lib/coderay/for_redcloth.rb +72 -0
- data/lib/coderay/helpers/file_type.rb +38 -9
- data/lib/coderay/helpers/gzip_simple.rb +1 -0
- data/lib/coderay/helpers/plugin.rb +15 -8
- data/lib/coderay/helpers/word_list.rb +4 -0
- data/lib/coderay/scanner.rb +30 -13
- data/lib/coderay/scanners/_map.rb +1 -1
- data/lib/coderay/scanners/c.rb +3 -1
- data/lib/coderay/scanners/css.rb +181 -0
- data/lib/coderay/scanners/debug.rb +1 -0
- data/lib/coderay/scanners/delphi.rb +1 -0
- data/lib/coderay/scanners/diff.rb +104 -0
- data/lib/coderay/scanners/java.rb +179 -0
- data/lib/coderay/scanners/java/builtin_types.rb +419 -0
- data/lib/coderay/scanners/java_script.rb +187 -0
- data/lib/coderay/scanners/json.rb +106 -0
- data/lib/coderay/scanners/nitro_xhtml.rb +5 -4
- data/lib/coderay/scanners/plaintext.rb +2 -0
- data/lib/coderay/scanners/rhtml.rb +2 -2
- data/lib/coderay/scanners/ruby.rb +64 -50
- data/lib/coderay/scanners/ruby/patterns.rb +15 -19
- data/lib/coderay/scanners/scheme.rb +142 -0
- data/lib/coderay/scanners/sql.Keith.rb +143 -0
- data/lib/coderay/scanners/sql.rb +154 -0
- data/lib/coderay/scanners/xml.rb +1 -0
- data/lib/coderay/styles/cycnus.rb +30 -9
- data/lib/coderay/styles/murphy.rb +15 -2
- data/lib/coderay/{encoders/html/classes.rb → token_classes.rb} +14 -9
- data/lib/coderay/tokens.rb +33 -14
- data/lib/term/ansicolor.rb +220 -0
- metadata +62 -44
@@ -0,0 +1,419 @@
|
|
1
|
+
module CodeRay
|
2
|
+
module Scanners
|
3
|
+
|
4
|
+
module Java::BuiltinTypes # :nodoc:
|
5
|
+
|
6
|
+
List = %w[
|
7
|
+
AbstractAction AbstractBorder AbstractButton AbstractCellEditor AbstractCollection
|
8
|
+
AbstractColorChooserPanel AbstractDocument AbstractExecutorService AbstractInterruptibleChannel
|
9
|
+
AbstractLayoutCache AbstractList AbstractListModel AbstractMap AbstractMethodError AbstractPreferences
|
10
|
+
AbstractQueue AbstractQueuedSynchronizer AbstractSelectableChannel AbstractSelectionKey AbstractSelector
|
11
|
+
AbstractSequentialList AbstractSet AbstractSpinnerModel AbstractTableModel AbstractUndoableEdit
|
12
|
+
AbstractWriter AccessControlContext AccessControlException AccessController AccessException Accessible
|
13
|
+
AccessibleAction AccessibleAttributeSequence AccessibleBundle AccessibleComponent AccessibleContext
|
14
|
+
AccessibleEditableText AccessibleExtendedComponent AccessibleExtendedTable AccessibleExtendedText
|
15
|
+
AccessibleHyperlink AccessibleHypertext AccessibleIcon AccessibleKeyBinding AccessibleObject
|
16
|
+
AccessibleRelation AccessibleRelationSet AccessibleResourceBundle AccessibleRole AccessibleSelection
|
17
|
+
AccessibleState AccessibleStateSet AccessibleStreamable AccessibleTable AccessibleTableModelChange
|
18
|
+
AccessibleText AccessibleTextSequence AccessibleValue AccountException AccountExpiredException
|
19
|
+
AccountLockedException AccountNotFoundException Acl AclEntry AclNotFoundException Action ActionEvent
|
20
|
+
ActionListener ActionMap ActionMapUIResource Activatable ActivateFailedException ActivationDesc
|
21
|
+
ActivationException ActivationGroup ActivationGroupDesc ActivationGroupID ActivationGroup_Stub
|
22
|
+
ActivationID ActivationInstantiator ActivationMonitor ActivationSystem Activator ActiveEvent
|
23
|
+
ActivityCompletedException ActivityRequiredException Adjustable AdjustmentEvent AdjustmentListener
|
24
|
+
Adler32 AffineTransform AffineTransformOp AlgorithmParameterGenerator AlgorithmParameterGeneratorSpi
|
25
|
+
AlgorithmParameters AlgorithmParameterSpec AlgorithmParametersSpi AllPermission AlphaComposite
|
26
|
+
AlreadyBoundException AlreadyConnectedException AncestorEvent AncestorListener AnnotatedElement
|
27
|
+
Annotation AnnotationFormatError AnnotationTypeMismatchException AppConfigurationEntry Appendable Applet
|
28
|
+
AppletContext AppletInitializer AppletStub Arc2D Area AreaAveragingScaleFilter ArithmeticException Array
|
29
|
+
ArrayBlockingQueue ArrayIndexOutOfBoundsException ArrayList Arrays ArrayStoreException ArrayType
|
30
|
+
AssertionError AsyncBoxView AsynchronousCloseException AtomicBoolean AtomicInteger AtomicIntegerArray
|
31
|
+
AtomicIntegerFieldUpdater AtomicLong AtomicLongArray AtomicLongFieldUpdater AtomicMarkableReference
|
32
|
+
AtomicReference AtomicReferenceArray AtomicReferenceFieldUpdater AtomicStampedReference Attribute
|
33
|
+
AttributeChangeNotification AttributeChangeNotificationFilter AttributedCharacterIterator
|
34
|
+
AttributedString AttributeException AttributeInUseException AttributeList AttributeModificationException
|
35
|
+
AttributeNotFoundException Attributes AttributeSet AttributeSetUtilities AttributeValueExp AudioClip
|
36
|
+
AudioFileFormat AudioFileReader AudioFileWriter AudioFormat AudioInputStream AudioPermission AudioSystem
|
37
|
+
AuthenticationException AuthenticationNotSupportedException Authenticator AuthorizeCallback
|
38
|
+
AuthPermission AuthProvider Autoscroll AWTError AWTEvent AWTEventListener AWTEventListenerProxy
|
39
|
+
AWTEventMulticaster AWTException AWTKeyStroke AWTPermission BackingStoreException
|
40
|
+
BadAttributeValueExpException BadBinaryOpValueExpException BadLocationException BadPaddingException
|
41
|
+
BadStringOperationException BandCombineOp BandedSampleModel BaseRowSet BasicArrowButton BasicAttribute
|
42
|
+
BasicAttributes BasicBorders BasicButtonListener BasicButtonUI BasicCheckBoxMenuItemUI BasicCheckBoxUI
|
43
|
+
BasicColorChooserUI BasicComboBoxEditor BasicComboBoxRenderer BasicComboBoxUI BasicComboPopup
|
44
|
+
BasicControl BasicDesktopIconUI BasicDesktopPaneUI BasicDirectoryModel BasicEditorPaneUI
|
45
|
+
BasicFileChooserUI BasicFormattedTextFieldUI BasicGraphicsUtils BasicHTML BasicIconFactory
|
46
|
+
BasicInternalFrameTitlePane BasicInternalFrameUI BasicLabelUI BasicListUI BasicLookAndFeel
|
47
|
+
BasicMenuBarUI BasicMenuItemUI BasicMenuUI BasicOptionPaneUI BasicPanelUI BasicPasswordFieldUI
|
48
|
+
BasicPermission BasicPopupMenuSeparatorUI BasicPopupMenuUI BasicProgressBarUI BasicRadioButtonMenuItemUI
|
49
|
+
BasicRadioButtonUI BasicRootPaneUI BasicScrollBarUI BasicScrollPaneUI BasicSeparatorUI BasicSliderUI
|
50
|
+
BasicSpinnerUI BasicSplitPaneDivider BasicSplitPaneUI BasicStroke BasicTabbedPaneUI BasicTableHeaderUI
|
51
|
+
BasicTableUI BasicTextAreaUI BasicTextFieldUI BasicTextPaneUI BasicTextUI BasicToggleButtonUI
|
52
|
+
BasicToolBarSeparatorUI BasicToolBarUI BasicToolTipUI BasicTreeUI BasicViewportUI BatchUpdateException
|
53
|
+
BeanContext BeanContextChild BeanContextChildComponentProxy BeanContextChildSupport
|
54
|
+
BeanContextContainerProxy BeanContextEvent BeanContextMembershipEvent BeanContextMembershipListener
|
55
|
+
BeanContextProxy BeanContextServiceAvailableEvent BeanContextServiceProvider
|
56
|
+
BeanContextServiceProviderBeanInfo BeanContextServiceRevokedEvent BeanContextServiceRevokedListener
|
57
|
+
BeanContextServices BeanContextServicesListener BeanContextServicesSupport BeanContextSupport
|
58
|
+
BeanDescriptor BeanInfo Beans BevelBorder Bidi BigDecimal BigInteger BinaryRefAddr BindException Binding
|
59
|
+
BitSet Blob BlockingQueue BlockView BMPImageWriteParam Book Boolean BooleanControl Border BorderFactory
|
60
|
+
BorderLayout BorderUIResource BoundedRangeModel Box BoxLayout BoxView BreakIterator
|
61
|
+
BrokenBarrierException Buffer BufferCapabilities BufferedImage BufferedImageFilter BufferedImageOp
|
62
|
+
BufferedInputStream BufferedOutputStream BufferedReader BufferedWriter BufferOverflowException
|
63
|
+
BufferStrategy BufferUnderflowException Button ButtonGroup ButtonModel ButtonUI Byte
|
64
|
+
ByteArrayInputStream ByteArrayOutputStream ByteBuffer ByteChannel ByteLookupTable ByteOrder CachedRowSet
|
65
|
+
CacheRequest CacheResponse Calendar Callable CallableStatement Callback CallbackHandler
|
66
|
+
CancelablePrintJob CancellationException CancelledKeyException CannotProceedException
|
67
|
+
CannotRedoException CannotUndoException Canvas CardLayout Caret CaretEvent CaretListener CellEditor
|
68
|
+
CellEditorListener CellRendererPane Certificate CertificateEncodingException CertificateException
|
69
|
+
CertificateExpiredException CertificateFactory CertificateFactorySpi CertificateNotYetValidException
|
70
|
+
CertificateParsingException CertPath CertPathBuilder CertPathBuilderException CertPathBuilderResult
|
71
|
+
CertPathBuilderSpi CertPathParameters CertPathTrustManagerParameters CertPathValidator
|
72
|
+
CertPathValidatorException CertPathValidatorResult CertPathValidatorSpi CertSelector CertStore
|
73
|
+
CertStoreException CertStoreParameters CertStoreSpi ChangedCharSetException ChangeEvent ChangeListener
|
74
|
+
Channel Channels Character CharacterCodingException CharacterIterator CharArrayReader CharArrayWriter
|
75
|
+
CharBuffer CharConversionException CharSequence Charset CharsetDecoder CharsetEncoder CharsetProvider
|
76
|
+
Checkbox CheckboxGroup CheckboxMenuItem CheckedInputStream CheckedOutputStream Checksum Choice
|
77
|
+
ChoiceCallback ChoiceFormat Chromaticity Cipher CipherInputStream CipherOutputStream CipherSpi Class
|
78
|
+
ClassCastException ClassCircularityError ClassDefinition ClassDesc ClassFileTransformer ClassFormatError
|
79
|
+
ClassLoader ClassLoaderRepository ClassLoadingMXBean ClassNotFoundException Clip Clipboard
|
80
|
+
ClipboardOwner Clob Cloneable CloneNotSupportedException Closeable ClosedByInterruptException
|
81
|
+
ClosedChannelException ClosedSelectorException CMMException CoderMalfunctionError CoderResult CodeSigner
|
82
|
+
CodeSource CodingErrorAction CollationElementIterator CollationKey Collator Collection
|
83
|
+
CollectionCertStoreParameters Collections Color ColorChooserComponentFactory ColorChooserUI
|
84
|
+
ColorConvertOp ColorModel ColorSelectionModel ColorSpace ColorSupported ColorType ColorUIResource
|
85
|
+
ComboBoxEditor ComboBoxModel ComboBoxUI ComboPopup CommunicationException Comparable Comparator
|
86
|
+
CompilationMXBean Compiler CompletionService Component ComponentAdapter ComponentColorModel
|
87
|
+
ComponentEvent ComponentInputMap ComponentInputMapUIResource ComponentListener ComponentOrientation
|
88
|
+
ComponentSampleModel ComponentUI ComponentView Composite CompositeContext CompositeData
|
89
|
+
CompositeDataSupport CompositeName CompositeType CompositeView CompoundBorder CompoundControl
|
90
|
+
CompoundEdit CompoundName Compression ConcurrentHashMap ConcurrentLinkedQueue ConcurrentMap
|
91
|
+
ConcurrentModificationException Condition Configuration ConfigurationException ConfirmationCallback
|
92
|
+
ConnectException ConnectIOException Connection ConnectionEvent ConnectionEventListener
|
93
|
+
ConnectionPendingException ConnectionPoolDataSource ConsoleHandler Constructor Container
|
94
|
+
ContainerAdapter ContainerEvent ContainerListener ContainerOrderFocusTraversalPolicy ContentHandler
|
95
|
+
ContentHandlerFactory ContentModel Context ContextNotEmptyException ContextualRenderedImageFactory
|
96
|
+
Control ControlFactory ControllerEventListener ConvolveOp CookieHandler Copies CopiesSupported
|
97
|
+
CopyOnWriteArrayList CopyOnWriteArraySet CountDownLatch CounterMonitor CounterMonitorMBean CRC32
|
98
|
+
CredentialException CredentialExpiredException CredentialNotFoundException CRL CRLException CRLSelector
|
99
|
+
CropImageFilter CSS CubicCurve2D Currency Cursor Customizer CyclicBarrier DatabaseMetaData DataBuffer
|
100
|
+
DataBufferByte DataBufferDouble DataBufferFloat DataBufferInt DataBufferShort DataBufferUShort
|
101
|
+
DataFlavor DataFormatException DatagramChannel DatagramPacket DatagramSocket DatagramSocketImpl
|
102
|
+
DatagramSocketImplFactory DataInput DataInputStream DataLine DataOutput DataOutputStream DataSource
|
103
|
+
DataTruncation DatatypeConfigurationException DatatypeConstants DatatypeFactory Date DateFormat
|
104
|
+
DateFormatSymbols DateFormatter DateTimeAtCompleted DateTimeAtCreation DateTimeAtProcessing
|
105
|
+
DateTimeSyntax DebugGraphics DecimalFormat DecimalFormatSymbols DefaultBoundedRangeModel
|
106
|
+
DefaultButtonModel DefaultCaret DefaultCellEditor DefaultColorSelectionModel DefaultComboBoxModel
|
107
|
+
DefaultDesktopManager DefaultEditorKit DefaultFocusManager DefaultFocusTraversalPolicy DefaultFormatter
|
108
|
+
DefaultFormatterFactory DefaultHighlighter DefaultKeyboardFocusManager DefaultListCellRenderer
|
109
|
+
DefaultListModel DefaultListSelectionModel DefaultLoaderRepository DefaultMenuLayout DefaultMetalTheme
|
110
|
+
DefaultMutableTreeNode DefaultPersistenceDelegate DefaultSingleSelectionModel DefaultStyledDocument
|
111
|
+
DefaultTableCellRenderer DefaultTableColumnModel DefaultTableModel DefaultTextUI DefaultTreeCellEditor
|
112
|
+
DefaultTreeCellRenderer DefaultTreeModel DefaultTreeSelectionModel Deflater DeflaterOutputStream Delayed
|
113
|
+
DelayQueue DelegationPermission Deprecated Descriptor DescriptorAccess DescriptorSupport DESedeKeySpec
|
114
|
+
DesignMode DESKeySpec DesktopIconUI DesktopManager DesktopPaneUI Destination Destroyable
|
115
|
+
DestroyFailedException DGC DHGenParameterSpec DHKey DHParameterSpec DHPrivateKey DHPrivateKeySpec
|
116
|
+
DHPublicKey DHPublicKeySpec Dialog Dictionary DigestException DigestInputStream DigestOutputStream
|
117
|
+
Dimension Dimension2D DimensionUIResource DirContext DirectColorModel DirectoryManager DirObjectFactory
|
118
|
+
DirStateFactory DisplayMode DnDConstants Doc DocAttribute DocAttributeSet DocFlavor DocPrintJob Document
|
119
|
+
DocumentBuilder DocumentBuilderFactory Documented DocumentEvent DocumentFilter DocumentListener
|
120
|
+
DocumentName DocumentParser DomainCombiner DOMLocator DOMResult DOMSource Double DoubleBuffer
|
121
|
+
DragGestureEvent DragGestureListener DragGestureRecognizer DragSource DragSourceAdapter
|
122
|
+
DragSourceContext DragSourceDragEvent DragSourceDropEvent DragSourceEvent DragSourceListener
|
123
|
+
DragSourceMotionListener Driver DriverManager DriverPropertyInfo DropTarget DropTargetAdapter
|
124
|
+
DropTargetContext DropTargetDragEvent DropTargetDropEvent DropTargetEvent DropTargetListener DSAKey
|
125
|
+
DSAKeyPairGenerator DSAParameterSpec DSAParams DSAPrivateKey DSAPrivateKeySpec DSAPublicKey
|
126
|
+
DSAPublicKeySpec DTD DTDConstants DuplicateFormatFlagsException Duration DynamicMBean ECField ECFieldF2m
|
127
|
+
ECFieldFp ECGenParameterSpec ECKey ECParameterSpec ECPoint ECPrivateKey ECPrivateKeySpec ECPublicKey
|
128
|
+
ECPublicKeySpec EditorKit Element ElementIterator ElementType Ellipse2D EllipticCurve EmptyBorder
|
129
|
+
EmptyStackException EncodedKeySpec Encoder EncryptedPrivateKeyInfo Entity Enum
|
130
|
+
EnumConstantNotPresentException EnumControl Enumeration EnumMap EnumSet EnumSyntax EOFException Error
|
131
|
+
ErrorListener ErrorManager EtchedBorder Event EventContext EventDirContext EventHandler EventListener
|
132
|
+
EventListenerList EventListenerProxy EventObject EventQueue EventSetDescriptor Exception
|
133
|
+
ExceptionInInitializerError ExceptionListener Exchanger ExecutionException Executor
|
134
|
+
ExecutorCompletionService Executors ExecutorService ExemptionMechanism ExemptionMechanismException
|
135
|
+
ExemptionMechanismSpi ExpandVetoException ExportException Expression ExtendedRequest ExtendedResponse
|
136
|
+
Externalizable FactoryConfigurationError FailedLoginException FeatureDescriptor Fidelity Field
|
137
|
+
FieldPosition FieldView File FileCacheImageInputStream FileCacheImageOutputStream FileChannel
|
138
|
+
FileChooserUI FileDescriptor FileDialog FileFilter FileHandler FileImageInputStream
|
139
|
+
FileImageOutputStream FileInputStream FileLock FileLockInterruptionException FilenameFilter FileNameMap
|
140
|
+
FileNotFoundException FileOutputStream FilePermission FileReader FileSystemView FileView FileWriter
|
141
|
+
Filter FilteredImageSource FilteredRowSet FilterInputStream FilterOutputStream FilterReader FilterWriter
|
142
|
+
Finishings FixedHeightLayoutCache FlatteningPathIterator FlavorEvent FlavorException FlavorListener
|
143
|
+
FlavorMap FlavorTable Float FloatBuffer FloatControl FlowLayout FlowView Flushable FocusAdapter
|
144
|
+
FocusEvent FocusListener FocusManager FocusTraversalPolicy Font FontFormatException FontMetrics
|
145
|
+
FontRenderContext FontUIResource Format FormatConversionProvider FormatFlagsConversionMismatchException
|
146
|
+
Formattable FormattableFlags Formatter FormatterClosedException FormSubmitEvent FormView Frame Future
|
147
|
+
FutureTask GapContent GarbageCollectorMXBean GatheringByteChannel GaugeMonitor GaugeMonitorMBean
|
148
|
+
GeneralPath GeneralSecurityException GenericArrayType GenericDeclaration GenericSignatureFormatError
|
149
|
+
GlyphJustificationInfo GlyphMetrics GlyphVector GlyphView GradientPaint GraphicAttribute Graphics
|
150
|
+
Graphics2D GraphicsConfigTemplate GraphicsConfiguration GraphicsDevice GraphicsEnvironment GrayFilter
|
151
|
+
GregorianCalendar GridBagConstraints GridBagLayout GridLayout Group Guard GuardedObject GZIPInputStream
|
152
|
+
GZIPOutputStream Handler HandshakeCompletedEvent HandshakeCompletedListener HasControls HashAttributeSet
|
153
|
+
HashDocAttributeSet HashMap HashPrintJobAttributeSet HashPrintRequestAttributeSet
|
154
|
+
HashPrintServiceAttributeSet HashSet Hashtable HeadlessException HierarchyBoundsAdapter
|
155
|
+
HierarchyBoundsListener HierarchyEvent HierarchyListener Highlighter HostnameVerifier HTML HTMLDocument
|
156
|
+
HTMLEditorKit HTMLFrameHyperlinkEvent HTMLWriter HttpRetryException HttpsURLConnection HttpURLConnection
|
157
|
+
HyperlinkEvent HyperlinkListener ICC_ColorSpace ICC_Profile ICC_ProfileGray ICC_ProfileRGB Icon
|
158
|
+
IconUIResource IconView Identity IdentityHashMap IdentityScope IIOByteBuffer IIOException IIOImage
|
159
|
+
IIOInvalidTreeException IIOMetadata IIOMetadataController IIOMetadataFormat IIOMetadataFormatImpl
|
160
|
+
IIOMetadataNode IIOParam IIOParamController IIOReadProgressListener IIOReadUpdateListener
|
161
|
+
IIOReadWarningListener IIORegistry IIOServiceProvider IIOWriteProgressListener IIOWriteWarningListener
|
162
|
+
IllegalAccessError IllegalAccessException IllegalArgumentException IllegalBlockingModeException
|
163
|
+
IllegalBlockSizeException IllegalCharsetNameException IllegalClassFormatException
|
164
|
+
IllegalComponentStateException IllegalFormatCodePointException IllegalFormatConversionException
|
165
|
+
IllegalFormatException IllegalFormatFlagsException IllegalFormatPrecisionException
|
166
|
+
IllegalFormatWidthException IllegalMonitorStateException IllegalPathStateException
|
167
|
+
IllegalSelectorException IllegalStateException IllegalThreadStateException Image ImageCapabilities
|
168
|
+
ImageConsumer ImageFilter ImageGraphicAttribute ImageIcon ImageInputStream ImageInputStreamImpl
|
169
|
+
ImageInputStreamSpi ImageIO ImageObserver ImageOutputStream ImageOutputStreamImpl ImageOutputStreamSpi
|
170
|
+
ImageProducer ImageReader ImageReaderSpi ImageReaderWriterSpi ImageReadParam ImageTranscoder
|
171
|
+
ImageTranscoderSpi ImageTypeSpecifier ImageView ImageWriteParam ImageWriter ImageWriterSpi
|
172
|
+
ImagingOpException IncompatibleClassChangeError IncompleteAnnotationException IndexColorModel
|
173
|
+
IndexedPropertyChangeEvent IndexedPropertyDescriptor IndexOutOfBoundsException Inet4Address Inet6Address
|
174
|
+
InetAddress InetSocketAddress Inflater InflaterInputStream InheritableThreadLocal Inherited
|
175
|
+
InitialContext InitialContextFactory InitialContextFactoryBuilder InitialDirContext InitialLdapContext
|
176
|
+
InlineView InputContext InputEvent InputMap InputMapUIResource InputMethod InputMethodContext
|
177
|
+
InputMethodDescriptor InputMethodEvent InputMethodHighlight InputMethodListener InputMethodRequests
|
178
|
+
InputMismatchException InputStream InputStreamReader InputSubset InputVerifier Insets InsetsUIResource
|
179
|
+
InstanceAlreadyExistsException InstanceNotFoundException InstantiationError InstantiationException
|
180
|
+
Instrument Instrumentation InsufficientResourcesException IntBuffer Integer IntegerSyntax InternalError
|
181
|
+
InternalFrameAdapter InternalFrameEvent InternalFrameFocusTraversalPolicy InternalFrameListener
|
182
|
+
InternalFrameUI InternationalFormatter InterruptedException InterruptedIOException
|
183
|
+
InterruptedNamingException InterruptibleChannel IntrospectionException Introspector
|
184
|
+
InvalidActivityException InvalidAlgorithmParameterException InvalidApplicationException
|
185
|
+
InvalidAttributeIdentifierException InvalidAttributesException InvalidAttributeValueException
|
186
|
+
InvalidClassException InvalidDnDOperationException InvalidKeyException InvalidKeySpecException
|
187
|
+
InvalidMarkException InvalidMidiDataException InvalidNameException InvalidObjectException
|
188
|
+
InvalidOpenTypeException InvalidParameterException InvalidParameterSpecException
|
189
|
+
InvalidPreferencesFormatException InvalidPropertiesFormatException InvalidRelationIdException
|
190
|
+
InvalidRelationServiceException InvalidRelationTypeException InvalidRoleInfoException
|
191
|
+
InvalidRoleValueException InvalidSearchControlsException InvalidSearchFilterException
|
192
|
+
InvalidTargetObjectTypeException InvalidTransactionException InvocationEvent InvocationHandler
|
193
|
+
InvocationTargetException IOException ItemEvent ItemListener ItemSelectable Iterable Iterator
|
194
|
+
IvParameterSpec JApplet JarEntry JarException JarFile JarInputStream JarOutputStream JarURLConnection
|
195
|
+
JButton JCheckBox JCheckBoxMenuItem JColorChooser JComboBox JComponent JdbcRowSet JDesktopPane JDialog
|
196
|
+
JEditorPane JFileChooser JFormattedTextField JFrame JInternalFrame JLabel JLayeredPane JList JMenu
|
197
|
+
JMenuBar JMenuItem JMException JMRuntimeException JMXAuthenticator JMXConnectionNotification
|
198
|
+
JMXConnector JMXConnectorFactory JMXConnectorProvider JMXConnectorServer JMXConnectorServerFactory
|
199
|
+
JMXConnectorServerMBean JMXConnectorServerProvider JMXPrincipal JMXProviderException
|
200
|
+
JMXServerErrorException JMXServiceURL JobAttributes JobHoldUntil JobImpressions JobImpressionsCompleted
|
201
|
+
JobImpressionsSupported JobKOctets JobKOctetsProcessed JobKOctetsSupported JobMediaSheets
|
202
|
+
JobMediaSheetsCompleted JobMediaSheetsSupported JobMessageFromOperator JobName JobOriginatingUserName
|
203
|
+
JobPriority JobPrioritySupported JobSheets JobState JobStateReason JobStateReasons Joinable JoinRowSet
|
204
|
+
JOptionPane JPanel JPasswordField JPEGHuffmanTable JPEGImageReadParam JPEGImageWriteParam JPEGQTable
|
205
|
+
JPopupMenu JProgressBar JRadioButton JRadioButtonMenuItem JRootPane JScrollBar JScrollPane JSeparator
|
206
|
+
JSlider JSpinner JSplitPane JTabbedPane JTable JTableHeader JTextArea JTextComponent JTextField
|
207
|
+
JTextPane JToggleButton JToolBar JToolTip JTree JViewport JWindow KerberosKey KerberosPrincipal
|
208
|
+
KerberosTicket Kernel Key KeyAdapter KeyAgreement KeyAgreementSpi KeyAlreadyExistsException
|
209
|
+
KeyboardFocusManager KeyEvent KeyEventDispatcher KeyEventPostProcessor KeyException KeyFactory
|
210
|
+
KeyFactorySpi KeyGenerator KeyGeneratorSpi KeyListener KeyManagementException KeyManager
|
211
|
+
KeyManagerFactory KeyManagerFactorySpi Keymap KeyPair KeyPairGenerator KeyPairGeneratorSpi KeyRep
|
212
|
+
KeySpec KeyStore KeyStoreBuilderParameters KeyStoreException KeyStoreSpi KeyStroke Label LabelUI
|
213
|
+
LabelView LanguageCallback LastOwnerException LayeredHighlighter LayoutFocusTraversalPolicy
|
214
|
+
LayoutManager LayoutManager2 LayoutQueue LDAPCertStoreParameters LdapContext LdapName
|
215
|
+
LdapReferralException Lease Level LimitExceededException Line Line2D LineBorder LineBreakMeasurer
|
216
|
+
LineEvent LineListener LineMetrics LineNumberInputStream LineNumberReader LineUnavailableException
|
217
|
+
LinkageError LinkedBlockingQueue LinkedHashMap LinkedHashSet LinkedList LinkException LinkLoopException
|
218
|
+
LinkRef List ListCellRenderer ListDataEvent ListDataListener ListenerNotFoundException ListIterator
|
219
|
+
ListModel ListResourceBundle ListSelectionEvent ListSelectionListener ListSelectionModel ListUI ListView
|
220
|
+
LoaderHandler Locale LocateRegistry Lock LockSupport Logger LoggingMXBean LoggingPermission LoginContext
|
221
|
+
LoginException LoginModule LogManager LogRecord LogStream Long LongBuffer LookAndFeel LookupOp
|
222
|
+
LookupTable Mac MacSpi MalformedInputException MalformedLinkException MalformedObjectNameException
|
223
|
+
MalformedParameterizedTypeException MalformedURLException ManagementFactory ManagementPermission
|
224
|
+
ManageReferralControl ManagerFactoryParameters Manifest Map MappedByteBuffer MarshalException
|
225
|
+
MarshalledObject MaskFormatter Matcher MatchResult Math MathContext MatteBorder MBeanAttributeInfo
|
226
|
+
MBeanConstructorInfo MBeanException MBeanFeatureInfo MBeanInfo MBeanNotificationInfo MBeanOperationInfo
|
227
|
+
MBeanParameterInfo MBeanPermission MBeanRegistration MBeanRegistrationException MBeanServer
|
228
|
+
MBeanServerBuilder MBeanServerConnection MBeanServerDelegate MBeanServerDelegateMBean MBeanServerFactory
|
229
|
+
MBeanServerForwarder MBeanServerInvocationHandler MBeanServerNotification MBeanServerNotificationFilter
|
230
|
+
MBeanServerPermission MBeanTrustPermission Media MediaName MediaPrintableArea MediaSize MediaSizeName
|
231
|
+
MediaTracker MediaTray Member MemoryCacheImageInputStream MemoryCacheImageOutputStream MemoryHandler
|
232
|
+
MemoryImageSource MemoryManagerMXBean MemoryMXBean MemoryNotificationInfo MemoryPoolMXBean MemoryType
|
233
|
+
MemoryUsage Menu MenuBar MenuBarUI MenuComponent MenuContainer MenuDragMouseEvent MenuDragMouseListener
|
234
|
+
MenuElement MenuEvent MenuItem MenuItemUI MenuKeyEvent MenuKeyListener MenuListener MenuSelectionManager
|
235
|
+
MenuShortcut MessageDigest MessageDigestSpi MessageFormat MetaEventListener MetalBorders MetalButtonUI
|
236
|
+
MetalCheckBoxIcon MetalCheckBoxUI MetalComboBoxButton MetalComboBoxEditor MetalComboBoxIcon
|
237
|
+
MetalComboBoxUI MetalDesktopIconUI MetalFileChooserUI MetalIconFactory MetalInternalFrameTitlePane
|
238
|
+
MetalInternalFrameUI MetalLabelUI MetalLookAndFeel MetalMenuBarUI MetalPopupMenuSeparatorUI
|
239
|
+
MetalProgressBarUI MetalRadioButtonUI MetalRootPaneUI MetalScrollBarUI MetalScrollButton
|
240
|
+
MetalScrollPaneUI MetalSeparatorUI MetalSliderUI MetalSplitPaneUI MetalTabbedPaneUI MetalTextFieldUI
|
241
|
+
MetalTheme MetalToggleButtonUI MetalToolBarUI MetalToolTipUI MetalTreeUI MetaMessage Method
|
242
|
+
MethodDescriptor MGF1ParameterSpec MidiChannel MidiDevice MidiDeviceProvider MidiEvent MidiFileFormat
|
243
|
+
MidiFileReader MidiFileWriter MidiMessage MidiSystem MidiUnavailableException MimeTypeParseException
|
244
|
+
MinimalHTMLWriter MissingFormatArgumentException MissingFormatWidthException MissingResourceException
|
245
|
+
Mixer MixerProvider MLet MLetMBean ModelMBean ModelMBeanAttributeInfo ModelMBeanConstructorInfo
|
246
|
+
ModelMBeanInfo ModelMBeanInfoSupport ModelMBeanNotificationBroadcaster ModelMBeanNotificationInfo
|
247
|
+
ModelMBeanOperationInfo ModificationItem Modifier Monitor MonitorMBean MonitorNotification
|
248
|
+
MonitorSettingException MouseAdapter MouseDragGestureRecognizer MouseEvent MouseInfo MouseInputAdapter
|
249
|
+
MouseInputListener MouseListener MouseMotionAdapter MouseMotionListener MouseWheelEvent
|
250
|
+
MouseWheelListener MultiButtonUI MulticastSocket MultiColorChooserUI MultiComboBoxUI MultiDesktopIconUI
|
251
|
+
MultiDesktopPaneUI MultiDoc MultiDocPrintJob MultiDocPrintService MultiFileChooserUI
|
252
|
+
MultiInternalFrameUI MultiLabelUI MultiListUI MultiLookAndFeel MultiMenuBarUI MultiMenuItemUI
|
253
|
+
MultiOptionPaneUI MultiPanelUI MultiPixelPackedSampleModel MultipleDocumentHandling MultipleMaster
|
254
|
+
MultiPopupMenuUI MultiProgressBarUI MultiRootPaneUI MultiScrollBarUI MultiScrollPaneUI MultiSeparatorUI
|
255
|
+
MultiSliderUI MultiSpinnerUI MultiSplitPaneUI MultiTabbedPaneUI MultiTableHeaderUI MultiTableUI
|
256
|
+
MultiTextUI MultiToolBarUI MultiToolTipUI MultiTreeUI MultiViewportUI MutableAttributeSet
|
257
|
+
MutableComboBoxModel MutableTreeNode Name NameAlreadyBoundException NameCallback NameClassPair
|
258
|
+
NameNotFoundException NameParser NamespaceChangeListener NamespaceContext Naming NamingEnumeration
|
259
|
+
NamingEvent NamingException NamingExceptionEvent NamingListener NamingManager NamingSecurityException
|
260
|
+
NavigationFilter NegativeArraySizeException NetPermission NetworkInterface NoClassDefFoundError
|
261
|
+
NoConnectionPendingException NodeChangeEvent NodeChangeListener NoInitialContextException
|
262
|
+
NoninvertibleTransformException NonReadableChannelException NonWritableChannelException
|
263
|
+
NoPermissionException NoRouteToHostException NoSuchAlgorithmException NoSuchAttributeException
|
264
|
+
NoSuchElementException NoSuchFieldError NoSuchFieldException NoSuchMethodError NoSuchMethodException
|
265
|
+
NoSuchObjectException NoSuchPaddingException NoSuchProviderException NotActiveException
|
266
|
+
NotBoundException NotCompliantMBeanException NotContextException Notification NotificationBroadcaster
|
267
|
+
NotificationBroadcasterSupport NotificationEmitter NotificationFilter NotificationFilterSupport
|
268
|
+
NotificationListener NotificationResult NotOwnerException NotSerializableException NotYetBoundException
|
269
|
+
NotYetConnectedException NullCipher NullPointerException Number NumberFormat NumberFormatException
|
270
|
+
NumberFormatter NumberOfDocuments NumberOfInterveningJobs NumberUp NumberUpSupported NumericShaper
|
271
|
+
OAEPParameterSpec Object ObjectChangeListener ObjectFactory ObjectFactoryBuilder ObjectInput
|
272
|
+
ObjectInputStream ObjectInputValidation ObjectInstance ObjectName ObjectOutput ObjectOutputStream
|
273
|
+
ObjectStreamClass ObjectStreamConstants ObjectStreamException ObjectStreamField ObjectView ObjID
|
274
|
+
Observable Observer OceanTheme OpenDataException OpenMBeanAttributeInfo OpenMBeanAttributeInfoSupport
|
275
|
+
OpenMBeanConstructorInfo OpenMBeanConstructorInfoSupport OpenMBeanInfo OpenMBeanInfoSupport
|
276
|
+
OpenMBeanOperationInfo OpenMBeanOperationInfoSupport OpenMBeanParameterInfo
|
277
|
+
OpenMBeanParameterInfoSupport OpenType OperatingSystemMXBean Operation OperationNotSupportedException
|
278
|
+
OperationsException Option OptionalDataException OptionPaneUI OrientationRequested OutOfMemoryError
|
279
|
+
OutputDeviceAssigned OutputKeys OutputStream OutputStreamWriter OverlappingFileLockException
|
280
|
+
OverlayLayout Override Owner Pack200 Package PackedColorModel Pageable PageAttributes
|
281
|
+
PagedResultsControl PagedResultsResponseControl PageFormat PageRanges PagesPerMinute PagesPerMinuteColor
|
282
|
+
Paint PaintContext PaintEvent Panel PanelUI Paper ParagraphView ParameterBlock ParameterDescriptor
|
283
|
+
ParameterizedType ParameterMetaData ParseException ParsePosition Parser ParserConfigurationException
|
284
|
+
ParserDelegator PartialResultException PasswordAuthentication PasswordCallback PasswordView Patch
|
285
|
+
PathIterator Pattern PatternSyntaxException PBEKey PBEKeySpec PBEParameterSpec PDLOverrideSupported
|
286
|
+
Permission PermissionCollection Permissions PersistenceDelegate PersistentMBean PhantomReference Pipe
|
287
|
+
PipedInputStream PipedOutputStream PipedReader PipedWriter PixelGrabber PixelInterleavedSampleModel
|
288
|
+
PKCS8EncodedKeySpec PKIXBuilderParameters PKIXCertPathBuilderResult PKIXCertPathChecker
|
289
|
+
PKIXCertPathValidatorResult PKIXParameters PlainDocument PlainView Point Point2D PointerInfo Policy
|
290
|
+
PolicyNode PolicyQualifierInfo Polygon PooledConnection Popup PopupFactory PopupMenu PopupMenuEvent
|
291
|
+
PopupMenuListener PopupMenuUI Port PortableRemoteObject PortableRemoteObjectDelegate
|
292
|
+
PortUnreachableException Position Predicate PreferenceChangeEvent PreferenceChangeListener Preferences
|
293
|
+
PreferencesFactory PreparedStatement PresentationDirection Principal Printable PrinterAbortException
|
294
|
+
PrinterException PrinterGraphics PrinterInfo PrinterIOException PrinterIsAcceptingJobs PrinterJob
|
295
|
+
PrinterLocation PrinterMakeAndModel PrinterMessageFromOperator PrinterMoreInfo
|
296
|
+
PrinterMoreInfoManufacturer PrinterName PrinterResolution PrinterState PrinterStateReason
|
297
|
+
PrinterStateReasons PrinterURI PrintEvent PrintException PrintGraphics PrintJob PrintJobAdapter
|
298
|
+
PrintJobAttribute PrintJobAttributeEvent PrintJobAttributeListener PrintJobAttributeSet PrintJobEvent
|
299
|
+
PrintJobListener PrintQuality PrintRequestAttribute PrintRequestAttributeSet PrintService
|
300
|
+
PrintServiceAttribute PrintServiceAttributeEvent PrintServiceAttributeListener PrintServiceAttributeSet
|
301
|
+
PrintServiceLookup PrintStream PrintWriter PriorityBlockingQueue PriorityQueue PrivateClassLoader
|
302
|
+
PrivateCredentialPermission PrivateKey PrivateMLet PrivilegedAction PrivilegedActionException
|
303
|
+
PrivilegedExceptionAction Process ProcessBuilder ProfileDataException ProgressBarUI ProgressMonitor
|
304
|
+
ProgressMonitorInputStream Properties PropertyChangeEvent PropertyChangeListener
|
305
|
+
PropertyChangeListenerProxy PropertyChangeSupport PropertyDescriptor PropertyEditor
|
306
|
+
PropertyEditorManager PropertyEditorSupport PropertyPermission PropertyResourceBundle
|
307
|
+
PropertyVetoException ProtectionDomain ProtocolException Provider ProviderException Proxy ProxySelector
|
308
|
+
PSource PSSParameterSpec PublicKey PushbackInputStream PushbackReader QName QuadCurve2D Query QueryEval
|
309
|
+
QueryExp Queue QueuedJobCount Random RandomAccess RandomAccessFile Raster RasterFormatException RasterOp
|
310
|
+
RC2ParameterSpec RC5ParameterSpec Rdn Readable ReadableByteChannel Reader ReadOnlyBufferException
|
311
|
+
ReadWriteLock RealmCallback RealmChoiceCallback Receiver Rectangle Rectangle2D RectangularShape
|
312
|
+
ReentrantLock ReentrantReadWriteLock Ref RefAddr Reference Referenceable ReferenceQueue
|
313
|
+
ReferenceUriSchemesSupported ReferralException ReflectionException ReflectPermission Refreshable
|
314
|
+
RefreshFailedException Region RegisterableService Registry RegistryHandler RejectedExecutionException
|
315
|
+
RejectedExecutionHandler Relation RelationException RelationNotFoundException RelationNotification
|
316
|
+
RelationService RelationServiceMBean RelationServiceNotRegisteredException RelationSupport
|
317
|
+
RelationSupportMBean RelationType RelationTypeNotFoundException RelationTypeSupport Remote RemoteCall
|
318
|
+
RemoteException RemoteObject RemoteObjectInvocationHandler RemoteRef RemoteServer RemoteStub
|
319
|
+
RenderableImage RenderableImageOp RenderableImageProducer RenderContext RenderedImage
|
320
|
+
RenderedImageFactory Renderer RenderingHints RepaintManager ReplicateScaleFilter RequestingUserName
|
321
|
+
RequiredModelMBean RescaleOp ResolutionSyntax Resolver ResolveResult ResourceBundle ResponseCache Result
|
322
|
+
ResultSet ResultSetMetaData Retention RetentionPolicy ReverbType RGBImageFilter RMIClassLoader
|
323
|
+
RMIClassLoaderSpi RMIClientSocketFactory RMIConnection RMIConnectionImpl RMIConnectionImpl_Stub
|
324
|
+
RMIConnector RMIConnectorServer RMIFailureHandler RMIIIOPServerImpl RMIJRMPServerImpl
|
325
|
+
RMISecurityException RMISecurityManager RMIServer RMIServerImpl RMIServerImpl_Stub
|
326
|
+
RMIServerSocketFactory RMISocketFactory Robot Role RoleInfo RoleInfoNotFoundException RoleList
|
327
|
+
RoleNotFoundException RoleResult RoleStatus RoleUnresolved RoleUnresolvedList RootPaneContainer
|
328
|
+
RootPaneUI RoundingMode RoundRectangle2D RowMapper RowSet RowSetEvent RowSetInternal RowSetListener
|
329
|
+
RowSetMetaData RowSetMetaDataImpl RowSetReader RowSetWarning RowSetWriter RSAKey RSAKeyGenParameterSpec
|
330
|
+
RSAMultiPrimePrivateCrtKey RSAMultiPrimePrivateCrtKeySpec RSAOtherPrimeInfo RSAPrivateCrtKey
|
331
|
+
RSAPrivateCrtKeySpec RSAPrivateKey RSAPrivateKeySpec RSAPublicKey RSAPublicKeySpec RTFEditorKit
|
332
|
+
RuleBasedCollator Runnable Runtime RuntimeErrorException RuntimeException RuntimeMBeanException
|
333
|
+
RuntimeMXBean RuntimeOperationsException RuntimePermission SampleModel Sasl SaslClient SaslClientFactory
|
334
|
+
SaslException SaslServer SaslServerFactory Savepoint SAXParser SAXParserFactory SAXResult SAXSource
|
335
|
+
SAXTransformerFactory Scanner ScatteringByteChannel ScheduledExecutorService ScheduledFuture
|
336
|
+
ScheduledThreadPoolExecutor Schema SchemaFactory SchemaFactoryLoader SchemaViolationException Scrollable
|
337
|
+
Scrollbar ScrollBarUI ScrollPane ScrollPaneAdjustable ScrollPaneConstants ScrollPaneLayout ScrollPaneUI
|
338
|
+
SealedObject SearchControls SearchResult SecretKey SecretKeyFactory SecretKeyFactorySpi SecretKeySpec
|
339
|
+
SecureCacheResponse SecureClassLoader SecureRandom SecureRandomSpi Security SecurityException
|
340
|
+
SecurityManager SecurityPermission Segment SelectableChannel SelectionKey Selector SelectorProvider
|
341
|
+
Semaphore SeparatorUI Sequence SequenceInputStream Sequencer SerialArray SerialBlob SerialClob
|
342
|
+
SerialDatalink SerialException Serializable SerializablePermission SerialJavaObject SerialRef
|
343
|
+
SerialStruct ServerCloneException ServerError ServerException ServerNotActiveException ServerRef
|
344
|
+
ServerRuntimeException ServerSocket ServerSocketChannel ServerSocketFactory ServiceNotFoundException
|
345
|
+
ServicePermission ServiceRegistry ServiceUI ServiceUIFactory ServiceUnavailableException Set
|
346
|
+
SetOfIntegerSyntax Severity Shape ShapeGraphicAttribute SheetCollate Short ShortBuffer
|
347
|
+
ShortBufferException ShortLookupTable ShortMessage Sides Signature SignatureException SignatureSpi
|
348
|
+
SignedObject Signer SimpleAttributeSet SimpleBeanInfo SimpleDateFormat SimpleDoc SimpleFormatter
|
349
|
+
SimpleTimeZone SimpleType SinglePixelPackedSampleModel SingleSelectionModel Size2DSyntax
|
350
|
+
SizeLimitExceededException SizeRequirements SizeSequence Skeleton SkeletonMismatchException
|
351
|
+
SkeletonNotFoundException SliderUI Socket SocketAddress SocketChannel SocketException SocketFactory
|
352
|
+
SocketHandler SocketImpl SocketImplFactory SocketOptions SocketPermission SocketSecurityException
|
353
|
+
SocketTimeoutException SoftBevelBorder SoftReference SortControl SortedMap SortedSet
|
354
|
+
SortingFocusTraversalPolicy SortKey SortResponseControl Soundbank SoundbankReader SoundbankResource
|
355
|
+
Source SourceDataLine SourceLocator SpinnerDateModel SpinnerListModel SpinnerModel SpinnerNumberModel
|
356
|
+
SpinnerUI SplitPaneUI Spring SpringLayout SQLData SQLException SQLInput SQLInputImpl SQLOutput
|
357
|
+
SQLOutputImpl SQLPermission SQLWarning SSLContext SSLContextSpi SSLEngine SSLEngineResult SSLException
|
358
|
+
SSLHandshakeException SSLKeyException SSLPeerUnverifiedException SSLPermission SSLProtocolException
|
359
|
+
SslRMIClientSocketFactory SslRMIServerSocketFactory SSLServerSocket SSLServerSocketFactory SSLSession
|
360
|
+
SSLSessionBindingEvent SSLSessionBindingListener SSLSessionContext SSLSocket SSLSocketFactory Stack
|
361
|
+
StackOverflowError StackTraceElement StandardMBean StartTlsRequest StartTlsResponse StateEdit
|
362
|
+
StateEditable StateFactory Statement StreamCorruptedException StreamHandler StreamPrintService
|
363
|
+
StreamPrintServiceFactory StreamResult StreamSource StreamTokenizer StrictMath String StringBuffer
|
364
|
+
StringBufferInputStream StringBuilder StringCharacterIterator StringContent
|
365
|
+
StringIndexOutOfBoundsException StringMonitor StringMonitorMBean StringReader StringRefAddr
|
366
|
+
StringSelection StringTokenizer StringValueExp StringWriter Stroke Struct Stub StubDelegate
|
367
|
+
StubNotFoundException Style StyleConstants StyleContext StyledDocument StyledEditorKit StyleSheet
|
368
|
+
Subject SubjectDelegationPermission SubjectDomainCombiner SupportedValuesAttribute SuppressWarnings
|
369
|
+
SwingConstants SwingPropertyChangeSupport SwingUtilities SyncFactory SyncFactoryException
|
370
|
+
SyncFailedException SynchronousQueue SyncProvider SyncProviderException SyncResolver SynthConstants
|
371
|
+
SynthContext Synthesizer SynthGraphicsUtils SynthLookAndFeel SynthPainter SynthStyle SynthStyleFactory
|
372
|
+
SysexMessage System SystemColor SystemFlavorMap TabableView TabbedPaneUI TabExpander TableCellEditor
|
373
|
+
TableCellRenderer TableColumn TableColumnModel TableColumnModelEvent TableColumnModelListener
|
374
|
+
TableHeaderUI TableModel TableModelEvent TableModelListener TableUI TableView TabSet TabStop TabularData
|
375
|
+
TabularDataSupport TabularType TagElement Target TargetDataLine TargetedNotification Templates
|
376
|
+
TemplatesHandler TextAction TextArea TextAttribute TextComponent TextEvent TextField TextHitInfo
|
377
|
+
TextInputCallback TextLayout TextListener TextMeasurer TextOutputCallback TextSyntax TextUI TexturePaint
|
378
|
+
Thread ThreadDeath ThreadFactory ThreadGroup ThreadInfo ThreadLocal ThreadMXBean ThreadPoolExecutor
|
379
|
+
Throwable Tie TileObserver Time TimeLimitExceededException TimeoutException Timer
|
380
|
+
TimerAlarmClockNotification TimerMBean TimerNotification TimerTask Timestamp TimeUnit TimeZone
|
381
|
+
TitledBorder ToolBarUI Toolkit ToolTipManager ToolTipUI TooManyListenersException Track
|
382
|
+
TransactionalWriter TransactionRequiredException TransactionRolledbackException Transferable
|
383
|
+
TransferHandler TransformAttribute Transformer TransformerConfigurationException TransformerException
|
384
|
+
TransformerFactory TransformerFactoryConfigurationError TransformerHandler Transmitter Transparency
|
385
|
+
TreeCellEditor TreeCellRenderer TreeExpansionEvent TreeExpansionListener TreeMap TreeModel
|
386
|
+
TreeModelEvent TreeModelListener TreeNode TreePath TreeSelectionEvent TreeSelectionListener
|
387
|
+
TreeSelectionModel TreeSet TreeUI TreeWillExpandListener TrustAnchor TrustManager TrustManagerFactory
|
388
|
+
TrustManagerFactorySpi Type TypeInfoProvider TypeNotPresentException Types TypeVariable UID UIDefaults
|
389
|
+
UIManager UIResource UndeclaredThrowableException UndoableEdit UndoableEditEvent UndoableEditListener
|
390
|
+
UndoableEditSupport UndoManager UnexpectedException UnicastRemoteObject UnknownError
|
391
|
+
UnknownFormatConversionException UnknownFormatFlagsException UnknownGroupException UnknownHostException
|
392
|
+
UnknownObjectException UnknownServiceException UnmappableCharacterException UnmarshalException
|
393
|
+
UnmodifiableClassException UnmodifiableSetException UnrecoverableEntryException
|
394
|
+
UnrecoverableKeyException Unreferenced UnresolvedAddressException UnresolvedPermission
|
395
|
+
UnsatisfiedLinkError UnsolicitedNotification UnsolicitedNotificationEvent
|
396
|
+
UnsolicitedNotificationListener UnsupportedAddressTypeException UnsupportedAudioFileException
|
397
|
+
UnsupportedCallbackException UnsupportedCharsetException UnsupportedClassVersionError
|
398
|
+
UnsupportedEncodingException UnsupportedFlavorException UnsupportedLookAndFeelException
|
399
|
+
UnsupportedOperationException URI URIException URIResolver URISyntax URISyntaxException URL
|
400
|
+
URLClassLoader URLConnection URLDecoder URLEncoder URLStreamHandler URLStreamHandlerFactory
|
401
|
+
UTFDataFormatException Util UtilDelegate Utilities UUID Validator ValidatorHandler ValueExp ValueHandler
|
402
|
+
ValueHandlerMultiFormat VariableHeightLayoutCache Vector VerifyError VetoableChangeListener
|
403
|
+
VetoableChangeListenerProxy VetoableChangeSupport View ViewFactory ViewportLayout ViewportUI
|
404
|
+
VirtualMachineError Visibility VMID VoiceStatus Void VolatileImage WeakHashMap WeakReference WebRowSet
|
405
|
+
WildcardType Window WindowAdapter WindowConstants WindowEvent WindowFocusListener WindowListener
|
406
|
+
WindowStateListener WrappedPlainView WritableByteChannel WritableRaster WritableRenderedImage
|
407
|
+
WriteAbortedException Writer X500Principal X500PrivateCredential X509Certificate X509CertSelector
|
408
|
+
X509CRL X509CRLEntry X509CRLSelector X509EncodedKeySpec X509ExtendedKeyManager X509Extension
|
409
|
+
X509KeyManager X509TrustManager XAConnection XADataSource XAException XAResource Xid XMLConstants
|
410
|
+
XMLDecoder XMLEncoder XMLFormatter XMLGregorianCalendar XMLParseException XmlReader XmlWriter XPath
|
411
|
+
XPathConstants XPathException XPathExpression XPathExpressionException XPathFactory
|
412
|
+
XPathFactoryConfigurationException XPathFunction XPathFunctionException XPathFunctionResolver
|
413
|
+
XPathVariableResolver ZipEntry ZipException ZipFile ZipInputStream ZipOutputStream ZoneView
|
414
|
+
]
|
415
|
+
|
416
|
+
end
|
417
|
+
|
418
|
+
end
|
419
|
+
end
|
@@ -0,0 +1,187 @@
|
|
1
|
+
module CodeRay
|
2
|
+
module Scanners
|
3
|
+
|
4
|
+
class JavaScript < Scanner
|
5
|
+
|
6
|
+
include Streamable
|
7
|
+
|
8
|
+
register_for :java_script
|
9
|
+
file_extension 'js'
|
10
|
+
|
11
|
+
# The actual JavaScript keywords.
|
12
|
+
KEYWORDS = %w[
|
13
|
+
break case catch continue default delete do else
|
14
|
+
false finally for function if in instanceof new null
|
15
|
+
return switch throw true try typeof var void while with
|
16
|
+
]
|
17
|
+
|
18
|
+
MAGIC_VARIABLES = %w[ this arguments ] # arguments was introduced in JavaScript 1.4
|
19
|
+
|
20
|
+
KEYWORDS_EXPECTING_VALUE = WordList.new.add %w[
|
21
|
+
case delete in instanceof new return throw typeof while with
|
22
|
+
]
|
23
|
+
|
24
|
+
# Reserved for future use.
|
25
|
+
RESERVED_WORDS = %w[
|
26
|
+
abstract boolean byte char class debugger double enum export extends
|
27
|
+
final float goto implements import int interface long native package
|
28
|
+
private protected public short static super synchronized throws transient
|
29
|
+
volatile
|
30
|
+
]
|
31
|
+
|
32
|
+
IDENT_KIND = WordList.new(:ident).
|
33
|
+
add(RESERVED_WORDS, :reserved).
|
34
|
+
add(MAGIC_VARIABLES, :local_variable).
|
35
|
+
add(KEYWORDS, :keyword)
|
36
|
+
|
37
|
+
ESCAPE = / [bfnrtv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x
|
38
|
+
UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x
|
39
|
+
REGEXP_ESCAPE = / [bBdDsSwW] /x
|
40
|
+
STRING_CONTENT_PATTERN = {
|
41
|
+
"'" => /[^\\']+/,
|
42
|
+
'"' => /[^\\"]+/,
|
43
|
+
'/' => /[^\\\/]+/,
|
44
|
+
}
|
45
|
+
|
46
|
+
def scan_tokens tokens, options
|
47
|
+
|
48
|
+
state = :initial
|
49
|
+
string_delimiter = nil
|
50
|
+
value_expected = true
|
51
|
+
key_expected = false
|
52
|
+
|
53
|
+
until eos?
|
54
|
+
|
55
|
+
kind = nil
|
56
|
+
match = nil
|
57
|
+
|
58
|
+
case state
|
59
|
+
|
60
|
+
when :initial
|
61
|
+
|
62
|
+
if match = scan(/ \s+ | \\\n /x)
|
63
|
+
value_expected = true if !value_expected && match.index(?\n)
|
64
|
+
tokens << [match, :space]
|
65
|
+
next
|
66
|
+
|
67
|
+
elsif scan(%r! // [^\n\\]* (?: \\. [^\n\\]* )* | /\* (?: .*? \*/ | .* ) !mx)
|
68
|
+
value_expected = true
|
69
|
+
kind = :comment
|
70
|
+
|
71
|
+
elsif check(/\d/)
|
72
|
+
key_expected = value_expected = false
|
73
|
+
if scan(/0[xX][0-9A-Fa-f]+/)
|
74
|
+
kind = :hex
|
75
|
+
elsif scan(/(?>0[0-7]+)(?![89.eEfF])/)
|
76
|
+
kind = :oct
|
77
|
+
elsif scan(/\d+[fF]|\d*\.\d+(?:[eE][+-]?\d+)?[fF]?|\d+[eE][+-]?\d+[fF]?/)
|
78
|
+
kind = :float
|
79
|
+
elsif scan(/\d+/)
|
80
|
+
kind = :integer
|
81
|
+
end
|
82
|
+
|
83
|
+
elsif match = scan(/ [-+*=<>?:;,!&^|(\[{~%]+ | \.(?!\d) /x)
|
84
|
+
value_expected = true
|
85
|
+
last_operator = match[-1]
|
86
|
+
key_expected = (last_operator == ?{) || (last_operator == ?,)
|
87
|
+
kind = :operator
|
88
|
+
|
89
|
+
elsif scan(/ [)\]}]+ /x)
|
90
|
+
key_expected = value_expected = false
|
91
|
+
kind = :operator
|
92
|
+
|
93
|
+
elsif match = scan(/ [$a-zA-Z_][A-Za-z_0-9$]* /x)
|
94
|
+
kind = IDENT_KIND[match]
|
95
|
+
value_expected = (kind == :keyword) && KEYWORDS_EXPECTING_VALUE[match]
|
96
|
+
if kind == :ident
|
97
|
+
if match.index(?$)
|
98
|
+
kind = :predefined
|
99
|
+
elsif key_expected && check(/\s*:/)
|
100
|
+
kind = :key
|
101
|
+
end
|
102
|
+
end
|
103
|
+
key_expected = false
|
104
|
+
|
105
|
+
elsif match = scan(/["']/)
|
106
|
+
tokens << [:open, :string]
|
107
|
+
state = :string
|
108
|
+
string_delimiter = match
|
109
|
+
kind = :delimiter
|
110
|
+
|
111
|
+
elsif value_expected && (match = scan(/\/(?=\S)/))
|
112
|
+
tokens << [:open, :regexp]
|
113
|
+
state = :regexp
|
114
|
+
string_delimiter = '/'
|
115
|
+
kind = :delimiter
|
116
|
+
|
117
|
+
elsif scan(/ \/ /x)
|
118
|
+
value_expected = true
|
119
|
+
key_expected = false
|
120
|
+
kind = :operator
|
121
|
+
|
122
|
+
else
|
123
|
+
getch
|
124
|
+
kind = :error
|
125
|
+
|
126
|
+
end
|
127
|
+
|
128
|
+
when :string, :regexp
|
129
|
+
if scan(STRING_CONTENT_PATTERN[string_delimiter])
|
130
|
+
kind = :content
|
131
|
+
elsif match = scan(/["'\/]/)
|
132
|
+
tokens << [match, :delimiter]
|
133
|
+
if state == :regexp
|
134
|
+
modifiers = scan(/[gim]+/)
|
135
|
+
tokens << [modifiers, :modifier] if modifiers && !modifiers.empty?
|
136
|
+
end
|
137
|
+
tokens << [:close, state]
|
138
|
+
string_delimiter = nil
|
139
|
+
key_expected = value_expected = false
|
140
|
+
state = :initial
|
141
|
+
next
|
142
|
+
elsif state == :string && (match = scan(/ \\ (?: #{ESCAPE} | #{UNICODE_ESCAPE} ) /mox))
|
143
|
+
if string_delimiter == "'" && !(match == "\\\\" || match == "\\'")
|
144
|
+
kind = :content
|
145
|
+
else
|
146
|
+
kind = :char
|
147
|
+
end
|
148
|
+
elsif state == :regexp && scan(/ \\ (?: #{ESCAPE} | #{REGEXP_ESCAPE} | #{UNICODE_ESCAPE} ) /mox)
|
149
|
+
kind = :char
|
150
|
+
elsif scan(/\\./m)
|
151
|
+
kind = :content
|
152
|
+
elsif scan(/ \\ | $ /x)
|
153
|
+
tokens << [:close, :delimiter]
|
154
|
+
kind = :error
|
155
|
+
key_expected = value_expected = false
|
156
|
+
state = :initial
|
157
|
+
else
|
158
|
+
raise_inspect "else case \" reached; %p not handled." % peek(1), tokens
|
159
|
+
end
|
160
|
+
|
161
|
+
else
|
162
|
+
raise_inspect 'Unknown state', tokens
|
163
|
+
|
164
|
+
end
|
165
|
+
|
166
|
+
match ||= matched
|
167
|
+
if $DEBUG and not kind
|
168
|
+
raise_inspect 'Error token %p in line %d' %
|
169
|
+
[[match, kind], line], tokens
|
170
|
+
end
|
171
|
+
raise_inspect 'Empty token', tokens unless match
|
172
|
+
|
173
|
+
tokens << [match, kind]
|
174
|
+
|
175
|
+
end
|
176
|
+
|
177
|
+
if [:string, :regexp].include? state
|
178
|
+
tokens << [:close, state]
|
179
|
+
end
|
180
|
+
|
181
|
+
tokens
|
182
|
+
end
|
183
|
+
|
184
|
+
end
|
185
|
+
|
186
|
+
end
|
187
|
+
end
|