Class Expr.Literal
A literal string or number.
Inheritance
System.Object
Expr.Literal
Assembly: Perlang.Common.dll
Syntax
public class Literal : Expr
Constructors
|
Improve this Doc
View Source
Literal(Nullable<Object>)
Declaration
public Literal(object? value)
Parameters
Type |
Name |
Description |
System.Nullable<System.Object> |
value |
|
Properties
|
Improve this Doc
View Source
Value
Declaration
public object? Value { get; }
Property Value
Type |
Description |
System.Nullable<System.Object> |
|
Methods
|
Improve this Doc
View Source
Accept<TR>(Expr.IVisitor<TR>)
Declaration
public override TR Accept<TR>(Expr.IVisitor<TR> visitor)
Parameters
Returns
Type Parameters
Overrides
Perlang.Expr.Accept<TR>(Perlang.Expr.IVisitor<TR>)
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|