1 # Copyright (c) 2005 - 2006 Hans Jeuken. All rights reserved.
2 # This program is free software; you can redistribute it and/or
3 # modify it under the same terms as Perl itself.
5 # This file was generated from the 'jsp.xml' file of the syntax highlight
6 # engine of the kate text editor (http://www.kate-editor.org
10 #kate author Rob Martin (rob@gamepimp.com)
11 #generated: Sun Feb 3 22:02:05 2008, localtime
13 package Syntax::Highlight::Engine::Kate::JSP;
15 our $VERSION = '0.06';
19 use base('Syntax::Highlight::Engine::Kate::Template');
23 my $class = ref($proto) || $proto;
24 my $self = $class->SUPER::new(@_);
27 'Comment' => 'Comment',
28 'Decimal' => 'DecVal',
31 'Html Comment' => 'Comment',
32 'Identifier' => 'Others',
33 'Java 1.4.2 Classes' => 'Normal',
34 'Java Comment' => 'Comment',
35 'Jsp Comment' => 'Comment',
36 'Jsp Directive' => 'Normal',
37 'Jsp Expression' => 'Normal',
38 'Jsp Param Name' => 'Others',
39 'Jsp Param Value' => 'String',
40 'Jsp Scriptlet' => 'Normal',
41 'Keyword' => 'Keyword',
42 'Normal Text' => 'Normal',
45 'String Char' => 'Char',
47 'Types' => 'DataType',
49 $self->listAdd('java-1.4.2-classes',
56 'AWTEventListenerProxy',
57 'AWTEventMulticaster',
66 'AbstractColorChooserPanel',
69 'AbstractFormatterFactory',
70 'AbstractInterruptibleChannel',
71 'AbstractLayoutCache',
75 'AbstractMethodError',
76 'AbstractPreferences',
77 'AbstractSelectableChannel',
78 'AbstractSelectionKey',
80 'AbstractSequentialList',
82 'AbstractSpinnerModel',
84 'AbstractUndoableEdit',
86 'AccessControlContext',
87 'AccessControlException',
93 'AccessibleComponent',
95 'AccessibleEditableText',
96 'AccessibleExtendedComponent',
97 'AccessibleExtendedTable',
98 'AccessibleHyperlink',
99 'AccessibleHypertext',
101 'AccessibleKeyBinding',
103 'AccessibleRelation',
104 'AccessibleRelationSet',
105 'AccessibleResourceBundle',
107 'AccessibleSelection',
109 'AccessibleStateSet',
111 'AccessibleTableModelChange',
114 'AccountExpiredException',
117 'AclNotFoundException',
122 'ActionMapUIResource',
124 'ActivateFailedException',
126 'ActivationException',
128 'ActivationGroupDesc',
130 'ActivationGroup_Stub',
132 'ActivationInstantiator',
139 'AdapterActivatorOperations',
140 'AdapterAlreadyExists',
141 'AdapterAlreadyExistsHelper',
143 'AdapterInactiveHelper',
144 'AdapterNonExistent',
145 'AdapterNonExistentHelper',
149 'AdjustmentListener',
153 'AlgorithmParameterGenerator',
154 'AlgorithmParameterGeneratorSpi',
155 'AlgorithmParameterSpec',
156 'AlgorithmParameters',
157 'AlgorithmParametersSpi',
162 'AlreadyBoundException',
163 'AlreadyBoundHelper',
164 'AlreadyBoundHolder',
165 'AlreadyConnectedException',
174 'AppConfigurationEntry',
179 'ApplicationException',
182 'AreaAveragingScaleFilter',
183 'ArithmeticException',
186 'ArrayIndexOutOfBoundsException',
188 'ArrayStoreException',
192 'AsynchronousCloseException',
200 'AttributeException',
201 'AttributeInUseException',
205 'AttributeModificationException',
208 'AttributeSetUtilities',
209 'AttributeUndoableEdit',
210 'AttributedCharacterIterator',
225 'AuthenticationException',
226 'AuthenticationNotSupportedException',
238 'BCSSServiceProvider',
240 'BackingStoreException',
242 'BadLocationException',
243 'BadPaddingException',
250 'BasicButtonListener',
253 'BasicCheckBoxMenuItemUI',
255 'BasicColorChooserUI',
256 'BasicComboBoxEditor',
257 'BasicComboBoxRenderer',
260 'BasicDesktopIconUI',
261 'BasicDesktopPaneUI',
262 'BasicDirectoryModel',
264 'BasicFileChooserUI',
265 'BasicFormattedTextFieldUI',
266 'BasicGraphicsUtils',
270 'BasicInternalFrameTitlePane',
271 'BasicInternalFrameUI',
280 'BasicPasswordFieldUI',
282 'BasicPopupMenuSeparatorUI',
284 'BasicProgressBarUI',
285 'BasicRadioButtonMenuItemUI',
286 'BasicRadioButtonUI',
293 'BasicSplitPaneDivider',
297 'BasicTableHeaderUI',
303 'BasicToggleButtonUI',
304 'BasicToolBarSeparatorUI',
309 'BatchUpdateException',
312 'BeanContextChildComponentProxy',
313 'BeanContextChildSupport',
314 'BeanContextContainerProxy',
316 'BeanContextMembershipEvent',
317 'BeanContextMembershipListener',
319 'BeanContextServiceAvailableEvent',
320 'BeanContextServiceProvider',
321 'BeanContextServiceProviderBeanInfo',
322 'BeanContextServiceRevokedEvent',
323 'BeanContextServiceRevokedListener',
324 'BeanContextServices',
325 'BeanContextServicesListener',
326 'BeanContextServicesSupport',
327 'BeanContextSupport',
333 'BevelBorderUIResource',
345 'BindingIteratorHelper',
346 'BindingIteratorHolder',
347 'BindingIteratorOperations',
348 'BindingIteratorPOA',
378 'BufferCapabilities',
379 'BufferOverflowException',
381 'BufferUnderflowException',
383 'BufferedImageFilter',
385 'BufferedInputStream',
386 'BufferedOutputStream',
397 'ByteArrayInputStream',
398 'ByteArrayOutputStream',
413 'CTX_RESTRICT_SCOPE',
418 'CancelablePrintJob',
419 'CancelledKeyException',
421 'CannotProceedException',
422 'CannotProceedHelper',
423 'CannotProceedHolder',
424 'CannotRedoException',
425 'CannotUndoException',
433 'CellEditorListener',
437 'CertPathBuilderException',
438 'CertPathBuilderResult',
439 'CertPathBuilderSpi',
440 'CertPathParameters',
443 'CertPathValidatorException',
444 'CertPathValidatorResult',
445 'CertPathValidatorSpi',
448 'CertStoreException',
449 'CertStoreParameters',
454 'CertificateEncodingException',
455 'CertificateEncodingException',
456 'CertificateException',
457 'CertificateException',
458 'CertificateExpiredException',
459 'CertificateExpiredException',
460 'CertificateFactory',
461 'CertificateFactorySpi',
462 'CertificateNotYetValidException',
463 'CertificateNotYetValidException',
464 'CertificateParsingException',
465 'CertificateParsingException',
469 'ChangedCharSetException',
476 'CharConversionException',
482 'CharacterAttribute',
483 'CharacterCodingException',
484 'CharacterConstants',
494 'CheckedInputStream',
495 'CheckedOutputStream',
503 'CipherOutputStream',
506 'ClassCastException',
507 'ClassCircularityError',
511 'ClassNotFoundException',
513 'ClientRequestInfoOperations',
514 'ClientRequestInterceptor',
515 'ClientRequestInterceptorOperations',
520 'CloneNotSupportedException',
522 'ClosedByInterruptException',
523 'ClosedChannelException',
524 'ClosedSelectorException',
529 'CodecFactoryHelper',
530 'CodecFactoryOperations',
532 'CoderMalfunctionError',
535 'CollationElementIterator',
539 'CollectionCertStoreParameters',
543 'ColorChooserComponentFactory',
548 'ColorSelectionModel',
557 'CommandEnvironment',
559 'CommunicationException',
564 'CompletionStatusHelper',
567 'ComponentColorModel',
571 'ComponentInputMapUIResource',
573 'ComponentOrientation',
574 'ComponentSampleModel',
582 'CompoundBorderUIResource',
587 'ConcurrentModificationException',
589 'ConfigurationException',
590 'ConfirmationCallback',
593 'ConnectIOException',
596 'ConnectionEventListener',
597 'ConnectionPendingException',
598 'ConnectionPoolDataSource',
606 'ContainerOrderFocusTraversalPolicy',
610 'ContentHandlerFactory',
615 'ContextNotEmptyException',
616 'ContextualRenderedImageFactory',
620 'ControllerEventListener',
626 'CredentialExpiredException',
649 'DHGenParameterSpec',
662 'DSAKeyPairGenerator',
680 'DataFormatException',
694 'DatagramSocketImpl',
695 'DatagramSocketImplFactory',
702 'DateTimeAtCompleted',
703 'DateTimeAtCreation',
704 'DateTimeAtProcessing',
708 'DecimalFormatSymbols',
710 'DefaultBoundedRangeModel',
711 'DefaultButtonModel',
714 'DefaultColorSelectionModel',
715 'DefaultComboBoxModel',
716 'DefaultDesktopManager',
719 'DefaultFocusManager',
720 'DefaultFocusTraversalPolicy',
722 'DefaultFormatterFactory',
724 'DefaultHighlightPainter',
725 'DefaultHighlighter',
726 'DefaultKeyTypedAction',
727 'DefaultKeyboardFocusManager',
728 'DefaultListCellRenderer',
730 'DefaultListSelectionModel',
733 'DefaultMutableTreeNode',
734 'DefaultPersistenceDelegate',
735 'DefaultSelectionType',
736 'DefaultSingleSelectionModel',
737 'DefaultStyledDocument',
738 'DefaultTableCellRenderer',
739 'DefaultTableColumnModel',
742 'DefaultTreeCellEditor',
743 'DefaultTreeCellRenderer',
745 'DefaultTreeSelectionModel',
747 'DefinitionKindHelper',
749 'DeflaterOutputStream',
753 'DelegationPermission',
760 'DestroyFailedException',
767 'DigestOutputStream',
770 'DimensionUIResource',
786 'DocumentBuilderFactory',
797 'DomainManagerOperations',
812 'DragGestureListener',
813 'DragGestureRecognizer',
817 'DragSourceDragEvent',
818 'DragSourceDropEvent',
820 'DragSourceListener',
821 'DragSourceMotionListener',
824 'DriverPropertyInfo',
827 'DropTargetAutoScroller',
829 'DropTargetDragEvent',
830 'DropTargetDropEvent',
832 'DropTargetListener',
834 'DuplicateNameHelper',
838 'DynAnyFactoryHelper',
839 'DynAnyFactoryOperations',
846 'DynArrayOperations',
854 'DynFixedOperations',
858 'DynSequenceOperations',
862 'DynStructOperations',
866 'DynUnionOperations',
870 'DynValueBoxOperations',
872 'DynValueCommonOperations',
874 'DynValueOperations',
875 'DynamicImplementation',
876 'DynamicImplementation',
877 'DynamicUtilTreeNode',
878 'ENCODING_CDR_ENCAPS',
890 'EmptyBorderUIResource',
891 'EmptySelectionModel',
892 'EmptyStackException',
897 'EncryptedPrivateKeyInfo',
913 'EtchedBorderUIResource',
920 'EventListenerProxy',
923 'EventSetDescriptor',
927 'ExceptionInInitializerError',
930 'ExemptionMechanism',
931 'ExemptionMechanismException',
932 'ExemptionMechanismSpi',
933 'ExpandVetoException',
940 'FactoryConfigurationError',
941 'FailedLoginException',
955 'FileCacheImageInputStream',
956 'FileCacheImageOutputStream',
965 'FileImageInputStream',
966 'FileImageOutputStream',
969 'FileLockInterruptionException',
971 'FileNotFoundException',
985 'FilterOutputStream',
988 'FilteredImageSource',
990 'FixedHeightLayoutCache',
992 'FlatteningPathIterator',
1019 'FocusTraversalPolicy',
1025 'FontFormatException',
1027 'FontRenderContext',
1033 'FormatConversionProvider',
1035 'FormatMismatchHelper',
1039 'ForwardRequestHelper',
1040 'ForwardRequestHelper',
1050 'GatheringByteChannel',
1052 'GeneralSecurityException',
1054 'GlyphJustificationInfo',
1063 'GraphicsConfigTemplate',
1064 'GraphicsConfiguration',
1066 'GraphicsEnvironment',
1068 'GregorianCalendar',
1069 'GridBagConstraints',
1080 'HTMLFrameHyperlinkEvent',
1084 'HandshakeCompletedEvent',
1085 'HandshakeCompletedListener',
1088 'HashDocAttributeSet',
1090 'HashPrintJobAttributeSet',
1091 'HashPrintRequestAttributeSet',
1092 'HashPrintServiceAttributeSet',
1095 'HeadlessException',
1096 'HierarchyBoundsAdapter',
1097 'HierarchyBoundsListener',
1099 'HierarchyListener',
1104 'HttpURLConnection',
1105 'HttpsURLConnection',
1107 'HyperlinkListener',
1115 'IDLTypeOperations',
1116 'ID_ASSIGNMENT_POLICY_ID',
1117 'ID_UNIQUENESS_POLICY_ID',
1121 'IIOInvalidTreeException',
1123 'IIOMetadataController',
1124 'IIOMetadataFormat',
1125 'IIOMetadataFormatImpl',
1128 'IIOParamController',
1129 'IIOReadProgressListener',
1130 'IIOReadUpdateListener',
1131 'IIOReadWarningListener',
1133 'IIOServiceProvider',
1134 'IIOWriteProgressListener',
1135 'IIOWriteWarningListener',
1136 'IMPLICIT_ACTIVATION_POLICY_ID',
1142 'INVALID_TRANSACTION',
1152 'IORInfoOperations',
1154 'IORInterceptorOperations',
1156 'IRObjectOperations',
1161 'IdAssignmentPolicy',
1162 'IdAssignmentPolicyOperations',
1163 'IdAssignmentPolicyValue',
1164 'IdUniquenessPolicy',
1165 'IdUniquenessPolicyOperations',
1166 'IdUniquenessPolicyValue',
1171 'IllegalAccessError',
1172 'IllegalAccessException',
1173 'IllegalArgumentException',
1174 'IllegalBlockSizeException',
1175 'IllegalBlockingModeException',
1176 'IllegalCharsetNameException',
1177 'IllegalComponentStateException',
1178 'IllegalMonitorStateException',
1179 'IllegalPathStateException',
1180 'IllegalSelectorException',
1181 'IllegalStateException',
1182 'IllegalThreadStateException',
1184 'ImageCapabilities',
1187 'ImageGraphicAttribute',
1191 'ImageInputStreamImpl',
1192 'ImageInputStreamSpi',
1194 'ImageOutputStream',
1195 'ImageOutputStreamImpl',
1196 'ImageOutputStreamSpi',
1201 'ImageReaderWriterSpi',
1203 'ImageTranscoderSpi',
1204 'ImageTypeSpecifier',
1209 'ImagingOpException',
1210 'ImplicitActivationPolicy',
1211 'ImplicitActivationPolicyOperations',
1212 'ImplicitActivationPolicyValue',
1213 'IncompatibleClassChangeError',
1214 'InconsistentTypeCode',
1215 'InconsistentTypeCode',
1216 'InconsistentTypeCodeHelper',
1218 'IndexOutOfBoundsException',
1219 'IndexedPropertyDescriptor',
1220 'IndirectionException',
1224 'InetSocketAddress',
1226 'InflaterInputStream',
1232 'InheritableThreadLocal',
1234 'InitialContextFactory',
1235 'InitialContextFactoryBuilder',
1236 'InitialDirContext',
1237 'InitialLdapContext',
1242 'InputMapUIResource',
1244 'InputMethodContext',
1245 'InputMethodDescriptor',
1247 'InputMethodHighlight',
1248 'InputMethodListener',
1249 'InputMethodRequests',
1254 'InputStreamReader',
1257 'InsertBreakAction',
1258 'InsertContentAction',
1259 'InsertHTMLTextAction',
1263 'InstantiationError',
1264 'InstantiationException',
1266 'InsufficientResourcesException',
1272 'InterceptorOperations',
1274 'InternalFrameAdapter',
1275 'InternalFrameBorder',
1276 'InternalFrameEvent',
1277 'InternalFrameFocusTraversalPolicy',
1278 'InternalFrameListener',
1280 'InternationalFormatter',
1281 'InterruptedException',
1282 'InterruptedIOException',
1283 'InterruptedNamingException',
1284 'InterruptibleChannel',
1285 'IntrospectionException',
1289 'InvalidAddressHelper',
1290 'InvalidAddressHolder',
1291 'InvalidAlgorithmParameterException',
1292 'InvalidAttributeIdentifierException',
1293 'InvalidAttributeValueException',
1294 'InvalidAttributesException',
1295 'InvalidClassException',
1296 'InvalidDnDOperationException',
1297 'InvalidKeyException',
1298 'InvalidKeySpecException',
1299 'InvalidMarkException',
1300 'InvalidMidiDataException',
1304 'InvalidNameException',
1305 'InvalidNameHelper',
1306 'InvalidNameHelper',
1307 'InvalidNameHolder',
1308 'InvalidObjectException',
1309 'InvalidParameterException',
1310 'InvalidParameterSpecException',
1312 'InvalidPolicyHelper',
1313 'InvalidPreferencesFormatException',
1314 'InvalidSearchControlsException',
1315 'InvalidSearchFilterException',
1318 'InvalidSlotHelper',
1319 'InvalidTransactionException',
1320 'InvalidTypeForEncoding',
1321 'InvalidTypeForEncodingHelper',
1324 'InvalidValueHelper',
1326 'InvocationHandler',
1327 'InvocationTargetException',
1340 'JCheckBoxMenuItem',
1349 'JFormattedTextField',
1361 'JPEGImageReadParam',
1362 'JPEGImageWriteParam',
1369 'JRadioButtonMenuItem',
1399 'JobImpressionsCompleted',
1400 'JobImpressionsSupported',
1402 'JobKOctetsProcessed',
1403 'JobKOctetsSupported',
1405 'JobMediaSheetsCompleted',
1406 'JobMediaSheetsSupported',
1407 'JobMessageFromOperator',
1409 'JobOriginatingUserName',
1411 'JobPrioritySupported',
1417 'KerberosPrincipal',
1427 'KeyEventDispatcher',
1428 'KeyEventPostProcessor',
1435 'KeyManagementException',
1437 'KeyManagerFactory',
1438 'KeyManagerFactorySpi',
1441 'KeyPairGeneratorSpi',
1442 'KeySelectionManager',
1445 'KeyStoreException',
1448 'KeyboardFocusManager',
1450 'LDAPCertStoreParameters',
1451 'LIFESPAN_POLICY_ID',
1457 'LastOwnerException',
1459 'LayeredHighlighter',
1460 'LayoutFocusTraversalPolicy',
1467 'LdapReferralException',
1472 'LifespanPolicyOperations',
1473 'LifespanPolicyValue',
1474 'LimitExceededException',
1478 'LineBorderUIResource',
1479 'LineBreakMeasurer',
1483 'LineNumberInputStream',
1485 'LineUnavailableException',
1488 'LinkLoopException',
1503 'ListResourceBundle',
1504 'ListSelectionEvent',
1505 'ListSelectionListener',
1506 'ListSelectionModel',
1519 'LoggingPermission',
1523 'LoginModuleControlFlag',
1527 'LongLongSeqHelper',
1528 'LongLongSeqHolder',
1538 'MalformedInputException',
1539 'MalformedLinkException',
1540 'MalformedURLException',
1541 'ManagerFactoryParameters',
1553 'MatteBorderUIResource',
1556 'MediaPrintableArea',
1563 'MemoryCacheImageInputStream',
1564 'MemoryCacheImageOutputStream',
1566 'MemoryImageSource',
1574 'MenuDragMouseEvent',
1575 'MenuDragMouseListener',
1584 'MenuSelectionManager',
1590 'MetaEventListener',
1594 'MetalCheckBoxIcon',
1596 'MetalComboBoxButton',
1597 'MetalComboBoxEditor',
1598 'MetalComboBoxIcon',
1600 'MetalDesktopIconUI',
1601 'MetalFileChooserUI',
1603 'MetalInternalFrameTitlePane',
1604 'MetalInternalFrameUI',
1607 'MetalPopupMenuSeparatorUI',
1608 'MetalProgressBarUI',
1609 'MetalRadioButtonUI',
1612 'MetalScrollButton',
1613 'MetalScrollPaneUI',
1617 'MetalTabbedPaneUI',
1620 'MetalToggleButtonUI',
1628 'MidiDeviceProvider',
1635 'MidiUnavailableException',
1636 'MimeTypeParseException',
1637 'MinimalHTMLWriter',
1638 'MissingResourceException',
1644 'MouseDragGestureRecognizer',
1646 'MouseInputAdapter',
1647 'MouseInputListener',
1649 'MouseMotionAdapter',
1650 'MouseMotionListener',
1652 'MouseWheelListener',
1654 'MultiColorChooserUI',
1656 'MultiDesktopIconUI',
1657 'MultiDesktopPaneUI',
1660 'MultiDocPrintService',
1661 'MultiFileChooserUI',
1662 'MultiInternalFrameUI',
1668 'MultiOptionPaneUI',
1670 'MultiPixelPackedSampleModel',
1672 'MultiProgressBarUI',
1675 'MultiScrollPaneUI',
1680 'MultiTabbedPaneUI',
1681 'MultiTableHeaderUI',
1689 'MultipleComponentProfileHelper',
1690 'MultipleComponentProfileHolder',
1691 'MultipleDocumentHandling',
1692 'MultipleDocumentHandlingType',
1694 'MutableAttributeSet',
1695 'MutableComboBoxModel',
1706 'NameAlreadyBoundException',
1710 'NameComponentHelper',
1711 'NameComponentHolder',
1713 'NameDynAnyPairHelper',
1714 'NameDynAnyPairSeqHelper',
1717 'NameNotFoundException',
1721 'NameValuePairHelper',
1722 'NameValuePairHelper',
1723 'NameValuePairSeqHelper',
1726 'NamespaceChangeListener',
1731 'NamingContextExtHelper',
1732 'NamingContextExtHolder',
1733 'NamingContextExtOperations',
1734 'NamingContextExtPOA',
1735 'NamingContextHelper',
1736 'NamingContextHolder',
1737 'NamingContextOperations',
1739 'NamingEnumeration',
1742 'NamingExceptionEvent',
1745 'NamingSecurityException',
1747 'NegativeArraySizeException',
1750 'NoClassDefFoundError',
1751 'NoConnectionPendingException',
1754 'NoInitialContextException',
1755 'NoPermissionException',
1756 'NoRouteToHostException',
1759 'NoSuchAlgorithmException',
1760 'NoSuchAttributeException',
1761 'NoSuchElementException',
1763 'NoSuchFieldException',
1764 'NoSuchMethodError',
1765 'NoSuchMethodException',
1766 'NoSuchObjectException',
1767 'NoSuchPaddingException',
1768 'NoSuchProviderException',
1771 'NodeChangeListener',
1774 'NonReadableChannelException',
1775 'NonWritableChannelException',
1776 'NoninvertibleTransformException',
1777 'NotActiveException',
1778 'NotBoundException',
1779 'NotContextException',
1787 'NotFoundReasonHelper',
1788 'NotFoundReasonHolder',
1789 'NotOwnerException',
1790 'NotSerializableException',
1791 'NotYetBoundException',
1792 'NotYetConnectedException',
1795 'NullPointerException',
1799 'NumberFormatException',
1801 'NumberOfDocuments',
1802 'NumberOfInterveningJobs',
1804 'NumberUpSupported',
1812 'ORBInitInfoOperations',
1814 'ORBInitializerOperations',
1818 'ObjectAlreadyActive',
1819 'ObjectAlreadyActiveHelper',
1820 'ObjectChangeListener',
1822 'ObjectFactoryBuilder',
1829 'ObjectInputStream',
1830 'ObjectInputValidation',
1832 'ObjectNotActiveHelper',
1834 'ObjectOutputStream',
1835 'ObjectStreamClass',
1836 'ObjectStreamConstants',
1837 'ObjectStreamException',
1838 'ObjectStreamField',
1847 'OperationNotSupportedException',
1849 'OptionDialogBorder',
1851 'OptionalDataException',
1852 'OrientationRequested',
1853 'OrientationRequestedType',
1857 'OutputDeviceAssigned',
1862 'OutputStreamWriter',
1863 'OverlappingFileLockException',
1869 'PDLOverrideSupported',
1871 'PKCS8EncodedKeySpec',
1872 'PKIXBuilderParameters',
1873 'PKIXCertPathBuilderResult',
1874 'PKIXCertPathChecker',
1875 'PKIXCertPathValidatorResult',
1880 'POAManagerOperations',
1892 'PagesPerMinuteColor',
1901 'ParagraphAttribute',
1902 'ParagraphConstants',
1907 'ParameterDescriptor',
1908 'ParameterMetaData',
1910 'ParameterModeHelper',
1911 'ParameterModeHolder',
1919 'ParserConfigurationException',
1922 'PartialResultException',
1923 'PasswordAuthentication',
1930 'PatternSyntaxException',
1933 'PermissionCollection',
1935 'PersistenceDelegate',
1939 'PipedOutputStream',
1943 'PixelInterleavedSampleModel',
1952 'PolicyErrorCodeHelper',
1953 'PolicyErrorHelper',
1954 'PolicyErrorHolder',
1956 'PolicyFactoryOperations',
1963 'PolicyQualifierInfo',
1972 'PopupMenuListener',
1975 'PortUnreachableException',
1976 'PortableRemoteObject',
1977 'PortableRemoteObjectDelegate',
1979 'PreferenceChangeEvent',
1980 'PreferenceChangeListener',
1982 'PreferencesFactory',
1983 'PreparedStatement',
1984 'PresentationDirection',
1993 'PrintJobAttribute',
1994 'PrintJobAttributeEvent',
1995 'PrintJobAttributeListener',
1996 'PrintJobAttributeSet',
2001 'PrintRequestAttribute',
2002 'PrintRequestAttributeSet',
2004 'PrintServiceAttribute',
2005 'PrintServiceAttributeEvent',
2006 'PrintServiceAttributeListener',
2007 'PrintServiceAttributeSet',
2008 'PrintServiceLookup',
2012 'PrinterAbortException',
2015 'PrinterIOException',
2017 'PrinterIsAcceptingJobs',
2020 'PrinterMakeAndModel',
2021 'PrinterMessageFromOperator',
2023 'PrinterMoreInfoManufacturer',
2025 'PrinterResolution',
2027 'PrinterStateReason',
2028 'PrinterStateReasons',
2030 'PrivateCredentialPermission',
2033 'PrivilegedActionException',
2034 'PrivilegedExceptionAction',
2036 'ProcessingInstruction',
2037 'ProfileDataException',
2041 'ProgressMonitorInputStream',
2043 'PropertyChangeEvent',
2044 'PropertyChangeListener',
2045 'PropertyChangeListenerProxy',
2046 'PropertyChangeSupport',
2047 'PropertyDescriptor',
2049 'PropertyEditorManager',
2050 'PropertyEditorSupport',
2051 'PropertyPermission',
2052 'PropertyResourceBundle',
2053 'PropertyVetoException',
2055 'ProtocolException',
2057 'ProviderException',
2061 'PushbackInputStream',
2069 'REQUEST_PROCESSING_POLICY_ID',
2072 'RMIClassLoaderSpi',
2073 'RMIClientSocketFactory',
2074 'RMIFailureHandler',
2075 'RMISecurityException',
2076 'RMISecurityManager',
2077 'RMIServerSocketFactory',
2080 'RSAKeyGenParameterSpec',
2081 'RSAMultiPrimePrivateCrtKey',
2082 'RSAMultiPrimePrivateCrtKeySpec',
2083 'RSAOtherPrimeInfo',
2085 'RSAPrivateCrtKeySpec',
2087 'RSAPrivateKeySpec',
2091 'RadioButtonBorder',
2096 'RasterFormatException',
2098 'ReadOnlyBufferException',
2099 'ReadableByteChannel',
2110 'ReferenceUriSchemesSupported',
2112 'ReferralException',
2113 'ReflectPermission',
2114 'RefreshFailedException',
2116 'RegisterableService',
2119 'RemarshalException',
2129 'RenderableImageOp',
2130 'RenderableImageProducer',
2132 'RenderedImageFactory',
2136 'ReplicateScaleFilter',
2137 'RepositoryIdHelper',
2140 'RequestInfoOperations',
2141 'RequestProcessingPolicy',
2142 'RequestProcessingPolicyOperations',
2143 'RequestProcessingPolicyValue',
2144 'RequestingUserName',
2154 'ResultSetMetaData',
2157 'RolloverButtonBorder',
2158 'RolloverButtonBorder',
2159 'RootPaneContainer',
2170 'RuleBasedCollator',
2172 'RunTimeOperations',
2176 'RuntimePermission',
2178 'SAXNotRecognizedException',
2179 'SAXNotSupportedException',
2180 'SAXParseException',
2185 'SAXTransformerFactory',
2186 'SERVANT_RETENTION_POLICY_ID',
2187 'SERVICE_FORMATTED',
2197 'SSLHandshakeException',
2199 'SSLPeerUnverifiedException',
2201 'SSLProtocolException',
2203 'SSLServerSocketFactory',
2205 'SSLSessionBindingEvent',
2206 'SSLSessionBindingListener',
2207 'SSLSessionContext',
2212 'SYNC_WITH_TRANSPORT',
2216 'ScatteringByteChannel',
2217 'SchemaViolationException',
2220 'ScrollPaneAdjustable',
2222 'ScrollPaneConstants',
2232 'SecretKeyFactorySpi',
2234 'SecureClassLoader',
2238 'SecurityException',
2240 'SecurityPermission',
2242 'SelectableChannel',
2250 'SequenceInputStream',
2253 'SerializablePermission',
2256 'ServantActivatorHelper',
2257 'ServantActivatorOperations',
2258 'ServantActivatorPOA',
2259 'ServantAlreadyActive',
2260 'ServantAlreadyActiveHelper',
2262 'ServantLocatorHelper',
2263 'ServantLocatorOperations',
2264 'ServantLocatorPOA',
2266 'ServantManagerOperations',
2268 'ServantNotActiveHelper',
2270 'ServantRetentionPolicy',
2271 'ServantRetentionPolicyOperations',
2272 'ServantRetentionPolicyValue',
2273 'ServerCloneException',
2276 'ServerNotActiveException',
2279 'ServerRequestInfo',
2280 'ServerRequestInfoOperations',
2281 'ServerRequestInterceptor',
2282 'ServerRequestInterceptorOperations',
2283 'ServerRuntimeException',
2285 'ServerSocketChannel',
2286 'ServerSocketFactory',
2288 'ServiceContextHelper',
2289 'ServiceContextHolder',
2290 'ServiceContextListHelper',
2291 'ServiceContextListHolder',
2293 'ServiceDetailHelper',
2295 'ServiceInformation',
2296 'ServiceInformationHelper',
2297 'ServiceInformationHolder',
2298 'ServicePermission',
2302 'ServiceUnavailableException',
2304 'SetOfIntegerSyntax',
2306 'SetOverrideTypeHelper',
2309 'ShapeGraphicAttribute',
2313 'ShortBufferException',
2322 'SignatureException',
2326 'SimpleAttributeSet',
2332 'SinglePixelPackedSampleModel',
2333 'SingleSelectionModel',
2336 'SizeLimitExceededException',
2340 'SkeletonMismatchException',
2341 'SkeletonNotFoundException',
2350 'SocketImplFactory',
2353 'SocketSecurityException',
2354 'SocketTimeoutException',
2359 'SortingFocusTraversalPolicy',
2362 'SoundbankResource',
2370 'SpinnerNumberModel',
2377 'StackOverflowError',
2378 'StackTraceElement',
2387 'StreamCorruptedException',
2389 'StreamPrintService',
2390 'StreamPrintServiceFactory',
2399 'StringBufferInputStream',
2400 'StringCharacterIterator',
2403 'StringIndexOutOfBoundsException',
2411 'StringValueHelper',
2416 'StructMemberHelper',
2419 'StubNotFoundException',
2428 'SubjectDomainCombiner',
2430 'SupportedValuesAttribute',
2432 'SwingPropertyChangeSupport',
2434 'SyncFailedException',
2443 'TAG_ALTERNATE_IIOP_ADDRESS',
2446 'TAG_JAVA_CODEBASE',
2447 'TAG_MULTIPLE_COMPONENTS',
2452 'TRANSACTION_REQUIRED',
2453 'TRANSACTION_ROLLEDBACK',
2462 'TableCellRenderer',
2465 'TableColumnModelEvent',
2466 'TableColumnModelListener',
2467 'TableHeaderBorder',
2471 'TableModelListener',
2477 'TaggedComponentHelper',
2478 'TaggedComponentHolder',
2480 'TaggedProfileHelper',
2481 'TaggedProfileHolder',
2494 'TextInputCallback',
2498 'TextOutputCallback',
2507 'ThreadPolicyOperations',
2508 'ThreadPolicyValue',
2513 'TimeLimitExceededException',
2520 'TitledBorderUIResource',
2521 'ToggleButtonBorder',
2522 'ToggleButtonBorder',
2523 'ToggleButtonModel',
2524 'TooManyListenersException',
2531 'TransactionRequiredException',
2532 'TransactionRolledbackException',
2533 'TransactionService',
2536 'TransformAttribute',
2538 'TransformerConfigurationException',
2539 'TransformerException',
2540 'TransformerFactory',
2541 'TransformerFactoryConfigurationError',
2542 'TransformerHandler',
2548 'TreeExpansionEvent',
2549 'TreeExpansionListener',
2555 'TreeModelListener',
2558 'TreeSelectionEvent',
2559 'TreeSelectionListener',
2560 'TreeSelectionModel',
2563 'TreeWillExpandListener',
2566 'TrustManagerFactory',
2567 'TrustManagerFactorySpi',
2580 'TypeMismatchHelper',
2581 'TypeMismatchHelper',
2593 'ULongLongSeqHelper',
2594 'ULongLongSeqHolder',
2598 'UNSUPPORTED_POLICY',
2599 'UNSUPPORTED_POLICY_VALUE',
2604 'URISyntaxException',
2612 'URLStreamHandlerFactory',
2617 'UTFDataFormatException',
2618 'UndeclaredThrowableException',
2622 'UndoableEditEvent',
2623 'UndoableEditListener',
2624 'UndoableEditSupport',
2625 'UnexpectedException',
2626 'UnicastRemoteObject',
2629 'UnionMemberHelper',
2631 'UnknownEncodingHelper',
2634 'UnknownGroupException',
2635 'UnknownHostException',
2636 'UnknownHostException',
2637 'UnknownObjectException',
2638 'UnknownServiceException',
2640 'UnknownUserException',
2641 'UnknownUserExceptionHelper',
2642 'UnknownUserExceptionHolder',
2643 'UnmappableCharacterException',
2644 'UnmarshalException',
2645 'UnmodifiableSetException',
2646 'UnrecoverableKeyException',
2648 'UnresolvedAddressException',
2649 'UnresolvedPermission',
2650 'UnsatisfiedLinkError',
2651 'UnsolicitedNotification',
2652 'UnsolicitedNotificationEvent',
2653 'UnsolicitedNotificationListener',
2654 'UnsupportedAddressTypeException',
2655 'UnsupportedAudioFileException',
2656 'UnsupportedCallbackException',
2657 'UnsupportedCharsetException',
2658 'UnsupportedClassVersionError',
2659 'UnsupportedEncodingException',
2660 'UnsupportedFlavorException',
2661 'UnsupportedLookAndFeelException',
2662 'UnsupportedOperationException',
2678 'ValueMemberHelper',
2679 'VariableHeightLayoutCache',
2682 'VersionSpecHelper',
2683 'VetoableChangeListener',
2684 'VetoableChangeListenerProxy',
2685 'VetoableChangeSupport',
2690 'VirtualMachineError',
2700 'WStringValueHelper',
2707 'WindowFocusListener',
2709 'WindowStateListener',
2711 'WritableByteChannel',
2713 'WritableRenderedImage',
2714 'WriteAbortedException',
2717 'WrongAdapterHelper',
2719 'WrongPolicyHelper',
2721 'WrongTransactionHelper',
2722 'WrongTransactionHolder',
2724 'X500PrivateCredential',
2731 'X509EncodedKeySpec',
2754 '_BindingIteratorImplBase',
2755 '_BindingIteratorStub',
2756 '_DynAnyFactoryStub',
2766 '_NamingContextExtStub',
2767 '_NamingContextImplBase',
2768 '_NamingContextStub',
2771 '_ServantActivatorStub',
2772 '_ServantLocatorStub',
2774 $self->listAdd('java-1.4.2-keywords',
2816 $self->listAdd('java-1.4.2-types',
2830 $self->listAdd('jsp-reserved-words',
2848 $self->contextdata({
2849 'Html Attribute' => {
2850 callback => \&parseHtmlAttribute,
2851 attribute => 'Identifier',
2854 callback => \&parseHtmlComment,
2855 attribute => 'Html Comment',
2857 'Html Double Quoted Value' => {
2858 callback => \&parseHtmlDoubleQuotedValue,
2859 attribute => 'Types',
2861 'Html Single Quoted Value' => {
2862 callback => \&parseHtmlSingleQuotedValue,
2863 attribute => 'Types',
2865 'Html Unquoted Value' => {
2866 callback => \&parseHtmlUnquotedValue,
2867 attribute => 'Types',
2870 callback => \&parseHtmlValue,
2871 attribute => 'Types',
2873 'Java Multi-Line Comment' => {
2874 callback => \&parseJavaMultiLineComment,
2875 attribute => 'Java Comment',
2877 'Java Single-Line Comment' => {
2878 callback => \&parseJavaSingleLineComment,
2879 attribute => 'Java Comment',
2880 lineending => '#pop',
2883 callback => \&parseJavaString,
2884 attribute => 'String',
2887 callback => \&parseJspComment,
2888 attribute => 'Jsp Comment',
2890 'Jsp Custom Tag' => {
2891 callback => \&parseJspCustomTag,
2892 attribute => 'Identifier',
2894 'Jsp Custom Tag Value' => {
2895 callback => \&parseJspCustomTagValue,
2896 attribute => 'Normal Text',
2898 'Jsp Double Quoted Custom Tag Value' => {
2899 callback => \&parseJspDoubleQuotedCustomTagValue,
2900 attribute => 'Types',
2902 'Jsp Double Quoted Param Value' => {
2903 callback => \&parseJspDoubleQuotedParamValue,
2904 attribute => 'Jsp Param Value',
2906 'Jsp Expression' => {
2907 callback => \&parseJspExpression,
2908 attribute => 'Normal Text',
2910 'Jsp Scriptlet' => {
2911 callback => \&parseJspScriptlet,
2912 attribute => 'Normal Text',
2914 'Jsp Single Quoted Custom Tag Value' => {
2915 callback => \&parseJspSingleQuotedCustomTagValue,
2916 attribute => 'Types',
2918 'Jsp Single Quoted Param Value' => {
2919 callback => \&parseJspSingleQuotedParamValue,
2920 attribute => 'Jsp Param Value',
2922 'Jsp Standard Directive' => {
2923 callback => \&parseJspStandardDirective,
2924 attribute => 'Jsp Param Name',
2926 'Jsp Standard Directive Value' => {
2927 callback => \&parseJspStandardDirectiveValue,
2928 attribute => 'Jsp Param Value',
2930 'Jsp Xml Directive' => {
2931 callback => \&parseJspXmlDirective,
2932 attribute => 'Jsp Param Name',
2934 'Jsp Xml Directive Value' => {
2935 callback => \&parseJspXmlDirectiveValue,
2936 attribute => 'Jsp Param Value',
2939 callback => \&parseNormal,
2940 attribute => 'Normal Text',
2943 $self->deliminators('\\s||\\.|\\(|\\)|:|\\!|\\+|,|-|<|=|>|\\%|\\&|\\*|\\/|;|\\?|\\[|\\]|\\^|\\{|\\||\\}|\\~|\\\\');
2944 $self->basecontext('Normal');
2945 $self->keywordscase(0);
2947 bless ($self, $class);
2955 sub parseHtmlAttribute {
2956 my ($self, $text) = @_;
2958 # attribute => 'Normal Text'
2961 if ($self->testRegExpr($text, '\\/?>', 0, 0, 0, undef, 0, '#pop', 'Normal Text')) {
2964 # String => '\s*=\s*'
2965 # attribute => 'Normal Text'
2966 # context => 'Html Value'
2968 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'Html Value', 'Normal Text')) {
2972 # attribute => 'Jsp Comment'
2973 # context => 'Jsp Comment'
2974 # type => 'StringDetect'
2975 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
2978 # String => '<%(!|=)?'
2979 # attribute => 'Jsp Scriptlet'
2980 # context => 'Jsp Scriptlet'
2982 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
2985 # attribute => 'Jsp Expression'
2988 # context => 'Jsp Expression'
2989 # type => 'Detect2Chars'
2990 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
2996 sub parseHtmlComment {
2997 my ($self, $text) = @_;
2999 # attribute => 'Jsp Comment'
3000 # context => 'Jsp Comment'
3001 # type => 'StringDetect'
3002 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3005 # String => '<%(!|=)?'
3006 # attribute => 'Jsp Scriptlet'
3007 # context => 'Jsp Scriptlet'
3009 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3012 # attribute => 'Jsp Expression'
3015 # context => 'Jsp Expression'
3016 # type => 'Detect2Chars'
3017 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3020 # String => '\/*-->'
3021 # attribute => 'Html Comment'
3024 if ($self->testRegExpr($text, '\\/*-->', 0, 0, 0, undef, 0, '#pop', 'Html Comment')) {
3030 sub parseHtmlDoubleQuotedValue {
3031 my ($self, $text) = @_;
3033 # attribute => 'Jsp Comment'
3034 # context => 'Jsp Comment'
3035 # type => 'StringDetect'
3036 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3039 # String => '<%(!|=)?'
3040 # attribute => 'Jsp Scriptlet'
3041 # context => 'Jsp Scriptlet'
3043 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3046 # attribute => 'Jsp Expression'
3049 # context => 'Jsp Expression'
3050 # type => 'Detect2Chars'
3051 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3054 # String => '<\s*\/?\s*\$?\w*:\$?\w*'
3055 # attribute => 'Keyword'
3056 # context => 'Jsp Custom Tag'
3058 if ($self->testRegExpr($text, '<\\s*\\/?\\s*\\$?\\w*:\\$?\\w*', 0, 0, 0, undef, 0, 'Jsp Custom Tag', 'Keyword')) {
3061 # String => '("|"|")'
3062 # attribute => 'Types'
3063 # context => '#pop#pop'
3065 if ($self->testRegExpr($text, '("|"|")', 0, 0, 0, undef, 0, '#pop#pop', 'Types')) {
3071 sub parseHtmlSingleQuotedValue {
3072 my ($self, $text) = @_;
3074 # attribute => 'Jsp Comment'
3075 # context => 'Jsp Comment'
3076 # type => 'StringDetect'
3077 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3080 # String => '<%(!|=)?'
3081 # attribute => 'Jsp Scriptlet'
3082 # context => 'Jsp Scriptlet'
3084 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3087 # attribute => 'Jsp Expression'
3090 # context => 'Jsp Expression'
3091 # type => 'Detect2Chars'
3092 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3095 # String => '<\s*\/?\s*\$?\w*:\$?\w*'
3096 # attribute => 'Keyword'
3097 # context => 'Jsp Custom Tag'
3099 if ($self->testRegExpr($text, '<\\s*\\/?\\s*\\$?\\w*:\\$?\\w*', 0, 0, 0, undef, 0, 'Jsp Custom Tag', 'Keyword')) {
3102 # String => '('|')'
3103 # attribute => 'Types'
3104 # context => '#pop#pop'
3106 if ($self->testRegExpr($text, '(\'|')', 0, 0, 0, undef, 0, '#pop#pop', 'Types')) {
3112 sub parseHtmlUnquotedValue {
3113 my ($self, $text) = @_;
3115 # attribute => 'Jsp Comment'
3116 # context => 'Jsp Comment'
3117 # type => 'StringDetect'
3118 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3121 # String => '<%(!|=)?'
3122 # attribute => 'Jsp Scriptlet'
3123 # context => 'Jsp Scriptlet'
3125 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3128 # attribute => 'Jsp Expression'
3131 # context => 'Jsp Expression'
3132 # type => 'Detect2Chars'
3133 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3136 # String => '<\s*\/?\s*\$?\w*:\$?\w*'
3137 # attribute => 'Keyword'
3138 # context => 'Jsp Custom Tag'
3140 if ($self->testRegExpr($text, '<\\s*\\/?\\s*\\$?\\w*:\\$?\\w*', 0, 0, 0, undef, 0, 'Jsp Custom Tag', 'Keyword')) {
3144 # attribute => 'Normal Text'
3145 # context => '#pop#pop#pop'
3147 if ($self->testRegExpr($text, '\\/?>', 0, 0, 0, undef, 0, '#pop#pop#pop', 'Normal Text')) {
3151 # attribute => 'Types'
3152 # context => '#pop#pop'
3154 if ($self->testRegExpr($text, '\\s+', 0, 0, 0, undef, 0, '#pop#pop', 'Types')) {
3160 sub parseHtmlValue {
3161 my ($self, $text) = @_;
3163 # attribute => 'Jsp Comment'
3164 # context => 'Jsp Comment'
3165 # type => 'StringDetect'
3166 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3169 # String => '<%(!|=)?'
3170 # attribute => 'Jsp Scriptlet'
3171 # context => 'Jsp Scriptlet'
3173 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3176 # attribute => 'Jsp Expression'
3179 # context => 'Jsp Expression'
3180 # type => 'Detect2Chars'
3181 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3184 # String => '<\s*\/?\s*\$?\w*:\$?\w*'
3185 # attribute => 'Keyword'
3186 # context => 'Jsp Custom Tag'
3188 if ($self->testRegExpr($text, '<\\s*\\/?\\s*\\$?\\w*:\\$?\\w*', 0, 0, 0, undef, 0, 'Jsp Custom Tag', 'Keyword')) {
3191 # String => '("|"|")'
3192 # attribute => 'Types'
3193 # context => 'Html Double Quoted Value'
3195 if ($self->testRegExpr($text, '("|"|")', 0, 0, 0, undef, 0, 'Html Double Quoted Value', 'Types')) {
3198 # String => '('|')'
3199 # attribute => 'Types'
3200 # context => 'Html Single Quoted Value'
3202 if ($self->testRegExpr($text, '(\'|')', 0, 0, 0, undef, 0, 'Html Single Quoted Value', 'Types')) {
3205 # String => '\s*#?-?_?\.?[a-zA-Z0-9]*'
3206 # attribute => 'Types'
3207 # context => 'Html Unquoted Value'
3209 if ($self->testRegExpr($text, '\\s*#?-?_?\\.?[a-zA-Z0-9]*', 0, 0, 0, undef, 0, 'Html Unquoted Value', 'Types')) {
3213 # attribute => 'Normal Text'
3214 # context => '#pop#pop'
3216 if ($self->testRegExpr($text, '\\/?>', 0, 0, 0, undef, 0, '#pop#pop', 'Normal Text')) {
3222 sub parseJavaMultiLineComment {
3223 my ($self, $text) = @_;
3224 # attribute => 'Java Comment'
3228 # type => 'Detect2Chars'
3229 if ($self->testDetect2Chars($text, '*', '/', 0, 0, 0, undef, 0, '#pop', 'Java Comment')) {
3235 sub parseJavaSingleLineComment {
3236 my ($self, $text) = @_;
3240 sub parseJavaString {
3241 my ($self, $text) = @_;
3242 # attribute => 'String'
3245 # context => '#stay'
3246 # type => 'Detect2Chars'
3247 if ($self->testDetect2Chars($text, '\\', '"', 0, 0, 0, undef, 0, '#stay', 'String')) {
3250 # attribute => 'String'
3253 # type => 'DetectChar'
3254 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop', 'String')) {
3260 sub parseJspComment {
3261 my ($self, $text) = @_;
3263 # attribute => 'Jsp Comment'
3265 # type => 'StringDetect'
3266 if ($self->testStringDetect($text, '--%>', 0, 0, 0, undef, 0, '#pop', 'Jsp Comment')) {
3272 sub parseJspCustomTag {
3273 my ($self, $text) = @_;
3275 # attribute => 'Keyword'
3278 if ($self->testRegExpr($text, '\\/?>', 0, 0, 0, undef, 0, '#pop', 'Keyword')) {
3281 # String => '\s*=\s*'
3282 # attribute => 'Normal Text'
3283 # context => 'Jsp Custom Tag Value'
3285 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'Jsp Custom Tag Value', 'Normal Text')) {
3289 # attribute => 'Jsp Comment'
3290 # context => 'Jsp Comment'
3291 # type => 'StringDetect'
3292 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3295 # String => '<%(!|=)?'
3296 # attribute => 'Jsp Scriptlet'
3297 # context => 'Jsp Scriptlet'
3299 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3302 # attribute => 'Jsp Expression'
3305 # context => 'Jsp Expression'
3306 # type => 'Detect2Chars'
3307 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3313 sub parseJspCustomTagValue {
3314 my ($self, $text) = @_;
3316 # attribute => 'Jsp Comment'
3317 # context => 'Jsp Comment'
3318 # type => 'StringDetect'
3319 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3322 # String => '<%(!|=)?'
3323 # attribute => 'Jsp Scriptlet'
3324 # context => 'Jsp Scriptlet'
3326 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3329 # attribute => 'Jsp Expression'
3332 # context => 'Jsp Expression'
3333 # type => 'Detect2Chars'
3334 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3337 # attribute => 'Types'
3339 # context => 'Jsp Double Quoted Custom Tag Value'
3340 # type => 'DetectChar'
3341 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'Jsp Double Quoted Custom Tag Value', 'Types')) {
3344 # attribute => 'Types'
3346 # context => 'Jsp Single Quoted Custom Tag Value'
3347 # type => 'DetectChar'
3348 if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, 'Jsp Single Quoted Custom Tag Value', 'Types')) {
3352 # attribute => 'Normal Text'
3353 # context => '#pop#pop'
3355 if ($self->testRegExpr($text, '\\/?>', 0, 0, 0, undef, 0, '#pop#pop', 'Normal Text')) {
3361 sub parseJspDoubleQuotedCustomTagValue {
3362 my ($self, $text) = @_;
3363 # attribute => 'Types'
3365 # context => '#pop#pop'
3366 # type => 'DetectChar'
3367 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop#pop', 'Types')) {
3371 # attribute => 'Jsp Comment'
3372 # context => 'Jsp Comment'
3373 # type => 'StringDetect'
3374 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3377 # String => '<%(!|=)?'
3378 # attribute => 'Jsp Scriptlet'
3379 # context => 'Jsp Scriptlet'
3381 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3384 # attribute => 'Jsp Expression'
3387 # context => 'Jsp Expression'
3388 # type => 'Detect2Chars'
3389 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3395 sub parseJspDoubleQuotedParamValue {
3396 my ($self, $text) = @_;
3397 # attribute => 'Jsp Param Value'
3399 # context => '#pop#pop'
3400 # type => 'DetectChar'
3401 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, '#pop#pop', 'Jsp Param Value')) {
3405 # attribute => 'Jsp Comment'
3406 # context => 'Jsp Comment'
3407 # type => 'StringDetect'
3408 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3411 # String => '<%(!|=)?'
3412 # attribute => 'Jsp Scriptlet'
3413 # context => 'Jsp Scriptlet'
3415 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3418 # attribute => 'Jsp Expression'
3421 # context => 'Jsp Expression'
3422 # type => 'Detect2Chars'
3423 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3429 sub parseJspExpression {
3430 my ($self, $text) = @_;
3432 # attribute => 'Normal Text'
3433 # context => '#stay'
3434 # type => 'StringDetect'
3435 if ($self->testStringDetect($text, '\'${\'', 0, 0, 0, undef, 0, '#stay', 'Normal Text')) {
3438 # attribute => 'Jsp Scriptlet'
3441 # type => 'DetectChar'
3442 if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#pop', 'Jsp Scriptlet')) {
3445 # String => 'java-1.4.2-keywords'
3446 # attribute => 'Keyword'
3447 # context => '#stay'
3449 if ($self->testKeyword($text, 'java-1.4.2-keywords', 0, undef, 0, '#stay', 'Keyword')) {
3452 # String => 'jsp-reserved-words'
3453 # attribute => 'Keyword'
3454 # context => '#stay'
3456 if ($self->testKeyword($text, 'jsp-reserved-words', 0, undef, 0, '#stay', 'Keyword')) {
3459 # String => 'java-1.4.2-types'
3460 # attribute => 'Types'
3461 # context => '#stay'
3463 if ($self->testKeyword($text, 'java-1.4.2-types', 0, undef, 0, '#stay', 'Types')) {
3466 # String => 'java-1.4.2-classes'
3467 # attribute => 'Java 1.4.2 Classes'
3468 # context => '#stay'
3470 if ($self->testKeyword($text, 'java-1.4.2-classes', 0, undef, 0, '#stay', 'Java 1.4.2 Classes')) {
3473 # attribute => 'Float'
3474 # context => '#stay'
3475 # items => 'ARRAY(0x19b69e0)'
3477 if ($self->testFloat($text, 0, undef, 0, '#stay', 'Float')) {
3479 # attribute => 'Float'
3480 # context => '#stay'
3482 if ($self->testAnyChar($text, 'fF', 0, 0, undef, 0, '#stay', 'Float')) {
3486 # attribute => 'Octal'
3487 # context => '#stay'
3489 if ($self->testHlCOct($text, 0, undef, 0, '#stay', 'Octal')) {
3492 # attribute => 'Hex'
3493 # context => '#stay'
3495 if ($self->testHlCHex($text, 0, undef, 0, '#stay', 'Hex')) {
3498 # attribute => 'Decimal'
3499 # context => '#stay'
3500 # items => 'ARRAY(0x19bc750)'
3502 if ($self->testInt($text, 0, undef, 0, '#stay', 'Decimal')) {
3504 # attribute => 'Decimal'
3505 # context => '#stay'
3506 # insensitive => 'true'
3507 # type => 'StringDetect'
3508 if ($self->testStringDetect($text, 'ULL', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3512 # attribute => 'Decimal'
3513 # context => '#stay'
3514 # insensitive => 'true'
3515 # type => 'StringDetect'
3516 if ($self->testStringDetect($text, 'LUL', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3520 # attribute => 'Decimal'
3521 # context => '#stay'
3522 # insensitive => 'true'
3523 # type => 'StringDetect'
3524 if ($self->testStringDetect($text, 'LLU', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3528 # attribute => 'Decimal'
3529 # context => '#stay'
3530 # insensitive => 'true'
3531 # type => 'StringDetect'
3532 if ($self->testStringDetect($text, 'UL', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3536 # attribute => 'Decimal'
3537 # context => '#stay'
3538 # insensitive => 'true'
3539 # type => 'StringDetect'
3540 if ($self->testStringDetect($text, 'LU', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3544 # attribute => 'Decimal'
3545 # context => '#stay'
3546 # insensitive => 'true'
3547 # type => 'StringDetect'
3548 if ($self->testStringDetect($text, 'LL', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3552 # attribute => 'Decimal'
3553 # context => '#stay'
3554 # insensitive => 'true'
3555 # type => 'StringDetect'
3556 if ($self->testStringDetect($text, 'U', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3560 # attribute => 'Decimal'
3561 # context => '#stay'
3562 # insensitive => 'true'
3563 # type => 'StringDetect'
3564 if ($self->testStringDetect($text, 'L', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3568 # attribute => 'Char'
3569 # context => '#stay'
3571 if ($self->testHlCChar($text, 0, undef, 0, '#stay', 'Char')) {
3574 # attribute => 'String'
3576 # context => 'Java String'
3577 # type => 'DetectChar'
3578 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'Java String', 'String')) {
3581 # String => '!%&()+,-<=>?[]^{|}~'
3582 # attribute => 'Symbol'
3583 # context => '#stay'
3585 if ($self->testAnyChar($text, '!%&()+,-<=>?[]^{|}~', 0, 0, undef, 0, '#stay', 'Symbol')) {
3591 sub parseJspScriptlet {
3592 my ($self, $text) = @_;
3593 # attribute => 'Jsp Scriptlet'
3597 # type => 'Detect2Chars'
3598 if ($self->testDetect2Chars($text, '%', '>', 0, 0, 0, undef, 0, '#pop', 'Jsp Scriptlet')) {
3601 # String => '<\s*jsp:(declaration|expression|scriptlet)\s*>'
3602 # attribute => 'Jsp Scriptlet'
3603 # context => 'Jsp Scriptlet'
3605 if ($self->testRegExpr($text, '<\\s*jsp:(declaration|expression|scriptlet)\\s*>', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3608 # String => 'java-1.4.2-keywords'
3609 # attribute => 'Keyword'
3610 # context => '#stay'
3612 if ($self->testKeyword($text, 'java-1.4.2-keywords', 0, undef, 0, '#stay', 'Keyword')) {
3615 # String => 'jsp-reserved-words'
3616 # attribute => 'Keyword'
3617 # context => '#stay'
3619 if ($self->testKeyword($text, 'jsp-reserved-words', 0, undef, 0, '#stay', 'Keyword')) {
3622 # String => 'java-1.4.2-types'
3623 # attribute => 'Types'
3624 # context => '#stay'
3626 if ($self->testKeyword($text, 'java-1.4.2-types', 0, undef, 0, '#stay', 'Types')) {
3629 # String => 'java-1.4.2-classes'
3630 # attribute => 'Java 1.4.2 Classes'
3631 # context => '#stay'
3633 if ($self->testKeyword($text, 'java-1.4.2-classes', 0, undef, 0, '#stay', 'Java 1.4.2 Classes')) {
3636 # attribute => 'Float'
3637 # context => '#stay'
3638 # items => 'ARRAY(0x12a3610)'
3640 if ($self->testFloat($text, 0, undef, 0, '#stay', 'Float')) {
3642 # attribute => 'Float'
3643 # context => '#stay'
3645 if ($self->testAnyChar($text, 'fF', 0, 0, undef, 0, '#stay', 'Float')) {
3649 # attribute => 'Octal'
3650 # context => '#stay'
3652 if ($self->testHlCOct($text, 0, undef, 0, '#stay', 'Octal')) {
3655 # attribute => 'Hex'
3656 # context => '#stay'
3658 if ($self->testHlCHex($text, 0, undef, 0, '#stay', 'Hex')) {
3661 # attribute => 'Decimal'
3662 # context => '#stay'
3663 # items => 'ARRAY(0x19ad810)'
3665 if ($self->testInt($text, 0, undef, 0, '#stay', 'Decimal')) {
3667 # attribute => 'Decimal'
3668 # context => '#stay'
3669 # insensitive => 'true'
3670 # type => 'StringDetect'
3671 if ($self->testStringDetect($text, 'ULL', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3675 # attribute => 'Decimal'
3676 # context => '#stay'
3677 # insensitive => 'true'
3678 # type => 'StringDetect'
3679 if ($self->testStringDetect($text, 'LUL', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3683 # attribute => 'Decimal'
3684 # context => '#stay'
3685 # insensitive => 'true'
3686 # type => 'StringDetect'
3687 if ($self->testStringDetect($text, 'LLU', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3691 # attribute => 'Decimal'
3692 # context => '#stay'
3693 # insensitive => 'true'
3694 # type => 'StringDetect'
3695 if ($self->testStringDetect($text, 'UL', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3699 # attribute => 'Decimal'
3700 # context => '#stay'
3701 # insensitive => 'true'
3702 # type => 'StringDetect'
3703 if ($self->testStringDetect($text, 'LU', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3707 # attribute => 'Decimal'
3708 # context => '#stay'
3709 # insensitive => 'true'
3710 # type => 'StringDetect'
3711 if ($self->testStringDetect($text, 'LL', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3715 # attribute => 'Decimal'
3716 # context => '#stay'
3717 # insensitive => 'true'
3718 # type => 'StringDetect'
3719 if ($self->testStringDetect($text, 'U', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3723 # attribute => 'Decimal'
3724 # context => '#stay'
3725 # insensitive => 'true'
3726 # type => 'StringDetect'
3727 if ($self->testStringDetect($text, 'L', 1, 0, 0, undef, 0, '#stay', 'Decimal')) {
3731 # attribute => 'Char'
3732 # context => '#stay'
3734 if ($self->testHlCChar($text, 0, undef, 0, '#stay', 'Char')) {
3737 # String => '//\s*BEGIN.*$'
3738 # attribute => 'Decimal'
3739 # beginRegion => 'Region1'
3740 # context => '#stay'
3741 # firstNonSpace => 'true'
3743 if ($self->testRegExpr($text, '//\\s*BEGIN.*$', 0, 0, 0, undef, 1, '#stay', 'Decimal')) {
3746 # String => '//\s*END.*$'
3747 # attribute => 'Decimal'
3748 # context => '#stay'
3749 # endRegion => 'Region1'
3750 # firstNonSpace => 'true'
3752 if ($self->testRegExpr($text, '//\\s*END.*$', 0, 0, 0, undef, 1, '#stay', 'Decimal')) {
3755 # attribute => 'String'
3757 # context => 'Java String'
3758 # type => 'DetectChar'
3759 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'Java String', 'String')) {
3762 # attribute => 'Normal Text'
3763 # beginRegion => 'Brace1'
3765 # context => '#stay'
3766 # type => 'DetectChar'
3767 if ($self->testDetectChar($text, '{', 0, 0, 0, undef, 0, '#stay', 'Normal Text')) {
3770 # attribute => 'Normal Text'
3772 # context => '#stay'
3773 # endRegion => 'Brace1'
3774 # type => 'DetectChar'
3775 if ($self->testDetectChar($text, '}', 0, 0, 0, undef, 0, '#stay', 'Normal Text')) {
3778 # String => '!%&()+,-<=>?[]^{|}~'
3779 # attribute => 'Symbol'
3780 # context => '#stay'
3782 if ($self->testAnyChar($text, '!%&()+,-<=>?[]^{|}~', 0, 0, undef, 0, '#stay', 'Symbol')) {
3785 # attribute => 'Java Comment'
3788 # context => 'Java Single-Line Comment'
3789 # type => 'Detect2Chars'
3790 if ($self->testDetect2Chars($text, '/', '/', 0, 0, 0, undef, 0, 'Java Single-Line Comment', 'Java Comment')) {
3793 # attribute => 'Java Comment'
3796 # context => 'Java Multi-Line Comment'
3797 # type => 'Detect2Chars'
3798 if ($self->testDetect2Chars($text, '/', '*', 0, 0, 0, undef, 0, 'Java Multi-Line Comment', 'Java Comment')) {
3804 sub parseJspSingleQuotedCustomTagValue {
3805 my ($self, $text) = @_;
3806 # attribute => 'Types'
3808 # context => '#pop#pop'
3809 # type => 'DetectChar'
3810 if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, '#pop#pop', 'Types')) {
3814 # attribute => 'Jsp Comment'
3815 # context => 'Jsp Comment'
3816 # type => 'StringDetect'
3817 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3820 # String => '<%(!|=)?'
3821 # attribute => 'Jsp Scriptlet'
3822 # context => 'Jsp Scriptlet'
3824 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3827 # attribute => 'Jsp Expression'
3830 # context => 'Jsp Expression'
3831 # type => 'Detect2Chars'
3832 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3838 sub parseJspSingleQuotedParamValue {
3839 my ($self, $text) = @_;
3840 # attribute => 'Jsp Param Value'
3842 # context => '#pop#pop'
3843 # type => 'DetectChar'
3844 if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, '#pop#pop', 'Jsp Param Value')) {
3848 # attribute => 'Jsp Comment'
3849 # context => 'Jsp Comment'
3850 # type => 'StringDetect'
3851 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3854 # String => '<%(!|=)?'
3855 # attribute => 'Jsp Scriptlet'
3856 # context => 'Jsp Scriptlet'
3858 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3861 # attribute => 'Jsp Expression'
3864 # context => 'Jsp Expression'
3865 # type => 'Detect2Chars'
3866 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3872 sub parseJspStandardDirective {
3873 my ($self, $text) = @_;
3874 # attribute => 'Jsp Directive'
3878 # type => 'Detect2Chars'
3879 if ($self->testDetect2Chars($text, '%', '>', 0, 0, 0, undef, 0, '#pop', 'Jsp Directive')) {
3882 # String => '\s*=\s*'
3883 # attribute => 'Normal Text'
3884 # context => 'Jsp Standard Directive Value'
3886 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'Jsp Standard Directive Value', 'Normal Text')) {
3890 # attribute => 'Jsp Comment'
3891 # context => 'Jsp Comment'
3892 # type => 'StringDetect'
3893 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3896 # String => '<%(!|=)?'
3897 # attribute => 'Jsp Scriptlet'
3898 # context => 'Jsp Scriptlet'
3900 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3903 # attribute => 'Jsp Expression'
3906 # context => 'Jsp Expression'
3907 # type => 'Detect2Chars'
3908 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3911 # String => '<\s*\/?\s*\$?\w*:\$?\w*'
3912 # attribute => 'Keyword'
3913 # context => 'Jsp Custom Tag'
3915 if ($self->testRegExpr($text, '<\\s*\\/?\\s*\\$?\\w*:\\$?\\w*', 0, 0, 0, undef, 0, 'Jsp Custom Tag', 'Keyword')) {
3921 sub parseJspStandardDirectiveValue {
3922 my ($self, $text) = @_;
3924 # attribute => 'Jsp Comment'
3925 # context => 'Jsp Comment'
3926 # type => 'StringDetect'
3927 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3930 # String => '<%(!|=)?'
3931 # attribute => 'Jsp Scriptlet'
3932 # context => 'Jsp Scriptlet'
3934 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
3937 # attribute => 'Jsp Expression'
3940 # context => 'Jsp Expression'
3941 # type => 'Detect2Chars'
3942 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
3945 # attribute => 'Jsp Param Value'
3947 # context => 'Jsp Double Quoted Param Value'
3948 # type => 'DetectChar'
3949 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'Jsp Double Quoted Param Value', 'Jsp Param Value')) {
3952 # attribute => 'Jsp Param Value'
3954 # context => 'Jsp Single Quoted Param Value'
3955 # type => 'DetectChar'
3956 if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, 'Jsp Single Quoted Param Value', 'Jsp Param Value')) {
3959 # attribute => 'Jsp Directive'
3962 # context => '#pop#pop'
3963 # type => 'Detect2Chars'
3964 if ($self->testDetect2Chars($text, '%', '>', 0, 0, 0, undef, 0, '#pop#pop', 'Jsp Directive')) {
3970 sub parseJspXmlDirective {
3971 my ($self, $text) = @_;
3972 # String => '\s*\/?\s*>'
3973 # attribute => 'Jsp Directive'
3976 if ($self->testRegExpr($text, '\\s*\\/?\\s*>', 0, 0, 0, undef, 0, '#pop', 'Jsp Directive')) {
3979 # String => '\s*=\s*'
3980 # attribute => 'Normal Text'
3981 # context => 'Jsp Xml Directive Value'
3983 if ($self->testRegExpr($text, '\\s*=\\s*', 0, 0, 0, undef, 0, 'Jsp Xml Directive Value', 'Normal Text')) {
3987 # attribute => 'Jsp Comment'
3988 # context => 'Jsp Comment'
3989 # type => 'StringDetect'
3990 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
3993 # String => '<%(!|=)?'
3994 # attribute => 'Jsp Scriptlet'
3995 # context => 'Jsp Scriptlet'
3997 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
4000 # attribute => 'Jsp Expression'
4003 # context => 'Jsp Expression'
4004 # type => 'Detect2Chars'
4005 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
4011 sub parseJspXmlDirectiveValue {
4012 my ($self, $text) = @_;
4014 # attribute => 'Jsp Comment'
4015 # context => 'Jsp Comment'
4016 # type => 'StringDetect'
4017 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
4020 # String => '<%(!|=)?'
4021 # attribute => 'Jsp Scriptlet'
4022 # context => 'Jsp Scriptlet'
4024 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
4027 # attribute => 'Jsp Expression'
4030 # context => 'Jsp Expression'
4031 # type => 'Detect2Chars'
4032 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
4035 # attribute => 'Jsp Param Value'
4037 # context => 'Jsp Double Quoted Param Value'
4038 # type => 'DetectChar'
4039 if ($self->testDetectChar($text, '"', 0, 0, 0, undef, 0, 'Jsp Double Quoted Param Value', 'Jsp Param Value')) {
4042 # attribute => 'Jsp Param Value'
4044 # context => 'Jsp Single Quoted Param Value'
4045 # type => 'DetectChar'
4046 if ($self->testDetectChar($text, '\'', 0, 0, 0, undef, 0, 'Jsp Single Quoted Param Value', 'Jsp Param Value')) {
4049 # String => '\s*\/?\s*>'
4050 # attribute => 'Jsp Directive'
4051 # context => '#pop#pop'
4053 if ($self->testRegExpr($text, '\\s*\\/?\\s*>', 0, 0, 0, undef, 0, '#pop#pop', 'Jsp Directive')) {
4060 my ($self, $text) = @_;
4061 # String => '<%@\s*[a-zA-Z0-9_\.]*'
4062 # attribute => 'Jsp Directive'
4063 # context => 'Jsp Standard Directive'
4065 if ($self->testRegExpr($text, '<%@\\s*[a-zA-Z0-9_\\.]*', 0, 0, 0, undef, 0, 'Jsp Standard Directive', 'Jsp Directive')) {
4068 # String => '<\s*jsp:(declaration|expression|scriptlet)\s*>'
4069 # attribute => 'Jsp Scriptlet'
4070 # context => 'Jsp Scriptlet'
4072 if ($self->testRegExpr($text, '<\\s*jsp:(declaration|expression|scriptlet)\\s*>', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
4075 # String => '<\s*\/?s*jsp:[a-zA-Z0-9_\.]*'
4076 # attribute => 'Jsp Directive'
4077 # context => 'Jsp Xml Directive'
4079 if ($self->testRegExpr($text, '<\\s*\\/?s*jsp:[a-zA-Z0-9_\\.]*', 0, 0, 0, undef, 0, 'Jsp Xml Directive', 'Jsp Directive')) {
4083 # attribute => 'Jsp Comment'
4084 # context => 'Jsp Comment'
4085 # type => 'StringDetect'
4086 if ($self->testStringDetect($text, '<%--', 0, 0, 0, undef, 0, 'Jsp Comment', 'Jsp Comment')) {
4089 # String => '<%(!|=)?'
4090 # attribute => 'Jsp Scriptlet'
4091 # context => 'Jsp Scriptlet'
4093 if ($self->testRegExpr($text, '<%(!|=)?', 0, 0, 0, undef, 0, 'Jsp Scriptlet', 'Jsp Scriptlet')) {
4097 # attribute => 'Html Comment'
4098 # context => 'Html Comment'
4099 # type => 'StringDetect'
4100 if ($self->testStringDetect($text, '<!--', 0, 0, 0, undef, 0, 'Html Comment', 'Html Comment')) {
4103 # attribute => 'Jsp Expression'
4106 # context => 'Jsp Expression'
4107 # type => 'Detect2Chars'
4108 if ($self->testDetect2Chars($text, '$', '{', 0, 0, 0, undef, 0, 'Jsp Expression', 'Jsp Expression')) {
4111 # String => '<\s*\/?\s*\$?[a-zA-Z0-9_]*:\$?[a-zA-Z0-9_]*'
4112 # attribute => 'Keyword'
4113 # context => 'Jsp Custom Tag'
4115 if ($self->testRegExpr($text, '<\\s*\\/?\\s*\\$?[a-zA-Z0-9_]*:\\$?[a-zA-Z0-9_]*', 0, 0, 0, undef, 0, 'Jsp Custom Tag', 'Keyword')) {
4118 # String => '<![CDATA['
4119 # attribute => 'Normal Text'
4120 # context => '#stay'
4121 # type => 'StringDetect'
4122 if ($self->testStringDetect($text, '<![CDATA[', 0, 0, 0, undef, 0, '#stay', 'Normal Text')) {
4126 # attribute => 'Normal Text'
4127 # context => '#stay'
4128 # type => 'StringDetect'
4129 if ($self->testStringDetect($text, ']]>', 0, 0, 0, undef, 0, '#stay', 'Normal Text')) {
4132 # String => '<\s*\/?\s*[a-zA-Z0-9_]*'
4133 # attribute => 'Normal Text'
4134 # context => 'Html Attribute'
4136 if ($self->testRegExpr($text, '<\\s*\\/?\\s*[a-zA-Z0-9_]*', 0, 0, 0, undef, 0, 'Html Attribute', 'Normal Text')) {
4149 Syntax::Highlight::Engine::Kate::JSP - a Plugin for JSP syntax highlighting
4153 require Syntax::Highlight::Engine::Kate::JSP;
4154 my $sh = new Syntax::Highlight::Engine::Kate::JSP([
4159 Syntax::Highlight::Engine::Kate::JSP is a plugin module that provides syntax highlighting
4160 for JSP to the Syntax::Haghlight::Engine::Kate highlighting engine.
4162 This code is generated from the syntax definition files used
4163 by the Kate project.
4164 It works quite fine, but can use refinement and optimization.
4166 It inherits Syntax::Higlight::Engine::Kate::Template. See also there.
4172 Hans Jeuken (haje <at> toneel <dot> demon <dot> nl)
4178 Unknown. If you find any, please contact the author