A lexical character constant evaluates to a value of type character (or
char). Characters are enclosed with single quotes. The internal coding
of characters is Unicode. Character expressions may contain escape
sequences that denote special characters.
Character Expressions
Expression Value Value Type
---------- ------ ----------
'a' 'a' Character
'\n' '\n' Character
'a' + 'b' "ab" String
Escape Sequences
Escape Description
\b Backspace
\t Horizontal tab
\n Newline
\f Form feed
\r Carriage return
\" Double quote
\' Single quote
\\ Backslash
\xxx Character of octal value xxx
\uxxxx Character of hexadecimal value xxxx
Methods inherited from: Concept
cloneConcept, extendsConcept, fromXML, getAllInheritedConcepts, getConceptAttribute, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptLabel, getConceptMethod, getConceptMethods, getConceptOperators, getConceptType, getConceptsAtPath, getErrorHandler, getInheritedConcepts, hasConceptAttribute, hasConceptElement, hasConceptMethod, hasPath, isHidden, loadContent, setConceptLabel, setErrorHandler, setHidden, setShowEmpty, showEmpty, toTXT, toXML |
|
Parameters: |
$char : | Adds the parameter to this concept. |
|
Returns a string which contains this concept and the character given as
parameter.
Parameters: |
$char : | To this will be compared this concept. |
|
Returns true if this concept value is smaller then the parameters value,
false otherwise.
Parameters: |
$char : | To this will be compared this concept. |
|
Returns true if this concept equals with parameter or false otherwise.
Parameters: |
$char : | To this will be compared this concept. |
|
Returns true if this concept value is greater then the parameters value,
false otherwise.
Returns the desired EOL character.
This character defaults to the platform specific character,
(Windows: \r\n, Unix flawors: \n, MacOS: \r)
but it can be changed in the mn8config.xml file.
Returns this concepts type.
Returns an integer with this concept unicode value.
Determines whether this concept is control or is not. Returns true if
this concept is control, false otherwise.
Determines whether this concept is a digit or is not. Returns true if
this concept is a digit, false otherwise.
Determines whether this concept is a letter or is not. Returns true if
this concept is a letter, false otherwise.
Determines whether this concept is a letter or digit or is not. Returns
true if this concept is a letter or digit, false otherwise.
Determines whether this concept is lowercase or is not. Returns true if
this concept is lowercase, false otherwise.
Determines whether this concept is uppercase or is not. Returns true if
this concept is uppercase, false otherwise.
Determines whether this concept is whitespace or is not. Returns true if
this concept is whitespace, false otherwise.
Returns an integer concept with this concept value.
Returns a character concept with this concept lowercase equivalent.
Returns a string concept representing this concept's value.
Returns a character concept with this concept uppercase equivalent.