#include <YCPSymbol.h>
Inheritance diagram for YCPSymbolRep:
Public Member Functions | |
string | symbol () const |
const char * | symbol_cstr () const |
YCPOrder | compare (const YCPSymbol &v) const |
string | toString () const |
std::ostream & | toStream (std::ostream &str) const |
YCPValueType | valuetype () const |
Protected Member Functions | |
YCPSymbolRep (const char *s) | |
YCPSymbolRep (string s) | |
Private Attributes | |
Ustring | v |
Friends | |
class | YCPSymbol |
YCP Syntax: A letter or underscore followed by an arbitrary number of digits, letters and underscores.
hElP _8 a_45
|
Creates new symbol from a const char *pointer. |
|
Creates a new symbol from a string. |
|
Compares two YCPSymbols for equality, greaterness or smallerness. Symbols are compared by their names interpreted as strings.
|
|
Returns the symbol's string. |
|
Returns the symbol's string as const char * pointer. |
|
Output value as bytecode to stream Implements YCPElementRep. |
|
Returns the ASCII representation of the symbol. Implements YCPElementRep. |
|
Returns YT_SYMBOL. See YCPValueRep::valuetype. Implements YCPValueRep. |
|
|
|
|