Table of Contents

Class JvmLiteral

Namespace
TypedRest.CodeGeneration.Jvm.Model
Assembly
TypedRest.CodeGeneration.Jvm.dll

A string literal, e.g. the relative URI of an endpoint.

public sealed class JvmLiteral : JvmExpression
Inheritance
object
JvmLiteral

Constructors

JvmLiteral(string)

A string literal, e.g. the relative URI of an endpoint.

public JvmLiteral(string value)

Parameters

value string

The value of the literal, unescaped.

Properties

Value

The value of the literal, unescaped.

public string Value { get; }

Property Value

string

Methods

GetImports()

Returns every type that has to be imported to write this expression.

public override IEnumerable<JvmIdentifier> GetImports()

Returns

IEnumerable<JvmIdentifier>