Reserved Words

When you are creating a Jade application, you may find that some words cannot be used in your Jade methods (or you can use them in certain ways only). These are reserved words. Reserved words have a special meaning in Jade; for example, if you try to create a method called return, you are informed that return is a reserved word.

The Jade reserved words are listed in the following table.

abortTransaction abortTransientTransaction and
app Any appContext
as attributeDefinitions begin
beginLoad beginLock beginTransaction
beginTransientTransaction Binary Boolean
break Byte call
categoryDefinition Character classMapDefinitions
_cloneOf commitTransaction commitTransientTransaction
constantDefinitions constants continue
create currentSchema currentSession
databaseDefinitions databaseFileDefinitions Date
dbServerDefinitions Decimal defaultFileDefinition
delete div do
documentationText else elseif
_encryptedSource _endEncryptedSource end
endExecuteWhen endforeach endif
endLoad endLock endswitch
endwhile epilog eventMethodMappings
executeWhen exception exportedClassDefinitions
exportedConstantDefinitions exportedInterfaceDefinitions exportedMethodDefinitions
exportedPackageDefinitions exportedPropertyDefinitions _exposedConstantDefinitions
_exposedJavaFeatures _exposedListDefinitions _exposedMethodDefinitions
_exposedPropertyDefinitions externalFunctionDefinitions externalFunctionSources
externalKeyDefinitions externalMethodDefinitions externalMethodSources
false _for foreach
global if implementInterfaces
importMethod importedClassDefinitions importedInterfaceDefinitions
importedPackageDefinitions in Integer
Integer64 interfaceDefinitions interfaceDefs
inverseDefinitions is JadeFiletypeVersiontag
jadeMethodDefinitions jadeMethodSources jadePatchRelease
jadeVersionNumber libraryDefinitions localeDefinitions
localeFormatDefinitions memberKeyDefinitions membershipDefinitions
MemoryAddress methodImplementations method
mod node not
null of on
or Point parentOf
partitionMethod peerOf primitive
process raise read
Real referenceDefinitions _remapTableDefinitions
return reversed rootSchema
schemaDefaultLocale schemaDefinition schemaViewDefinitions
self selfType setModifiedTimeStamp
step String StringUtf8
subInterfaceOf subclassOf subschemaOf
system terminate then
Time TimeStamp TimeStampInterval
TimeStampOffset to translatableStringDefinitions
true typeDefinitions typeHeaders
typeSources vars webServicesClassProperties
webServicesMethodDefinitions webServicesMethodProperties webServicesMethodSources
where while write
xor    

Words that begin with double underscore characters (__) are reserved for internal Jade use. In addition, the first four characters of a user-defined name should not be Jade (which is used to prefix Jade system entities).

The following words are not reserved words, but are part of the Jade syntax. Although you can reuse these words, the Jade editor applies the editor preferences color. To avoid confusion, you should not use these words as user-defined values.