[This is preliminary documentation and is subject to change.]
The ErlAtom type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| ErlAtom(String) |
Create an atom from the given string
| |
| ErlAtom(ErlAtom) | Initializes a new instance of the ErlAtom class | |
| ErlAtom( Byte , Int32 , Int32) | Initializes a new instance of the ErlAtom class |
Methods
| Name | Description | |
|---|---|---|
| Clone |
Clone an instance of the object (non-scalar immutable objects are copied by reference)
| |
| CompareTo(Object) |
Compare this instance to the object.
Negative value means that the atom is less than obj, positive - greater than the obj
| |
| CompareTo(IErlObject) |
Compare this instance to the IErlObject.
Negative value means that the atom is less than obj, positive - greater than the obj
| |
| Equals(Object) |
Determine if this atom equals to the object
(Overrides | |
| Equals(IErlObject) |
Determine if two atoms are equal
| |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetHashCode |
Get internal hash code
(Overrides | |
Gets the (Inherited from | ||
| Match(IErlObject) |
Perform pattern match on this Erlang term returning null if match fails
or a dictionary of matched variables bound in the pattern
| |
| Match(IErlObject, ErlVarBind) |
Perform pattern match on this Erlang term, storing matched variables
found in the pattern into the binding.
| |
| Matches |
Perform pattern match on this Erlang term without binding any variables
| |
Creates a shallow copy of the current (Inherited from | ||
| Subst | ||
| ToString |
Get the printname of the atom represented by this object. The
difference between this method and {link #atomValue atomValue()}
is that the printname is quoted and escaped where necessary,
according to the Erlang rules for atom naming
(Overrides | |
| Visit TAccumulate |
Execute fun for every nested term
|
Operators
| Name | Description | |
|---|---|---|
| Equality | ||
| (String to ErlAtom) |
Implicit conversion of string to atom
| |
| (ErlAtom to String) |
Implicit conversion of atom to string
| |
| Inequality |
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| False | ||
| Index |
The index of this atom in the global atom table
| |
| Normal | ||
| Null | ||
| True | ||
| Undefined |
Properties
| Name | Description | |
|---|---|---|
| Empty |
Returns true if this instance equals ErlAtom.Null
| |
| IsScalar |
Determines whether the underlying type is scalar or complex (i.e. tuple, list)
| |
| Length |
Return the length of the atom string
| |
| TypeOrder | ||
| Value |
Get the actual string contained in this object
| |
| ValueAsBool | ||
| ValueAsByteArray | ||
| ValueAsChar | ||
| ValueAsDateTime | ||
| ValueAsDecimal | ||
| ValueAsDouble | ||
| ValueAsInt | ||
| ValueAsLong | ||
| ValueAsObject | ||
| ValueAsString | ||
| ValueAsTimeSpan |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| ICloneable Clone |
See Also