Record Class SExpressionType.SQuotedString
java.lang.Object
java.lang.Record
com.io7m.jsx.SExpressionType.SQuotedString
- Record Components:
lexical- The lexical position of the symboltext- The symbol text
- All Implemented Interfaces:
com.io7m.jlexing.core.LexicalType<URI>, SExpressionType, SExpressionType.SAtomType
- Enclosing interface:
SExpressionType
public static record SExpressionType.SQuotedString(com.io7m.jlexing.core.LexicalPosition<URI> lexical, String text)
extends Record
implements SExpressionType.SAtomType
A quoted string.
-
Nested Class Summary
Nested classes/interfaces inherited from interface SExpressionType
SExpressionType.SAtomType, SExpressionType.SList, SExpressionType.SListType, SExpressionType.SQuotedString, SExpressionType.SSymbol -
Constructor Summary
ConstructorsConstructorDescriptionSQuotedString(com.io7m.jlexing.core.LexicalPosition<URI> lexical, String text) A quoted string. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.io7m.jlexing.core.LexicalPosition<URI> lexical()Returns the value of thelexicalrecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SQuotedString
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
lexical
-
text
Returns the value of thetextrecord component.- Specified by:
textin interfaceSExpressionType.SAtomType- Returns:
- the value of the
textrecord component
-