📄 groovy.php
字号:
<?php/************************************************************************************* * groovy.php * ---------- * Author: Ivan F. Villanueva B. (geshi_groovy@artificialidea.com) * Copyright: (c) 2006 Ivan F. Villanueva B.(http://www.artificialidea.com) * Release Version: 1.0.7.16 * CVS Revision Version: $Revision: 1.2.2.5 $ * Date Started: 2006/04/29 * Last Modified: $Date: 2006/10/24 11:07:05 $ * * Groovy language file for GeSHi. * * Keywords from http: http://docs.codehaus.org/download/attachments/2715/groovy-reference-card.pdf?version=1 * * CHANGES * ------- * 2006/04/29 (1.0.0) * - First Release * * TODO (updated 2006/04/29) * ------------------------- * Testing * ************************************************************************************* * * This file is part of GeSHi. * * GeSHi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * GeSHi is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GeSHi; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ************************************************************************************/$language_data = array ( 'LANG_NAME' => 'Groovy', 'COMMENT_SINGLE' => array(1 => '//', 2 => 'import', 3 => '#'), 'COMMENT_MULTI' => array('/*' => '*/'), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array("'''", '"""', "'", '"'), 'ESCAPE_CHAR' => '\\', 'KEYWORDS' => array( 1 => array( '||', 'while', 'switch', 'in', 'if', 'foreach', 'for', 'else', 'do', 'case', '=>', '--', '++', '<<', '<<<', '&&' ), 2 => array( 'volatile', 'try', 'true', 'transient', 'throws', 'throw', 'this', 'synchronized', 'super', 'strictfp', 'static', 'return', 'public', 'protected', 'property', 'private', 'package', 'null', 'new', 'native', 'interface', 'instanceof', 'implements', 'goto', 'finally', 'final', 'false', 'extends', 'enum', 'default', 'def', 'continue', 'const', 'class', 'catch', 'break', 'assert', 'abstract', 'as' ), 3 => array( '_Remote_Stub', '_PolicyStub', '_NamingContextStub', '_NamingContextImplBase', '_IDLTypeStub', '_BindingIteratorStub', '_BindingIteratorImplBase', 'ZoneView', 'ZipOutputStream', 'ZipInputStream', 'ZipFile', 'ZipException', 'ZipEntry', 'X509Extension', 'X509EncodedKeySpec', 'X509Certificate', 'X509CRLEntry', 'X509CRL', 'WrongTransaction', 'Writer', 'WriteAbortedException', 'WritableRenderedImage', 'WritableRaster', 'WrappedPlainView', 'WindowListener', 'WindowEvent', 'WindowConstants', 'WindowAdapter', 'Window', 'WeakReference', 'WeakHashMap', 'WStringValueHelper', 'WCharSeqHolder', 'WCharSeqHelper', 'Void', 'VoiceStatus', 'VisibilityHelper', 'Visibility', 'VirtualMachineError', 'ViewportUI', 'ViewportLayout', 'ViewFactory', 'View', 'VetoableChangeSupport', 'VetoableChangeListener', 'VersionSpecHelper', 'VerifyError', 'Vector', 'VariableHeightLayoutCache', 'ValueMemberHelper', 'ValueMember', 'ValueHandler', 'ValueFactory', 'ValueBaseHolder', 'ValueBaseHelper', 'ValueBase', 'VM_TRUNCATABLE', 'VM_NONE', 'VM_CUSTOM', 'VM_ABSTRACT', 'VMID', 'Utilities', 'UtilDelegate', 'Util', 'UserException', 'UnsupportedOperationException', 'UnsupportedLookAndFeelException', 'UnsupportedFlavorException', 'UnsupportedEncodingException', 'UnsupportedClassVersionError', 'UnsupportedAudioFileException', 'UnsolicitedNotificationListener', 'UnsolicitedNotificationEvent', 'UnsolicitedNotification', 'UnsatisfiedLinkError', 'UnresolvedPermission', 'Unreferenced', 'UnrecoverableKeyException', 'UnmarshalException', 'UnknownUserException', 'UnknownServiceException', 'UnknownObjectException', 'UnknownHostException', 'UnknownHostException', 'UnknownGroupException', 'UnknownException', 'UnknownError', 'UnionMemberHelper', 'UnionMember', 'UnicastRemoteObject', 'UnexpectedException', 'UndoableEditSupport', 'UndoableEditListener', 'UndoableEditEvent', 'UndoableEdit', 'UndoManager', 'UndeclaredThrowableException', 'UTFDataFormatException', 'UShortSeqHolder', 'UShortSeqHelper', 'URLStreamHandlerFactory', 'URLStreamHandler', 'URLEncoder', 'URLDecoder', 'URLConnection', 'URLClassLoader', 'URL', 'UNSUPPORTED_POLICY_VALUE', 'UNSUPPORTED_POLICY', 'UNKNOWN', 'ULongSeqHolder', 'ULongSeqHelper', 'ULongLongSeqHolder', 'ULongLongSeqHelper', 'UIResource', 'UIManager.LookAndFeelInfo', 'UIManager', 'UIDefaults.ProxyLazyValue', 'UIDefaults.LazyValue', 'UIDefaults.LazyInputMap', 'UIDefaults.ActiveValue', 'UIDefaults', 'UID', 'Types', 'TypeMismatch', 'TypeCodeHolder', 'TypeCode', 'TreeWillExpandListener', 'TreeUI', 'TreeSet', 'TreeSelectionModel', 'TreeSelectionListener', 'TreeSelectionEvent', 'TreePath', 'TreeNode', 'TreeModelListener', 'TreeModelEvent', 'TreeModel', 'TreeMap', 'TreeExpansionListener', 'TreeExpansionEvent', 'TreeCellRenderer', 'TreeCellEditor', 'Transparency', 'Transmitter', 'TransformAttribute', 'Transferable', 'TransactionRolledbackException', 'TransactionRequiredException', 'Track', 'Toolkit', 'ToolTipUI', 'ToolTipManager', 'ToolBarUI', 'TooManyListenersException', 'TitledBorder', 'Timestamp', 'TimerTask', 'Timer', 'Timer', 'TimeZone', 'TimeLimitExceededException', 'Time', 'TileObserver', 'Tie', 'Throwable', 'ThreadLocal', 'ThreadGroup', 'ThreadDeath', 'Thread', 'TexturePaint', 'TextUI', 'TextMeasurer', 'TextListener', 'TextLayout.CaretPolicy', 'TextLayout', 'TextHitInfo', 'TextField', 'TextEvent', 'TextComponent', 'TextAttribute', 'TextArea', 'TextAction', 'TargetDataLine', 'TagElement', 'TableView', 'TableUI', 'TableModelListener', 'TableModelEvent', 'TableModel', 'TableHeaderUI', 'TableColumnModelListener', 'TableColumnModelEvent', 'TableColumnModel', 'TableColumn', 'TableCellRenderer', 'TableCellEditor', 'TabbedPaneUI', 'TabableView', 'TabStop', 'TabSet', 'TabExpander', 'TRANSIENT', 'TRANSACTION_ROLLEDBACK', 'TRANSACTION_REQUIRED', 'TCKind', 'SystemFlavorMap', 'SystemException', 'SystemColor', 'System', 'SysexMessage', 'Synthesizer', 'SyncFailedException', 'SwingUtilities', 'SwingPropertyChangeSupport', 'SwingConstants', 'StyledEditorKit.UnderlineAction', 'StyledEditorKit.StyledTextAction', 'StyledEditorKit.ItalicAction', 'StyledEditorKit.ForegroundAction', 'StyledEditorKit.FontSizeAction', 'StyledEditorKit.FontFamilyAction', 'StyledEditorKit.BoldAction', 'StyledEditorKit.AlignmentAction', 'StyledEditorKit', 'StyledDocument', 'StyleSheet.ListPainter', 'StyleSheet.BoxPainter', 'StyleSheet', 'StyleContext', 'StyleConstants.ParagraphConstants', 'StyleConstants.FontConstants', 'StyleConstants.ColorConstants', 'StyleConstants.CharacterConstants', 'StyleConstants', 'Style', 'StubNotFoundException', 'StubDelegate', 'Stub', 'StructMemberHelper', 'StructMember', 'Struct', 'Stroke', 'StringWriter', 'StringValueHelper', 'StringTokenizer', 'StringSelection', 'StringRefAddr', 'StringReader', 'StringIndexOutOfBoundsException', 'StringHolder', 'StringContent', 'StringCharacterIterator', 'StringBufferInputStream', 'StringBuffer', 'String', 'StrictMath', 'StreamableValue', 'Streamable', 'StreamTokenizer', 'StreamCorruptedException', 'Statement', 'StateFactory', 'StateEditable', 'StateEdit', 'StackOverflowError', 'Stack', 'SplitPaneUI', 'SourceDataLine', 'SoundbankResource', 'SoundbankReader', 'Soundbank', 'SortedSet', 'SortedMap', 'SoftReference', 'SoftBevelBorder', 'SocketSecurityException', 'SocketPermission', 'SocketOptions', 'SocketImplFactory', 'SocketImpl', 'SocketException', 'Socket', 'SliderUI', 'SkeletonNotFoundException', 'SkeletonMismatchException', 'Skeleton', 'SizeSequence', 'SizeRequirements', 'SizeLimitExceededException', 'SingleSelectionModel', 'SinglePixelPackedSampleModel', 'SimpleTimeZone', 'SimpleDateFormat', 'SimpleBeanInfo', 'SimpleAttributeSet', 'Signer', 'SignedObject', 'SignatureSpi', 'SignatureException', 'Signature', 'ShortSeqHolder', 'ShortSeqHelper', 'ShortMessage', 'ShortLookupTable', 'ShortHolder', 'Short', 'ShapeGraphicAttribute', 'Shape', 'SetOverrideTypeHelper', 'SetOverrideType', 'Set', 'ServiceUnavailableException', 'ServiceInformationHolder', 'ServiceInformationHelper', 'ServiceInformation', 'ServiceDetailHelper', 'ServiceDetail', 'ServerSocket', 'ServerRuntimeException', 'ServerRequest', 'ServerRef', 'ServerNotActiveException', 'ServerException', 'ServerError', 'ServerCloneException', 'ServantObject', 'SerializablePermission', 'Serializable', 'Sequencer.SyncMode', 'Sequencer', 'SequenceInputStream', 'Sequence', 'SeparatorUI', 'Segment', 'SecurityPermission', 'SecurityManager', 'SecurityException', 'Security', 'SecureRandomSpi', 'SecureRandom', 'SecureClassLoader', 'SearchResult', 'SearchControls', 'Scrollbar', 'Scrollable', 'ScrollPaneUI', 'ScrollPaneLayout.UIResource', 'ScrollPaneLayout', 'ScrollPaneConstants', 'ScrollPane', 'ScrollBarUI', 'SchemaViolationException', 'SampleModel', 'SQLWarning', 'SQLPermission', 'SQLOutput', 'SQLInput', 'SQLException', 'SQLData', 'RuntimePermission', 'RuntimeException', 'Runtime', 'Runnable', 'RunTimeOperations', 'RunTime', 'RuleBasedCollator', 'RowMapper', 'RoundRectangle2D.Float', 'RoundRectangle2D.Double', 'RoundRectangle2D', 'RootPaneUI', 'RootPaneContainer', 'Robot', 'ReverbType', 'ResultSetMetaData', 'ResultSet', 'ResponseHandler', 'ResourceBundle', 'Resolver', 'ResolveResult', 'RescaleOp', 'Request', 'RepositoryIdHelper', 'Repository', 'ReplicateScaleFilter', 'RepaintManager', 'RenderingHints.Key', 'RenderingHints', 'Renderer', 'RenderedImageFactory', 'RenderedImage', 'RenderableImageProducer', 'RenderableImageOp', 'RenderableImage', 'RenderContext', 'RemoteStub', 'RemoteServer', 'RemoteRef', 'RemoteObject', 'RemoteException', 'RemoteCall', 'Remote', 'RemarshalException', 'RegistryHandler', 'Registry', 'ReflectPermission', 'ReferralException', 'Referenceable', 'ReferenceQueue', 'Reference', 'RefAddr', 'Ref', 'RectangularShape', 'Rectangle2D.Float', 'Rectangle2D.Double', 'Rectangle2D', 'Rectangle',
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -