802 lines
176 KiB
PHP
802 lines
176 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* Auto-generated class. JAVA syntax highlighting
|
||
|
*
|
||
|
* PHP version 4 and 5
|
||
|
*
|
||
|
* LICENSE: This source file is subject to version 3.0 of the PHP license
|
||
|
* that is available through the world-wide-web at the following URI:
|
||
|
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
|
||
|
* the PHP License and are unable to obtain it through the web, please
|
||
|
* send a note to license@php.net so we can mail you a copy immediately.
|
||
|
*
|
||
|
* @copyright 2004-2006 Andrey Demenev
|
||
|
* @license http://www.php.net/license/3_0.txt PHP License
|
||
|
* @link http://pear.php.net/package/Text_Highlighter
|
||
|
* @category Text
|
||
|
* @package Text_Highlighter
|
||
|
* @version generated from: : java.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp
|
||
|
* @author Andrey Demenev <demenev@gmail.com>
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* @ignore
|
||
|
*/
|
||
|
|
||
|
require_once 'Text/Highlighter.php';
|
||
|
|
||
|
/**
|
||
|
* Auto-generated class. JAVA syntax highlighting
|
||
|
*
|
||
|
* @author Andrey Demenev <demenev@gmail.com>
|
||
|
* @category Text
|
||
|
* @package Text_Highlighter
|
||
|
* @copyright 2004-2006 Andrey Demenev
|
||
|
* @license http://www.php.net/license/3_0.txt PHP License
|
||
|
* @version Release: @package_version@
|
||
|
* @link http://pear.php.net/package/Text_Highlighter
|
||
|
*/
|
||
|
class Text_Highlighter_JAVA extends Text_Highlighter
|
||
|
{
|
||
|
var $_language = 'java';
|
||
|
|
||
|
/**
|
||
|
* PHP4 Compatible Constructor
|
||
|
*
|
||
|
* @param array $options
|
||
|
* @access public
|
||
|
*/
|
||
|
function Text_Highlighter_JAVA($options=array())
|
||
|
{
|
||
|
$this->__construct($options);
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Constructor
|
||
|
*
|
||
|
* @param array $options
|
||
|
* @access public
|
||
|
*/
|
||
|
function __construct($options=array())
|
||
|
{
|
||
|
|
||
|
$this->_options = $options;
|
||
|
$this->_regs = array (
|
||
|
-1 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)\')|((?i)\\/\\/)|((?i)[a-z_]\\w*)|((?i)0[xX][\\da-f]+)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/',
|
||
|
0 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)\')|((?i)\\/\\/)|((?i)[a-z_]\\w*)|((?i)0[xX][\\da-f]+)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/',
|
||
|
1 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)\')|((?i)\\/\\/)|((?i)[a-z_]\\w*)|((?i)0[xX][\\da-f]+)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/',
|
||
|
2 => '/((?i)\\{)|((?i)\\()|((?i)\\[)|((?i)\\/\\*)|((?i)")|((?i)\')|((?i)\\/\\/)|((?i)[a-z_]\\w*)|((?i)0[xX][\\da-f]+)|((?i)\\d\\d*|\\b0\\b)|((?i)0[0-7]+)|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))/',
|
||
|
3 => '/((?i)\\s@\\w+\\s)|((?i)((https?|ftp):\\/\\/[\\w\\?\\.\\-\\&=\\/%+]+)|(^|[\\s,!?])www\\.\\w+\\.\\w+[\\w\\?\\.\\&=\\/%+]*)|((?i)\\w+[\\.\\w\\-]+@(\\w+[\\.\\w\\-])+)|((?i)\\bnote:)|((?i)\\$\\w+\\s*:.*\\$)/',
|
||
|
4 => '/((?i)\\\\[\\\\"\'`tnr\\$\\{])/',
|
||
|
5 => '/((?i)\\\\.)/',
|
||
|
6 => '/((?i)\\s@\\w+\\s)|((?i)((https?|ftp):\\/\\/[\\w\\?\\.\\-\\&=\\/%+]+)|(^|[\\s,!?])www\\.\\w+\\.\\w+[\\w\\?\\.\\&=\\/%+]*)|((?i)\\w+[\\.\\w\\-]+@(\\w+[\\.\\w\\-])+)|((?i)\\bnote:)|((?i)\\$\\w+\\s*:.*\\$)/',
|
||
|
);
|
||
|
$this->_counts = array (
|
||
|
-1 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 0,
|
||
|
2 => 0,
|
||
|
3 => 0,
|
||
|
4 => 0,
|
||
|
5 => 0,
|
||
|
6 => 0,
|
||
|
7 => 0,
|
||
|
8 => 0,
|
||
|
9 => 0,
|
||
|
10 => 0,
|
||
|
11 => 2,
|
||
|
12 => 5,
|
||
|
),
|
||
|
0 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 0,
|
||
|
2 => 0,
|
||
|
3 => 0,
|
||
|
4 => 0,
|
||
|
5 => 0,
|
||
|
6 => 0,
|
||
|
7 => 0,
|
||
|
8 => 0,
|
||
|
9 => 0,
|
||
|
10 => 0,
|
||
|
11 => 2,
|
||
|
12 => 5,
|
||
|
),
|
||
|
1 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 0,
|
||
|
2 => 0,
|
||
|
3 => 0,
|
||
|
4 => 0,
|
||
|
5 => 0,
|
||
|
6 => 0,
|
||
|
7 => 0,
|
||
|
8 => 0,
|
||
|
9 => 0,
|
||
|
10 => 0,
|
||
|
11 => 2,
|
||
|
12 => 5,
|
||
|
),
|
||
|
2 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 0,
|
||
|
2 => 0,
|
||
|
3 => 0,
|
||
|
4 => 0,
|
||
|
5 => 0,
|
||
|
6 => 0,
|
||
|
7 => 0,
|
||
|
8 => 0,
|
||
|
9 => 0,
|
||
|
10 => 0,
|
||
|
11 => 2,
|
||
|
12 => 5,
|
||
|
),
|
||
|
3 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 3,
|
||
|
2 => 1,
|
||
|
3 => 0,
|
||
|
4 => 0,
|
||
|
),
|
||
|
4 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
),
|
||
|
5 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
),
|
||
|
6 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 3,
|
||
|
2 => 1,
|
||
|
3 => 0,
|
||
|
4 => 0,
|
||
|
),
|
||
|
);
|
||
|
$this->_delim = array (
|
||
|
-1 =>
|
||
|
array (
|
||
|
0 => 'brackets',
|
||
|
1 => 'brackets',
|
||
|
2 => 'brackets',
|
||
|
3 => 'comment',
|
||
|
4 => 'quotes',
|
||
|
5 => 'quotes',
|
||
|
6 => 'comment',
|
||
|
7 => '',
|
||
|
8 => '',
|
||
|
9 => '',
|
||
|
10 => '',
|
||
|
11 => '',
|
||
|
12 => '',
|
||
|
),
|
||
|
0 =>
|
||
|
array (
|
||
|
0 => 'brackets',
|
||
|
1 => 'brackets',
|
||
|
2 => 'brackets',
|
||
|
3 => 'comment',
|
||
|
4 => 'quotes',
|
||
|
5 => 'quotes',
|
||
|
6 => 'comment',
|
||
|
7 => '',
|
||
|
8 => '',
|
||
|
9 => '',
|
||
|
10 => '',
|
||
|
11 => '',
|
||
|
12 => '',
|
||
|
),
|
||
|
1 =>
|
||
|
array (
|
||
|
0 => 'brackets',
|
||
|
1 => 'brackets',
|
||
|
2 => 'brackets',
|
||
|
3 => 'comment',
|
||
|
4 => 'quotes',
|
||
|
5 => 'quotes',
|
||
|
6 => 'comment',
|
||
|
7 => '',
|
||
|
8 => '',
|
||
|
9 => '',
|
||
|
10 => '',
|
||
|
11 => '',
|
||
|
12 => '',
|
||
|
),
|
||
|
2 =>
|
||
|
array (
|
||
|
0 => 'brackets',
|
||
|
1 => 'brackets',
|
||
|
2 => 'brackets',
|
||
|
3 => 'comment',
|
||
|
4 => 'quotes',
|
||
|
5 => 'quotes',
|
||
|
6 => 'comment',
|
||
|
7 => '',
|
||
|
8 => '',
|
||
|
9 => '',
|
||
|
10 => '',
|
||
|
11 => '',
|
||
|
12 => '',
|
||
|
),
|
||
|
3 =>
|
||
|
array (
|
||
|
0 => '',
|
||
|
1 => '',
|
||
|
2 => '',
|
||
|
3 => '',
|
||
|
4 => '',
|
||
|
),
|
||
|
4 =>
|
||
|
array (
|
||
|
0 => '',
|
||
|
),
|
||
|
5 =>
|
||
|
array (
|
||
|
0 => '',
|
||
|
),
|
||
|
6 =>
|
||
|
array (
|
||
|
0 => '',
|
||
|
1 => '',
|
||
|
2 => '',
|
||
|
3 => '',
|
||
|
4 => '',
|
||
|
),
|
||
|
);
|
||
|
$this->_inner = array (
|
||
|
-1 =>
|
||
|
array (
|
||
|
0 => 'code',
|
||
|
1 => 'code',
|
||
|
2 => 'code',
|
||
|
3 => 'comment',
|
||
|
4 => 'string',
|
||
|
5 => 'string',
|
||
|
6 => 'comment',
|
||
|
7 => 'identifier',
|
||
|
8 => 'number',
|
||
|
9 => 'number',
|
||
|
10 => 'number',
|
||
|
11 => 'number',
|
||
|
12 => 'number',
|
||
|
),
|
||
|
0 =>
|
||
|
array (
|
||
|
0 => 'code',
|
||
|
1 => 'code',
|
||
|
2 => 'code',
|
||
|
3 => 'comment',
|
||
|
4 => 'string',
|
||
|
5 => 'string',
|
||
|
6 => 'comment',
|
||
|
7 => 'identifier',
|
||
|
8 => 'number',
|
||
|
9 => 'number',
|
||
|
10 => 'number',
|
||
|
11 => 'number',
|
||
|
12 => 'number',
|
||
|
),
|
||
|
1 =>
|
||
|
array (
|
||
|
0 => 'code',
|
||
|
1 => 'code',
|
||
|
2 => 'code',
|
||
|
3 => 'comment',
|
||
|
4 => 'string',
|
||
|
5 => 'string',
|
||
|
6 => 'comment',
|
||
|
7 => 'identifier',
|
||
|
8 => 'number',
|
||
|
9 => 'number',
|
||
|
10 => 'number',
|
||
|
11 => 'number',
|
||
|
12 => 'number',
|
||
|
),
|
||
|
2 =>
|
||
|
array (
|
||
|
0 => 'code',
|
||
|
1 => 'code',
|
||
|
2 => 'code',
|
||
|
3 => 'comment',
|
||
|
4 => 'string',
|
||
|
5 => 'string',
|
||
|
6 => 'comment',
|
||
|
7 => 'identifier',
|
||
|
8 => 'number',
|
||
|
9 => 'number',
|
||
|
10 => 'number',
|
||
|
11 => 'number',
|
||
|
12 => 'number',
|
||
|
),
|
||
|
3 =>
|
||
|
array (
|
||
|
0 => 'inlinedoc',
|
||
|
1 => 'url',
|
||
|
2 => 'url',
|
||
|
3 => 'inlinedoc',
|
||
|
4 => 'inlinedoc',
|
||
|
),
|
||
|
4 =>
|
||
|
array (
|
||
|
0 => 'special',
|
||
|
),
|
||
|
5 =>
|
||
|
array (
|
||
|
0 => 'special',
|
||
|
),
|
||
|
6 =>
|
||
|
array (
|
||
|
0 => 'inlinedoc',
|
||
|
1 => 'url',
|
||
|
2 => 'url',
|
||
|
3 => 'inlinedoc',
|
||
|
4 => 'inlinedoc',
|
||
|
),
|
||
|
);
|
||
|
$this->_end = array (
|
||
|
0 => '/(?i)\\}/',
|
||
|
1 => '/(?i)\\)/',
|
||
|
2 => '/(?i)\\]/',
|
||
|
3 => '/(?i)\\*\\//',
|
||
|
4 => '/(?i)"/',
|
||
|
5 => '/(?i)\'/',
|
||
|
6 => '/(?mi)$/',
|
||
|
);
|
||
|
$this->_states = array (
|
||
|
-1 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 1,
|
||
|
2 => 2,
|
||
|
3 => 3,
|
||
|
4 => 4,
|
||
|
5 => 5,
|
||
|
6 => 6,
|
||
|
7 => -1,
|
||
|
8 => -1,
|
||
|
9 => -1,
|
||
|
10 => -1,
|
||
|
11 => -1,
|
||
|
12 => -1,
|
||
|
),
|
||
|
0 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 1,
|
||
|
2 => 2,
|
||
|
3 => 3,
|
||
|
4 => 4,
|
||
|
5 => 5,
|
||
|
6 => 6,
|
||
|
7 => -1,
|
||
|
8 => -1,
|
||
|
9 => -1,
|
||
|
10 => -1,
|
||
|
11 => -1,
|
||
|
12 => -1,
|
||
|
),
|
||
|
1 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 1,
|
||
|
2 => 2,
|
||
|
3 => 3,
|
||
|
4 => 4,
|
||
|
5 => 5,
|
||
|
6 => 6,
|
||
|
7 => -1,
|
||
|
8 => -1,
|
||
|
9 => -1,
|
||
|
10 => -1,
|
||
|
11 => -1,
|
||
|
12 => -1,
|
||
|
),
|
||
|
2 =>
|
||
|
array (
|
||
|
0 => 0,
|
||
|
1 => 1,
|
||
|
2 => 2,
|
||
|
3 => 3,
|
||
|
4 => 4,
|
||
|
5 => 5,
|
||
|
6 => 6,
|
||
|
7 => -1,
|
||
|
8 => -1,
|
||
|
9 => -1,
|
||
|
10 => -1,
|
||
|
11 => -1,
|
||
|
12 => -1,
|
||
|
),
|
||
|
3 =>
|
||
|
array (
|
||
|
0 => -1,
|
||
|
1 => -1,
|
||
|
2 => -1,
|
||
|
3 => -1,
|
||
|
4 => -1,
|
||
|
),
|
||
|
4 =>
|
||
|
array (
|
||
|
0 => -1,
|
||
|
),
|
||
|
5 =>
|
||
|
array (
|
||
|
0 => -1,
|
||
|
),
|
||
|
6 =>
|
||
|
array (
|
||
|
0 => -1,
|
||
|
1 => -1,
|
||
|
2 => -1,
|
||
|
3 => -1,
|
||
|
4 => -1,
|
||
|
),
|
||
|
);
|
||
|
$this->_keywords = array (
|
||
|
-1 =>
|
||
|
array (
|
||
|
0 => -1,
|
||
|
1 => -1,
|
||
|
2 => -1,
|
||
|
3 => -1,
|
||
|
4 => -1,
|
||
|
5 => -1,
|
||
|
6 => -1,
|
||
|
7 =>
|
||
|
array (
|
||
|
'types' => '/^(boolean|byte|char|const|double|final|float|int|long|short|static|void)$/',
|
||
|
'reserved' => '/^(import|package|abstract|break|case|catch|class|continue|default|do|else|extends|false|finally|for|goto|if|implements|instanceof|interface|native|new|null|private|protected|public|return|super|strictfp|switch|synchronized|this|throws|throw|transient|true|try|volatile|while)$/',
|
||
|
'builtin' => '/^(AbstractAction|AbstractBorder|AbstractButton|AbstractCellEditor|AbstractCollection|AbstractColorChooserPanel|AbstractDocument|AbstractInterruptibleChannel|AbstractLayoutCache|AbstractList|AbstractListModel|AbstractMap|AbstractMethodError|AbstractPreferences|AbstractSelectableChannel|AbstractSelectionKey|AbstractSelector|AbstractSequentialList|AbstractSet|AbstractSpinnerModel|AbstractTableModel|AbstractUndoableEdit|AbstractWriter|AccessControlContext|AccessControlException|AccessController|AccessException|Accessible|AccessibleAction|AccessibleBundle|AccessibleComponent|AccessibleContext|AccessibleEditableText|AccessibleExtendedComponent|AccessibleExtendedTable|AccessibleHyperlink|AccessibleHypertext|AccessibleIcon|AccessibleKeyBinding|AccessibleObject|AccessibleRelation|AccessibleRelationSet|AccessibleResourceBundle|AccessibleRole|AccessibleSelection|AccessibleState|AccessibleStateSet|AccessibleTable|AccessibleTableModelChange|AccessibleText|AccessibleValue|AccountExpiredException|Acl|AclEntry|AclNotFoundException|Action|ActionEvent|ActionListener|ActionMap|ActionMapUIResource|Activatable|ActivateFailedException|ActivationDesc|ActivationException|ActivationGroup|ActivationGroup_Stub|ActivationGroupDesc|ActivationGroupID|ActivationID|ActivationInstantiator|ActivationMonitor|ActivationSystem|Activator|ActiveEvent|AdapterActivator|AdapterActivatorOperations|AdapterAlreadyExists|AdapterAlreadyExistsHelper|AdapterInactive|AdapterInactiveHelper|AdapterNonExistent|AdapterNonExistentHelper|AddressHelper|Adjustable|AdjustmentEvent|AdjustmentListener|Adler32|AffineTransform|AffineTransformOp|AlgorithmParameterGenerator|AlgorithmParameterGeneratorSpi|AlgorithmParameters|AlgorithmParameterSpec|AlgorithmParametersSpi|AllPermission|AlphaComposite|AlreadyBound|AlreadyBoundException|AlreadyBoundHelper|AlreadyBoundHolder|AlreadyConnectedException|AncestorEvent|AncestorListener|Annotation|Any|AnyHolder|AnySeqHelper|AnySeqHolder|AppConfigurationEntry|Applet|AppletContext|AppletInitializer|AppletStub|ApplicationException|Arc2D|Area|AreaAveragingScaleFilter|ARG_IN|ARG_INOUT|ARG_OUT|ArithmeticException|Array|ArrayIndexOutOfBoundsException|ArrayList|Arrays|ArrayStoreException|AssertionError|AsyncBoxView|AsynchronousCloseException|Attr|Attribute|AttributedCharacterIterator|AttributedString|AttributeException|AttributeInUseException|AttributeList|AttributeListImpl|AttributeModificationException|Attributes|AttributeSet|AttributeSetUtilities|AttributesImpl|AudioClip|AudioFileFormat|AudioFileReader|AudioFileWriter|AudioFormat|AudioInputStream|AudioPermission|AudioSystem|AuthenticationException|AuthenticationNotSupportedException|Authenticator|AuthPermission|Autoscroll|AWTError|AWTEvent|AWTEventListener|AWTEventListenerProxy|AWTEventMulticaster|AWTException|AWTKeyStroke|AWTPermission|BackingStoreException|BAD_CONTEXT|BAD_INV_ORDER|BAD_OPERATION|BAD_PARAM|BAD_POLICY|BAD_POLICY_TYPE|BAD_POLICY_VALUE|BAD_TYPECODE|BadKind|BadLocationException|BadPaddingException|BandCombineOp|BandedSampleModel|BasicArrowButton|BasicAttribute|BasicAttributes|BasicBorders|BasicButtonListener|BasicButtonUI|BasicCheckBoxMenuItemUI|BasicCheckBoxUI|BasicColorChooserUI|BasicComboBoxEditor|BasicComboBoxRenderer|BasicComboBoxUI|BasicComboPopup|BasicDesktopIconUI|BasicDesktopPaneUI|BasicDirectoryModel|BasicEditorPaneUI|BasicFileChooserUI|BasicFormattedTextFieldUI|BasicGraphicsUtils|BasicHTML|BasicIconFactory|BasicInternalFrameTitlePane|BasicInternalFrameUI|BasicLabelUI|BasicListUI|BasicLookAndFeel|BasicMenuBarUI|BasicMenuItemUI|BasicMenuUI|BasicOptionPaneUI|BasicPanelUI|BasicPasswordFieldUI|BasicPermission|BasicPopupMenuSeparatorUI|BasicPopupMenuUI|BasicProgressBarUI|BasicRadioButtonMenuItemUI|BasicRadioButtonUI|BasicRootPaneUI|BasicScrollBarUI|BasicScrollPaneUI|BasicSeparatorUI|BasicSliderUI|BasicSpinnerUI|BasicSplitPaneDivider|BasicSplitPaneUI|BasicStroke|BasicTabbedPaneUI|BasicTableHeaderUI|BasicTableUI|BasicTextAreaUI|BasicTextFieldUI|BasicTextPaneUI|BasicTextUI|BasicToggleButtonUI|BasicToolBarSeparatorUI|BasicToolBarUI|BasicToolTipUI|Basi
|
||
|
),
|
||
|
8 =>
|
||
|
array (
|
||
|
),
|
||
|
9 =>
|
||
|
array (
|
||
|
),
|
||
|
10 =>
|
||
|
array (
|
||
|
),
|
||
|
11 =>
|
||
|
array (
|
||
|
),
|
||
|
12 =>
|
||
|
array (
|
||
|
),
|
||
|
),
|
||
|
0 =>
|
||
|
array (
|
||
|
0 => -1,
|
||
|
1 => -1,
|
||
|
2 => -1,
|
||
|
3 => -1,
|
||
|
4 => -1,
|
||
|
5 => -1,
|
||
|
6 => -1,
|
||
|
7 =>
|
||
|
array (
|
||
|
'types' => '/^(boolean|byte|char|const|double|final|float|int|long|short|static|void)$/',
|
||
|
'reserved' => '/^(import|package|abstract|break|case|catch|class|continue|default|do|else|extends|false|finally|for|goto|if|implements|instanceof|interface|native|new|null|private|protected|public|return|super|strictfp|switch|synchronized|this|throws|throw|transient|true|try|volatile|while)$/',
|
||
|
'builtin' => '/^(AbstractAction|AbstractBorder|AbstractButton|AbstractCellEditor|AbstractCollection|AbstractColorChooserPanel|AbstractDocument|AbstractInterruptibleChannel|AbstractLayoutCache|AbstractList|AbstractListModel|AbstractMap|AbstractMethodError|AbstractPreferences|AbstractSelectableChannel|AbstractSelectionKey|AbstractSelector|AbstractSequentialList|AbstractSet|AbstractSpinnerModel|AbstractTableModel|AbstractUndoableEdit|AbstractWriter|AccessControlContext|AccessControlException|AccessController|AccessException|Accessible|AccessibleAction|AccessibleBundle|AccessibleComponent|AccessibleContext|AccessibleEditableText|AccessibleExtendedComponent|AccessibleExtendedTable|AccessibleHyperlink|AccessibleHypertext|AccessibleIcon|AccessibleKeyBinding|AccessibleObject|AccessibleRelation|AccessibleRelationSet|AccessibleResourceBundle|AccessibleRole|AccessibleSelection|AccessibleState|AccessibleStateSet|AccessibleTable|AccessibleTableModelChange|AccessibleText|AccessibleValue|AccountExpiredException|Acl|AclEntry|AclNotFoundException|Action|ActionEvent|ActionListener|ActionMap|ActionMapUIResource|Activatable|ActivateFailedException|ActivationDesc|ActivationException|ActivationGroup|ActivationGroup_Stub|ActivationGroupDesc|ActivationGroupID|ActivationID|ActivationInstantiator|ActivationMonitor|ActivationSystem|Activator|ActiveEvent|AdapterActivator|AdapterActivatorOperations|AdapterAlreadyExists|AdapterAlreadyExistsHelper|AdapterInactive|AdapterInactiveHelper|AdapterNonExistent|AdapterNonExistentHelper|AddressHelper|Adjustable|AdjustmentEvent|AdjustmentListener|Adler32|AffineTransform|AffineTransformOp|AlgorithmParameterGenerator|AlgorithmParameterGeneratorSpi|AlgorithmParameters|AlgorithmParameterSpec|AlgorithmParametersSpi|AllPermission|AlphaComposite|AlreadyBound|AlreadyBoundException|AlreadyBoundHelper|AlreadyBoundHolder|AlreadyConnectedException|AncestorEvent|AncestorListener|Annotation|Any|AnyHolder|AnySeqHelper|AnySeqHolder|AppConfigurationEntry|Applet|AppletContext|AppletInitializer|AppletStub|ApplicationException|Arc2D|Area|AreaAveragingScaleFilter|ARG_IN|ARG_INOUT|ARG_OUT|ArithmeticException|Array|ArrayIndexOutOfBoundsException|ArrayList|Arrays|ArrayStoreException|AssertionError|AsyncBoxView|AsynchronousCloseException|Attr|Attribute|AttributedCharacterIterator|AttributedString|AttributeException|AttributeInUseException|AttributeList|AttributeListImpl|AttributeModificationException|Attributes|AttributeSet|AttributeSetUtilities|AttributesImpl|AudioClip|AudioFileFormat|AudioFileReader|AudioFileWriter|AudioFormat|AudioInputStream|AudioPermission|AudioSystem|AuthenticationException|AuthenticationNotSupportedException|Authenticator|AuthPermission|Autoscroll|AWTError|AWTEvent|AWTEventListener|AWTEventListenerProxy|AWTEventMulticaster|AWTException|AWTKeyStroke|AWTPermission|BackingStoreException|BAD_CONTEXT|BAD_INV_ORDER|BAD_OPERATION|BAD_PARAM|BAD_POLICY|BAD_POLICY_TYPE|BAD_POLICY_VALUE|BAD_TYPECODE|BadKind|BadLocationException|BadPaddingException|BandCombineOp|BandedSampleModel|BasicArrowButton|BasicAttribute|BasicAttributes|BasicBorders|BasicButtonListener|BasicButtonUI|BasicCheckBoxMenuItemUI|BasicCheckBoxUI|BasicColorChooserUI|BasicComboBoxEditor|BasicComboBoxRenderer|BasicComboBoxUI|BasicComboPopup|BasicDesktopIconUI|BasicDesktopPaneUI|BasicDirectoryModel|BasicEditorPaneUI|BasicFileChooserUI|BasicFormattedTextFieldUI|BasicGraphicsUtils|BasicHTML|BasicIconFactory|BasicInternalFrameTitlePane|BasicInternalFrameUI|BasicLabelUI|BasicListUI|BasicLookAndFeel|BasicMenuBarUI|BasicMenuItemUI|BasicMenuUI|BasicOptionPaneUI|BasicPanelUI|BasicPasswordFieldUI|BasicPermission|BasicPopupMenuSeparatorUI|BasicPopupMenuUI|BasicProgressBarUI|BasicRadioButtonMenuItemUI|BasicRadioButtonUI|BasicRootPaneUI|BasicScrollBarUI|BasicScrollPaneUI|BasicSeparatorUI|BasicSliderUI|BasicSpinnerUI|BasicSplitPaneDivider|BasicSplitPaneUI|BasicStroke|BasicTabbedPaneUI|BasicTableHeaderUI|BasicTableUI|BasicTextAreaUI|BasicTextFieldUI|BasicTextPaneUI|BasicTextUI|BasicToggleButtonUI|BasicToolBarSeparatorUI|BasicToolBarUI|BasicToolTipUI|Basi
|
||
|
),
|
||
|
8 =>
|
||
|
array (
|
||
|
),
|
||
|
9 =>
|
||
|
array (
|
||
|
),
|
||
|
10 =>
|
||
|
array (
|
||
|
),
|
||
|
11 =>
|
||
|
array (
|
||
|
),
|
||
|
12 =>
|
||
|
array (
|
||
|
),
|
||
|
),
|
||
|
1 =>
|
||
|
array (
|
||
|
0 => -1,
|
||
|
1 => -1,
|
||
|
2 => -1,
|
||
|
3 => -1,
|
||
|
4 => -1,
|
||
|
5 => -1,
|
||
|
6 => -1,
|
||
|
7 =>
|
||
|
array (
|
||
|
'types' => '/^(boolean|byte|char|const|double|final|float|int|long|short|static|void)$/',
|
||
|
'reserved' => '/^(import|package|abstract|break|case|catch|class|continue|default|do|else|extends|false|finally|for|goto|if|implements|instanceof|interface|native|new|null|private|protected|public|return|super|strictfp|switch|synchronized|this|throws|throw|transient|true|try|volatile|while)$/',
|
||
|
'builtin' => '/^(AbstractAction|AbstractBorder|AbstractButton|AbstractCellEditor|AbstractCollection|AbstractColorChooserPanel|AbstractDocument|AbstractInterruptibleChannel|AbstractLayoutCache|AbstractList|AbstractListModel|AbstractMap|AbstractMethodError|AbstractPreferences|AbstractSelectableChannel|AbstractSelectionKey|AbstractSelector|AbstractSequentialList|AbstractSet|AbstractSpinnerModel|AbstractTableModel|AbstractUndoableEdit|AbstractWriter|AccessControlContext|AccessControlException|AccessController|AccessException|Accessible|AccessibleAction|AccessibleBundle|AccessibleComponent|AccessibleContext|AccessibleEditableText|AccessibleExtendedComponent|AccessibleExtendedTable|AccessibleHyperlink|AccessibleHypertext|AccessibleIcon|AccessibleKeyBinding|AccessibleObject|AccessibleRelation|AccessibleRelationSet|AccessibleResourceBundle|AccessibleRole|AccessibleSelection|AccessibleState|AccessibleStateSet|AccessibleTable|AccessibleTableModelChange|AccessibleText|AccessibleValue|AccountExpiredException|Acl|AclEntry|AclNotFoundException|Action|ActionEvent|ActionListener|ActionMap|ActionMapUIResource|Activatable|ActivateFailedException|ActivationDesc|ActivationException|ActivationGroup|ActivationGroup_Stub|ActivationGroupDesc|ActivationGroupID|ActivationID|ActivationInstantiator|ActivationMonitor|ActivationSystem|Activator|ActiveEvent|AdapterActivator|AdapterActivatorOperations|AdapterAlreadyExists|AdapterAlreadyExistsHelper|AdapterInactive|AdapterInactiveHelper|AdapterNonExistent|AdapterNonExistentHelper|AddressHelper|Adjustable|AdjustmentEvent|AdjustmentListener|Adler32|AffineTransform|AffineTransformOp|AlgorithmParameterGenerator|AlgorithmParameterGeneratorSpi|AlgorithmParameters|AlgorithmParameterSpec|AlgorithmParametersSpi|AllPermission|AlphaComposite|AlreadyBound|AlreadyBoundException|AlreadyBoundHelper|AlreadyBoundHolder|AlreadyConnectedException|AncestorEvent|AncestorListener|Annotation|Any|AnyHolder|AnySeqHelper|AnySeqHolder|AppConfigurationEntry|Applet|AppletContext|AppletInitializer|AppletStub|ApplicationException|Arc2D|Area|AreaAveragingScaleFilter|ARG_IN|ARG_INOUT|ARG_OUT|ArithmeticException|Array|ArrayIndexOutOfBoundsException|ArrayList|Arrays|ArrayStoreException|AssertionError|AsyncBoxView|AsynchronousCloseException|Attr|Attribute|AttributedCharacterIterator|AttributedString|AttributeException|AttributeInUseException|AttributeList|AttributeListImpl|AttributeModificationException|Attributes|AttributeSet|AttributeSetUtilities|AttributesImpl|AudioClip|AudioFileFormat|AudioFileReader|AudioFileWriter|AudioFormat|AudioInputStream|AudioPermission|AudioSystem|AuthenticationException|AuthenticationNotSupportedException|Authenticator|AuthPermission|Autoscroll|AWTError|AWTEvent|AWTEventListener|AWTEventListenerProxy|AWTEventMulticaster|AWTException|AWTKeyStroke|AWTPermission|BackingStoreException|BAD_CONTEXT|BAD_INV_ORDER|BAD_OPERATION|BAD_PARAM|BAD_POLICY|BAD_POLICY_TYPE|BAD_POLICY_VALUE|BAD_TYPECODE|BadKind|BadLocationException|BadPaddingException|BandCombineOp|BandedSampleModel|BasicArrowButton|BasicAttribute|BasicAttributes|BasicBorders|BasicButtonListener|BasicButtonUI|BasicCheckBoxMenuItemUI|BasicCheckBoxUI|BasicColorChooserUI|BasicComboBoxEditor|BasicComboBoxRenderer|BasicComboBoxUI|BasicComboPopup|BasicDesktopIconUI|BasicDesktopPaneUI|BasicDirectoryModel|BasicEditorPaneUI|BasicFileChooserUI|BasicFormattedTextFieldUI|BasicGraphicsUtils|BasicHTML|BasicIconFactory|BasicInternalFrameTitlePane|BasicInternalFrameUI|BasicLabelUI|BasicListUI|BasicLookAndFeel|BasicMenuBarUI|BasicMenuItemUI|BasicMenuUI|BasicOptionPaneUI|BasicPanelUI|BasicPasswordFieldUI|BasicPermission|BasicPopupMenuSeparatorUI|BasicPopupMenuUI|BasicProgressBarUI|BasicRadioButtonMenuItemUI|BasicRadioButtonUI|BasicRootPaneUI|BasicScrollBarUI|BasicScrollPaneUI|BasicSeparatorUI|BasicSliderUI|BasicSpinnerUI|BasicSplitPaneDivider|BasicSplitPaneUI|BasicStroke|BasicTabbedPaneUI|BasicTableHeaderUI|BasicTableUI|BasicTextAreaUI|BasicTextFieldUI|BasicTextPaneUI|BasicTextUI|BasicToggleButtonUI|BasicToolBarSeparatorUI|BasicToolBarUI|BasicToolTipUI|Basi
|
||
|
),
|
||
|
8 =>
|
||
|
array (
|
||
|
),
|
||
|
9 =>
|
||
|
array (
|
||
|
),
|
||
|
10 =>
|
||
|
array (
|
||
|
),
|
||
|
11 =>
|
||
|
array (
|
||
|
),
|
||
|
12 =>
|
||
|
array (
|
||
|
),
|
||
|
),
|
||
|
2 =>
|
||
|
array (
|
||
|
0 => -1,
|
||
|
1 => -1,
|
||
|
2 => -1,
|
||
|
3 => -1,
|
||
|
4 => -1,
|
||
|
5 => -1,
|
||
|
6 => -1,
|
||
|
7 =>
|
||
|
array (
|
||
|
'types' => '/^(boolean|byte|char|const|double|final|float|int|long|short|static|void)$/',
|
||
|
'reserved' => '/^(import|package|abstract|break|case|catch|class|continue|default|do|else|extends|false|finally|for|goto|if|implements|instanceof|interface|native|new|null|private|protected|public|return|super|strictfp|switch|synchronized|this|throws|throw|transient|true|try|volatile|while)$/',
|
||
|
'builtin' => '/^(AbstractAction|AbstractBorder|AbstractButton|AbstractCellEditor|AbstractCollection|AbstractColorChooserPanel|AbstractDocument|AbstractInterruptibleChannel|AbstractLayoutCache|AbstractList|AbstractListModel|AbstractMap|AbstractMethodError|AbstractPreferences|AbstractSelectableChannel|AbstractSelectionKey|AbstractSelector|AbstractSequentialList|AbstractSet|AbstractSpinnerModel|AbstractTableModel|AbstractUndoableEdit|AbstractWriter|AccessControlContext|AccessControlException|AccessController|AccessException|Accessible|AccessibleAction|AccessibleBundle|AccessibleComponent|AccessibleContext|AccessibleEditableText|AccessibleExtendedComponent|AccessibleExtendedTable|AccessibleHyperlink|AccessibleHypertext|AccessibleIcon|AccessibleKeyBinding|AccessibleObject|AccessibleRelation|AccessibleRelationSet|AccessibleResourceBundle|AccessibleRole|AccessibleSelection|AccessibleState|AccessibleStateSet|AccessibleTable|AccessibleTableModelChange|AccessibleText|AccessibleValue|AccountExpiredException|Acl|AclEntry|AclNotFoundException|Action|ActionEvent|ActionListener|ActionMap|ActionMapUIResource|Activatable|ActivateFailedException|ActivationDesc|ActivationException|ActivationGroup|ActivationGroup_Stub|ActivationGroupDesc|ActivationGroupID|ActivationID|ActivationInstantiator|ActivationMonitor|ActivationSystem|Activator|ActiveEvent|AdapterActivator|AdapterActivatorOperations|AdapterAlreadyExists|AdapterAlreadyExistsHelper|AdapterInactive|AdapterInactiveHelper|AdapterNonExistent|AdapterNonExistentHelper|AddressHelper|Adjustable|AdjustmentEvent|AdjustmentListener|Adler32|AffineTransform|AffineTransformOp|AlgorithmParameterGenerator|AlgorithmParameterGeneratorSpi|AlgorithmParameters|AlgorithmParameterSpec|AlgorithmParametersSpi|AllPermission|AlphaComposite|AlreadyBound|AlreadyBoundException|AlreadyBoundHelper|AlreadyBoundHolder|AlreadyConnectedException|AncestorEvent|AncestorListener|Annotation|Any|AnyHolder|AnySeqHelper|AnySeqHolder|AppConfigurationEntry|Applet|AppletContext|AppletInitializer|AppletStub|ApplicationException|Arc2D|Area|AreaAveragingScaleFilter|ARG_IN|ARG_INOUT|ARG_OUT|ArithmeticException|Array|ArrayIndexOutOfBoundsException|ArrayList|Arrays|ArrayStoreException|AssertionError|AsyncBoxView|AsynchronousCloseException|Attr|Attribute|AttributedCharacterIterator|AttributedString|AttributeException|AttributeInUseException|AttributeList|AttributeListImpl|AttributeModificationException|Attributes|AttributeSet|AttributeSetUtilities|AttributesImpl|AudioClip|AudioFileFormat|AudioFileReader|AudioFileWriter|AudioFormat|AudioInputStream|AudioPermission|AudioSystem|AuthenticationException|AuthenticationNotSupportedException|Authenticator|AuthPermission|Autoscroll|AWTError|AWTEvent|AWTEventListener|AWTEventListenerProxy|AWTEventMulticaster|AWTException|AWTKeyStroke|AWTPermission|BackingStoreException|BAD_CONTEXT|BAD_INV_ORDER|BAD_OPERATION|BAD_PARAM|BAD_POLICY|BAD_POLICY_TYPE|BAD_POLICY_VALUE|BAD_TYPECODE|BadKind|BadLocationException|BadPaddingException|BandCombineOp|BandedSampleModel|BasicArrowButton|BasicAttribute|BasicAttributes|BasicBorders|BasicButtonListener|BasicButtonUI|BasicCheckBoxMenuItemUI|BasicCheckBoxUI|BasicColorChooserUI|BasicComboBoxEditor|BasicComboBoxRenderer|BasicComboBoxUI|BasicComboPopup|BasicDesktopIconUI|BasicDesktopPaneUI|BasicDirectoryModel|BasicEditorPaneUI|BasicFileChooserUI|BasicFormattedTextFieldUI|BasicGraphicsUtils|BasicHTML|BasicIconFactory|BasicInternalFrameTitlePane|BasicInternalFrameUI|BasicLabelUI|BasicListUI|BasicLookAndFeel|BasicMenuBarUI|BasicMenuItemUI|BasicMenuUI|BasicOptionPaneUI|BasicPanelUI|BasicPasswordFieldUI|BasicPermission|BasicPopupMenuSeparatorUI|BasicPopupMenuUI|BasicProgressBarUI|BasicRadioButtonMenuItemUI|BasicRadioButtonUI|BasicRootPaneUI|BasicScrollBarUI|BasicScrollPaneUI|BasicSeparatorUI|BasicSliderUI|BasicSpinnerUI|BasicSplitPaneDivider|BasicSplitPaneUI|BasicStroke|BasicTabbedPaneUI|BasicTableHeaderUI|BasicTableUI|BasicTextAreaUI|BasicTextFieldUI|BasicTextPaneUI|BasicTextUI|BasicToggleButtonUI|BasicToolBarSeparatorUI|BasicToolBarUI|BasicToolTipUI|Basi
|
||
|
),
|
||
|
8 =>
|
||
|
array (
|
||
|
),
|
||
|
9 =>
|
||
|
array (
|
||
|
),
|
||
|
10 =>
|
||
|
array (
|
||
|
),
|
||
|
11 =>
|
||
|
array (
|
||
|
),
|
||
|
12 =>
|
||
|
array (
|
||
|
),
|
||
|
),
|
||
|
3 =>
|
||
|
array (
|
||
|
0 =>
|
||
|
array (
|
||
|
),
|
||
|
1 =>
|
||
|
array (
|
||
|
),
|
||
|
2 =>
|
||
|
array (
|
||
|
),
|
||
|
3 =>
|
||
|
array (
|
||
|
),
|
||
|
4 =>
|
||
|
array (
|
||
|
),
|
||
|
),
|
||
|
4 =>
|
||
|
array (
|
||
|
0 =>
|
||
|
array (
|
||
|
),
|
||
|
),
|
||
|
5 =>
|
||
|
array (
|
||
|
0 =>
|
||
|
array (
|
||
|
),
|
||
|
),
|
||
|
6 =>
|
||
|
array (
|
||
|
0 =>
|
||
|
array (
|
||
|
),
|
||
|
1 =>
|
||
|
array (
|
||
|
),
|
||
|
2 =>
|
||
|
array (
|
||
|
),
|
||
|
3 =>
|
||
|
array (
|
||
|
),
|
||
|
4 =>
|
||
|
array (
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
$this->_parts = array (
|
||
|
0 =>
|
||
|
array (
|
||
|
0 => NULL,
|
||
|
1 => NULL,
|
||
|
2 => NULL,
|
||
|
3 => NULL,
|
||
|
4 => NULL,
|
||
|
5 => NULL,
|
||
|
6 => NULL,
|
||
|
7 => NULL,
|
||
|
8 => NULL,
|
||
|
9 => NULL,
|
||
|
10 => NULL,
|
||
|
11 => NULL,
|
||
|
12 => NULL,
|
||
|
),
|
||
|
1 =>
|
||
|
array (
|
||
|
0 => NULL,
|
||
|
1 => NULL,
|
||
|
2 => NULL,
|
||
|
3 => NULL,
|
||
|
4 => NULL,
|
||
|
5 => NULL,
|
||
|
6 => NULL,
|
||
|
7 => NULL,
|
||
|
8 => NULL,
|
||
|
9 => NULL,
|
||
|
10 => NULL,
|
||
|
11 => NULL,
|
||
|
12 => NULL,
|
||
|
),
|
||
|
2 =>
|
||
|
array (
|
||
|
0 => NULL,
|
||
|
1 => NULL,
|
||
|
2 => NULL,
|
||
|
3 => NULL,
|
||
|
4 => NULL,
|
||
|
5 => NULL,
|
||
|
6 => NULL,
|
||
|
7 => NULL,
|
||
|
8 => NULL,
|
||
|
9 => NULL,
|
||
|
10 => NULL,
|
||
|
11 => NULL,
|
||
|
12 => NULL,
|
||
|
),
|
||
|
3 =>
|
||
|
array (
|
||
|
0 => NULL,
|
||
|
1 => NULL,
|
||
|
2 => NULL,
|
||
|
3 => NULL,
|
||
|
4 => NULL,
|
||
|
),
|
||
|
4 =>
|
||
|
array (
|
||
|
0 => NULL,
|
||
|
),
|
||
|
5 =>
|
||
|
array (
|
||
|
0 => NULL,
|
||
|
),
|
||
|
6 =>
|
||
|
array (
|
||
|
0 => NULL,
|
||
|
1 => NULL,
|
||
|
2 => NULL,
|
||
|
3 => NULL,
|
||
|
4 => NULL,
|
||
|
),
|
||
|
);
|
||
|
$this->_subst = array (
|
||
|
-1 =>
|
||
|
array (
|
||
|
0 => false,
|
||
|
1 => false,
|
||
|
2 => false,
|
||
|
3 => false,
|
||
|
4 => false,
|
||
|
5 => false,
|
||
|
6 => false,
|
||
|
7 => false,
|
||
|
8 => false,
|
||
|
9 => false,
|
||
|
10 => false,
|
||
|
11 => false,
|
||
|
12 => false,
|
||
|
),
|
||
|
0 =>
|
||
|
array (
|
||
|
0 => false,
|
||
|
1 => false,
|
||
|
2 => false,
|
||
|
3 => false,
|
||
|
4 => false,
|
||
|
5 => false,
|
||
|
6 => false,
|
||
|
7 => false,
|
||
|
8 => false,
|
||
|
9 => false,
|
||
|
10 => false,
|
||
|
11 => false,
|
||
|
12 => false,
|
||
|
),
|
||
|
1 =>
|
||
|
array (
|
||
|
0 => false,
|
||
|
1 => false,
|
||
|
2 => false,
|
||
|
3 => false,
|
||
|
4 => false,
|
||
|
5 => false,
|
||
|
6 => false,
|
||
|
7 => false,
|
||
|
8 => false,
|
||
|
9 => false,
|
||
|
10 => false,
|
||
|
11 => false,
|
||
|
12 => false,
|
||
|
),
|
||
|
2 =>
|
||
|
array (
|
||
|
0 => false,
|
||
|
1 => false,
|
||
|
2 => false,
|
||
|
3 => false,
|
||
|
4 => false,
|
||
|
5 => false,
|
||
|
6 => false,
|
||
|
7 => false,
|
||
|
8 => false,
|
||
|
9 => false,
|
||
|
10 => false,
|
||
|
11 => false,
|
||
|
12 => false,
|
||
|
),
|
||
|
3 =>
|
||
|
array (
|
||
|
0 => false,
|
||
|
1 => false,
|
||
|
2 => false,
|
||
|
3 => false,
|
||
|
4 => false,
|
||
|
),
|
||
|
4 =>
|
||
|
array (
|
||
|
0 => false,
|
||
|
),
|
||
|
5 =>
|
||
|
array (
|
||
|
0 => false,
|
||
|
),
|
||
|
6 =>
|
||
|
array (
|
||
|
0 => false,
|
||
|
1 => false,
|
||
|
2 => false,
|
||
|
3 => false,
|
||
|
4 => false,
|
||
|
),
|
||
|
);
|
||
|
$this->_conditions = array (
|
||
|
'java.builtins' =>
|
||
|
array (
|
||
|
0 =>
|
||
|
array (
|
||
|
0 => 'builtin',
|
||
|
1 => true,
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
$this->_kwmap = array (
|
||
|
'types' => 'types',
|
||
|
'reserved' => 'reserved',
|
||
|
'builtin' => 'builtin',
|
||
|
);
|
||
|
$this->_defClass = 'code';
|
||
|
$this->_checkDefines();
|
||
|
}
|
||
|
|
||
|
}
|