Index

C E F G H I J L M N P Q R S T V 
All Classes and Interfaces|All Packages|Serialized Form

C

close() - Method in class com.io7m.jsx.prettyprint.JSXPrettyPrinterCodeStyle
 
close() - Method in class com.io7m.jsx.prettyprint.JSXPrettyPrinterMarkupStyle
 
com.io7m.jsx - package com.io7m.jsx
Core types, exceptions.
com.io7m.jsx.api.lexer - package com.io7m.jsx.api.lexer
Lexer API.
com.io7m.jsx.api.parser - package com.io7m.jsx.api.parser
Parser API.
com.io7m.jsx.api.serializer - package com.io7m.jsx.api.serializer
Serializer API.
com.io7m.jsx.api.tokens - package com.io7m.jsx.api.tokens
Lexer token definitions.
com.io7m.jsx.lexer - package com.io7m.jsx.lexer
Lexer.
com.io7m.jsx.parser - package com.io7m.jsx.parser
Parser.
com.io7m.jsx.prettyprint - package com.io7m.jsx.prettyprint
Pretty printer.
com.io7m.jsx.serializer - package com.io7m.jsx.serializer
A trivial serializer.
comment() - Method in class com.io7m.jsx.api.tokens.TokenComment
 
comment(TokenComment) - Method in interface com.io7m.jsx.api.tokens.TokenMatcherType
Match a token.
COMMENT_HASH - Enum constant in enum class com.io7m.jsx.api.lexer.JSXLexerComment
Comments start with #
COMMENT_PERCENT - Enum constant in enum class com.io7m.jsx.api.lexer.JSXLexerComment
Comments start with %
COMMENT_SEMICOLON - Enum constant in enum class com.io7m.jsx.api.lexer.JSXLexerComment
Comments start with ;
comments() - Method in record class com.io7m.jsx.api.lexer.JSXLexerConfiguration
Returns the value of the comments record component.
create() - Method in interface com.io7m.jsx.api.serializer.JSXSerializerSupplierType
Create a new serializer.
create() - Method in class com.io7m.jsx.serializer.JSXSerializerTrivialSupplier
 
create(JSXLexerConfiguration, UnicodeCharacterReaderPushBackType) - Method in interface com.io7m.jsx.api.lexer.JSXLexerSupplierType
Create a new lexer from the given configuration and reader.
create(JSXLexerConfiguration, UnicodeCharacterReaderPushBackType) - Method in class com.io7m.jsx.lexer.JSXLexerSupplier
 
create(JSXParserConfiguration, JSXLexerType) - Method in interface com.io7m.jsx.api.parser.JSXParserSupplierType
Create a new parser from the given configuration and lexer.
create(JSXParserConfiguration, JSXLexerType) - Method in class com.io7m.jsx.parser.JSXParserSupplier
 
createFromReader(JSXLexerConfiguration, Reader) - Method in interface com.io7m.jsx.api.lexer.JSXLexerSupplierType
Create a new lexer from the given configuration and reader.
createFromReader(JSXParserConfiguration, JSXLexerConfiguration, JSXLexerSupplierType, UnicodeCharacterReaderPushBackType) - Method in interface com.io7m.jsx.api.parser.JSXParserSupplierType
Create a new parser from the given parser configuration and lexer.
createFromStream(JSXLexerConfiguration, Charset, InputStream) - Method in interface com.io7m.jsx.api.lexer.JSXLexerSupplierType
Create a new lexer from the given configuration and stream.
createFromStream(JSXParserConfiguration, JSXLexerConfiguration, JSXLexerSupplierType, Charset, InputStream) - Method in interface com.io7m.jsx.api.parser.JSXParserSupplierType
Create a new parser from the given parser configuration and lexer.
createFromStreamUTF8(JSXLexerConfiguration, InputStream) - Method in interface com.io7m.jsx.api.lexer.JSXLexerSupplierType
Create a new lexer from the given configuration and stream.
createFromStreamUTF8(JSXParserConfiguration, JSXLexerConfiguration, JSXLexerSupplierType, InputStream) - Method in interface com.io7m.jsx.api.parser.JSXParserSupplierType
Create a new parser from the given parser configuration and lexer.
createSupplier() - Static method in class com.io7m.jsx.serializer.JSXSerializerTrivialSupplier
 

E

eof(TokenEOF) - Method in interface com.io7m.jsx.api.tokens.TokenMatcherType
Match a token.
equals(Object) - Method in record class com.io7m.jsx.api.lexer.JSXLexerConfiguration
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.io7m.jsx.api.parser.JSXParserConfiguration
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.io7m.jsx.SExpressionType.SList
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.io7m.jsx.SExpressionType.SQuotedString
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.io7m.jsx.SExpressionType.SSymbol
Indicates whether some other object is "equal to" this one.
escapeCodePoint(int) - Static method in class com.io7m.jsx.api.lexer.JSXLexerEscapes
Create an appropriate escape for the given codepoint.
escapeString(String) - Static method in class com.io7m.jsx.api.lexer.JSXLexerEscapes
Escape everything in a given string.
expressions() - Method in record class com.io7m.jsx.SExpressionType.SList
Returns the value of the expressions record component.

F

file() - Method in record class com.io7m.jsx.api.lexer.JSXLexerConfiguration
Returns the value of the file record component.

G

get(int) - Method in record class com.io7m.jsx.SExpressionType.SList
 
get(int) - Method in interface com.io7m.jsx.SExpressionType.SListType
 

H

hashCode() - Method in record class com.io7m.jsx.api.lexer.JSXLexerConfiguration
Returns a hash code value for this object.
hashCode() - Method in record class com.io7m.jsx.api.parser.JSXParserConfiguration
Returns a hash code value for this object.
hashCode() - Method in record class com.io7m.jsx.SExpressionType.SList
Returns a hash code value for this object.
hashCode() - Method in record class com.io7m.jsx.SExpressionType.SQuotedString
Returns a hash code value for this object.
hashCode() - Method in record class com.io7m.jsx.SExpressionType.SSymbol
Returns a hash code value for this object.

I

isSquare() - Method in record class com.io7m.jsx.SExpressionType.SList
Returns the value of the isSquare record component.
isSquare() - Method in interface com.io7m.jsx.SExpressionType.SListType
 
iterator() - Method in record class com.io7m.jsx.SExpressionType.SList
 

J

JSXException - Exception Class in com.io7m.jsx
Root exception type raised by the package.
JSXException(String) - Constructor for exception class com.io7m.jsx.JSXException
Construct an exception.
JSXException(String, Throwable) - Constructor for exception class com.io7m.jsx.JSXException
Construct an exception.
JSXLexer - Class in com.io7m.jsx.lexer
The default implementation of the JSXLexerType type.
JSXLexerBareCarriageReturnException - Exception Class in com.io7m.jsx.api.lexer
An exception indicating that a bare carriage return was present in the source.
JSXLexerBareCarriageReturnException(LexicalPosition, String) - Constructor for exception class com.io7m.jsx.api.lexer.JSXLexerBareCarriageReturnException
Construct an exception.
JSXLexerComment - Enum Class in com.io7m.jsx.api.lexer
The available types of comments.
JSXLexerConfiguration - Record Class in com.io7m.jsx.api.lexer
The type of lexer configurations.
JSXLexerConfiguration(boolean, boolean, Optional, EnumSet, int) - Constructor for record class com.io7m.jsx.api.lexer.JSXLexerConfiguration
The type of lexer configurations.
JSXLexerDemoMain - Class in com.io7m.jsx.lexer
Simple lexer demo that prints all tokens.
JSXLexerEscapes - Class in com.io7m.jsx.api.lexer
Functions to escape strings.
JSXLexerException - Exception Class in com.io7m.jsx.api.lexer
The type of exceptions raised by the lexer.
JSXLexerException(LexicalPosition, String) - Constructor for exception class com.io7m.jsx.api.lexer.JSXLexerException
Construct an exception.
JSXLexerInvalidCodePointException - Exception Class in com.io7m.jsx.api.lexer
The type of exceptions indicating invalid unicode codepoints.
JSXLexerInvalidCodePointException(LexicalPosition, String) - Constructor for exception class com.io7m.jsx.api.lexer.JSXLexerInvalidCodePointException
Construct an exception.
JSXLexerNewLinesInStringsException - Exception Class in com.io7m.jsx.api.lexer
The type of exceptions indicating that a quoted string contained a newline, but the lexer configuration forbids them.
JSXLexerNewLinesInStringsException(LexicalPosition, String) - Constructor for exception class com.io7m.jsx.api.lexer.JSXLexerNewLinesInStringsException
Construct an exception.
JSXLexerNotHexCharException - Exception Class in com.io7m.jsx.api.lexer
An exception indicating that a hexadecimal character was expected, but something else was provided.
JSXLexerNotHexCharException(LexicalPosition, String) - Constructor for exception class com.io7m.jsx.api.lexer.JSXLexerNotHexCharException
Construct an exception.
JSXLexerSupplier - Class in com.io7m.jsx.lexer
A lexer supplier.
JSXLexerSupplier() - Constructor for class com.io7m.jsx.lexer.JSXLexerSupplier
Create a new lexer supplier.
JSXLexerSupplierType - Interface in com.io7m.jsx.api.lexer
The type of lexer suppliers.
JSXLexerType - Interface in com.io7m.jsx.api.lexer
The type of lexers.
JSXLexerUnexpectedEOFException - Exception Class in com.io7m.jsx.api.lexer
The type of exceptions indicating that EOF was reached unexpectedly.
JSXLexerUnexpectedEOFException(LexicalPosition, String) - Constructor for exception class com.io7m.jsx.api.lexer.JSXLexerUnexpectedEOFException
Construct an exception.
JSXLexerUnknownEscapeCodeException - Exception Class in com.io7m.jsx.api.lexer
The type of exceptions indicating that an unknown escape code was provided.
JSXLexerUnknownEscapeCodeException(LexicalPosition, String) - Constructor for exception class com.io7m.jsx.api.lexer.JSXLexerUnknownEscapeCodeException
Construct an exception.
JSXParser - Class in com.io7m.jsx.parser
The default implementation of the JSXParserType type.
JSXParserConfiguration - Record Class in com.io7m.jsx.api.parser
The parser configuration
JSXParserConfiguration(boolean) - Constructor for record class com.io7m.jsx.api.parser.JSXParserConfiguration
Creates an instance of a JSXParserConfiguration record class.
JSXParserDemoMain - Class in com.io7m.jsx.parser
Simple parser demo that parses and then serializes.
JSXParserException - Exception Class in com.io7m.jsx.api.parser
The type of exceptions raised by the parser.
JSXParserException(LexicalPosition, String) - Constructor for exception class com.io7m.jsx.api.parser.JSXParserException
Construct an exception.
JSXParserException(LexicalPosition, String, Throwable) - Constructor for exception class com.io7m.jsx.api.parser.JSXParserException
Construct an exception.
JSXParserGrammarException - Exception Class in com.io7m.jsx.api.parser
An exception type indicating that the input did not conform to the s-expression grammar.
JSXParserGrammarException(LexicalPosition, String) - Constructor for exception class com.io7m.jsx.api.parser.JSXParserGrammarException
Construct an exception.
JSXParserLexicalException - Exception Class in com.io7m.jsx.api.parser
The type of parser errors caused by JSXLexerException throws.
JSXParserLexicalException(JSXLexerException) - Constructor for exception class com.io7m.jsx.api.parser.JSXParserLexicalException
Construct an exception.
JSXParserSupplier - Class in com.io7m.jsx.parser
The default implementation of the JSXParserSupplierType interface.
JSXParserSupplier() - Constructor for class com.io7m.jsx.parser.JSXParserSupplier
Create a new parser supplier.
JSXParserSupplierType - Interface in com.io7m.jsx.api.parser
The type of parser suppliers.
JSXParserType - Interface in com.io7m.jsx.api.parser
The type of parsers.
JSXPrettyPrinterCodeStyle - Class in com.io7m.jsx.prettyprint
A pretty printer tailored to printing expressions that represent Lisp-like code.
JSXPrettyPrinterMarkupStyle - Class in com.io7m.jsx.prettyprint
A pretty printer tailored to printing expressions that represent tree-like documents.
JSXPrettyPrinterType - Interface in com.io7m.jsx.prettyprint
The type of pretty printers.
JSXSerializerSupplierType - Interface in com.io7m.jsx.api.serializer
The type of serializer suppliers.
JSXSerializerTrivial - Class in com.io7m.jsx.serializer
A trivial serializer with no features.
JSXSerializerTrivialSupplier - Class in com.io7m.jsx.serializer
A supplier that supplies trivial serializers.
JSXSerializerTrivialSupplier() - Constructor for class com.io7m.jsx.serializer.JSXSerializerTrivialSupplier
Instantiate a supplier.
JSXSerializerType - Interface in com.io7m.jsx.api.serializer
The type of expression serializers.

L

leftParen(TokenLeftParenthesis) - Method in interface com.io7m.jsx.api.tokens.TokenMatcherType
Match a token.
leftSquare(TokenLeftSquare) - Method in interface com.io7m.jsx.api.tokens.TokenMatcherType
Match a token.
lexical() - Method in exception class com.io7m.jsx.api.lexer.JSXLexerException
 
lexical() - Method in exception class com.io7m.jsx.api.parser.JSXParserException
 
lexical() - Method in class com.io7m.jsx.api.tokens.TokenComment
 
lexical() - Method in class com.io7m.jsx.api.tokens.TokenEOF
 
lexical() - Method in class com.io7m.jsx.api.tokens.TokenLeftParenthesis
 
lexical() - Method in class com.io7m.jsx.api.tokens.TokenLeftSquare
 
lexical() - Method in class com.io7m.jsx.api.tokens.TokenQuotedString
 
lexical() - Method in class com.io7m.jsx.api.tokens.TokenRightParenthesis
 
lexical() - Method in class com.io7m.jsx.api.tokens.TokenRightSquare
 
lexical() - Method in class com.io7m.jsx.api.tokens.TokenSymbol
 
lexical() - Method in interface com.io7m.jsx.api.tokens.TokenType
 
lexical() - Method in record class com.io7m.jsx.SExpressionType.SList
Returns the value of the lexical record component.
lexical() - Method in record class com.io7m.jsx.SExpressionType.SQuotedString
Returns the value of the lexical record component.
lexical() - Method in record class com.io7m.jsx.SExpressionType.SSymbol
Returns the value of the lexical record component.

M

main(String[]) - Static method in class com.io7m.jsx.lexer.JSXLexerDemoMain
Main program.
main(String[]) - Static method in class com.io7m.jsx.parser.JSXParserDemoMain
Main program.
matchToken(TokenMatcherType) - Method in class com.io7m.jsx.api.tokens.TokenComment
 
matchToken(TokenMatcherType) - Method in class com.io7m.jsx.api.tokens.TokenEOF
 
matchToken(TokenMatcherType) - Method in class com.io7m.jsx.api.tokens.TokenLeftParenthesis
 
matchToken(TokenMatcherType) - Method in class com.io7m.jsx.api.tokens.TokenLeftSquare
 
matchToken(TokenMatcherType) - Method in class com.io7m.jsx.api.tokens.TokenQuotedString
 
matchToken(TokenMatcherType) - Method in class com.io7m.jsx.api.tokens.TokenRightParenthesis
 
matchToken(TokenMatcherType) - Method in class com.io7m.jsx.api.tokens.TokenRightSquare
 
matchToken(TokenMatcherType) - Method in class com.io7m.jsx.api.tokens.TokenSymbol
 
matchToken(TokenMatcherType) - Method in interface com.io7m.jsx.api.tokens.TokenType
Match a token.

N

newLexer(JSXLexerConfiguration, UnicodeCharacterReaderPushBackType) - Static method in class com.io7m.jsx.lexer.JSXLexer
Construct a new lexer.
newlinesInQuotedStrings() - Method in record class com.io7m.jsx.api.lexer.JSXLexerConfiguration
Returns the value of the newlinesInQuotedStrings record component.
newParser(JSXParserConfiguration, JSXLexerType) - Static method in class com.io7m.jsx.parser.JSXParser
Construct a new parser.
newPrinterWithWidthIndent(Writer, int, int) - Static method in class com.io7m.jsx.prettyprint.JSXPrettyPrinterCodeStyle
Create a new pretty printer.
newPrinterWithWidthIndent(Writer, int, int) - Static method in class com.io7m.jsx.prettyprint.JSXPrettyPrinterMarkupStyle
Create a new pretty printer.
newSerializer() - Static method in class com.io7m.jsx.serializer.JSXSerializerTrivial
 

P

parseExpression() - Method in interface com.io7m.jsx.api.parser.JSXParserType
 
parseExpression() - Method in class com.io7m.jsx.parser.JSXParser
 
parseExpressionOrEOF() - Method in interface com.io7m.jsx.api.parser.JSXParserType
 
parseExpressionOrEOF() - Method in class com.io7m.jsx.parser.JSXParser
 
parseExpressions() - Method in interface com.io7m.jsx.api.parser.JSXParserType
 
parseExpressions() - Method in class com.io7m.jsx.parser.JSXParser
 
preserveLexical() - Method in record class com.io7m.jsx.api.parser.JSXParserConfiguration
Returns the value of the preserveLexical record component.
print(SExpressionType) - Method in class com.io7m.jsx.prettyprint.JSXPrettyPrinterCodeStyle
 
print(SExpressionType) - Method in class com.io7m.jsx.prettyprint.JSXPrettyPrinterMarkupStyle
 
print(SExpressionType) - Method in interface com.io7m.jsx.prettyprint.JSXPrettyPrinterType
Format the given expression and print to the output.

Q

quotedString(TokenQuotedString) - Method in interface com.io7m.jsx.api.tokens.TokenMatcherType
Match a token.

R

rightParen(TokenRightParenthesis) - Method in interface com.io7m.jsx.api.tokens.TokenMatcherType
Match a token.
rightSquare(TokenRightSquare) - Method in interface com.io7m.jsx.api.tokens.TokenMatcherType
Match a token.

S

serialize(SExpressionType, OutputStream) - Method in interface com.io7m.jsx.api.serializer.JSXSerializerType
Serialize the expression to the given output stream.
serialize(SExpressionType, OutputStream) - Method in class com.io7m.jsx.serializer.JSXSerializerTrivial
 
SExpressionType - Interface in com.io7m.jsx
The type of S-expressions.
SExpressionType.SAtomType - Interface in com.io7m.jsx
The type of S-expressions that are atoms.
SExpressionType.SList - Record Class in com.io7m.jsx
A list of expressions.
SExpressionType.SListType - Interface in com.io7m.jsx
The type of lists.
SExpressionType.SQuotedString - Record Class in com.io7m.jsx
A quoted string.
SExpressionType.SSymbol - Record Class in com.io7m.jsx
A symbol.
size() - Method in record class com.io7m.jsx.SExpressionType.SList
 
size() - Method in interface com.io7m.jsx.SExpressionType.SListType
 
SList(LexicalPosition, boolean, List) - Constructor for record class com.io7m.jsx.SExpressionType.SList
A list of expressions.
squareBrackets() - Method in record class com.io7m.jsx.api.lexer.JSXLexerConfiguration
Returns the value of the squareBrackets record component.
SQuotedString(LexicalPosition, String) - Constructor for record class com.io7m.jsx.SExpressionType.SQuotedString
A quoted string.
SSymbol(LexicalPosition, String) - Constructor for record class com.io7m.jsx.SExpressionType.SSymbol
A symbol.
startAtLine() - Method in record class com.io7m.jsx.api.lexer.JSXLexerConfiguration
Returns the value of the startAtLine record component.
symbol(TokenSymbol) - Method in interface com.io7m.jsx.api.tokens.TokenMatcherType
Match a token.

T

text() - Method in class com.io7m.jsx.api.tokens.TokenComment
 
text() - Method in class com.io7m.jsx.api.tokens.TokenQuotedString
 
text() - Method in class com.io7m.jsx.api.tokens.TokenSymbol
 
text() - Method in interface com.io7m.jsx.SExpressionType.SAtomType
 
text() - Method in record class com.io7m.jsx.SExpressionType.SQuotedString
Returns the value of the text record component.
text() - Method in record class com.io7m.jsx.SExpressionType.SSymbol
Returns the value of the text record component.
token() - Method in enum class com.io7m.jsx.api.lexer.JSXLexerComment
 
token() - Method in interface com.io7m.jsx.api.lexer.JSXLexerType
 
token() - Method in class com.io7m.jsx.lexer.JSXLexer
 
TokenComment - Class in com.io7m.jsx.api.tokens
A comment.
TokenComment(LexicalPosition, JSXLexerComment, String) - Constructor for class com.io7m.jsx.api.tokens.TokenComment
 
TokenEOF - Class in com.io7m.jsx.api.tokens
End of file.
TokenEOF(LexicalPosition) - Constructor for class com.io7m.jsx.api.tokens.TokenEOF
 
TokenLeftParenthesis - Class in com.io7m.jsx.api.tokens
Left parenthesis '('.
TokenLeftParenthesis(LexicalPosition) - Constructor for class com.io7m.jsx.api.tokens.TokenLeftParenthesis
 
TokenLeftSquare - Class in com.io7m.jsx.api.tokens
Left square bracket '['.
TokenLeftSquare(LexicalPosition) - Constructor for class com.io7m.jsx.api.tokens.TokenLeftSquare
 
TokenMatcherType<A,E> - Interface in com.io7m.jsx.api.tokens
The type of token matchers.
TokenQuotedString - Class in com.io7m.jsx.api.tokens
A quoted string.
TokenQuotedString(LexicalPosition, String) - Constructor for class com.io7m.jsx.api.tokens.TokenQuotedString
 
TokenRightParenthesis - Class in com.io7m.jsx.api.tokens
Right parenthesis ')'.
TokenRightParenthesis(LexicalPosition) - Constructor for class com.io7m.jsx.api.tokens.TokenRightParenthesis
 
TokenRightSquare - Class in com.io7m.jsx.api.tokens
Right square bracket ']'.
TokenRightSquare(LexicalPosition) - Constructor for class com.io7m.jsx.api.tokens.TokenRightSquare
 
TokenSymbol - Class in com.io7m.jsx.api.tokens
A symbol.
TokenSymbol(LexicalPosition, String) - Constructor for class com.io7m.jsx.api.tokens.TokenSymbol
 
TokenType - Interface in com.io7m.jsx.api.tokens
The type of tokens.
toString() - Method in record class com.io7m.jsx.api.lexer.JSXLexerConfiguration
Returns a string representation of this record class.
toString() - Method in record class com.io7m.jsx.api.parser.JSXParserConfiguration
Returns a string representation of this record class.
toString() - Method in class com.io7m.jsx.api.tokens.TokenComment
 
toString() - Method in class com.io7m.jsx.api.tokens.TokenEOF
 
toString() - Method in class com.io7m.jsx.api.tokens.TokenLeftParenthesis
 
toString() - Method in class com.io7m.jsx.api.tokens.TokenLeftSquare
 
toString() - Method in class com.io7m.jsx.api.tokens.TokenQuotedString
 
toString() - Method in class com.io7m.jsx.api.tokens.TokenRightParenthesis
 
toString() - Method in class com.io7m.jsx.api.tokens.TokenRightSquare
 
toString() - Method in class com.io7m.jsx.api.tokens.TokenSymbol
 
toString() - Method in record class com.io7m.jsx.SExpressionType.SList
Returns a string representation of this record class.
toString() - Method in record class com.io7m.jsx.SExpressionType.SQuotedString
Returns a string representation of this record class.
toString() - Method in record class com.io7m.jsx.SExpressionType.SSymbol
Returns a string representation of this record class.

V

valueOf(String) - Static method in enum class com.io7m.jsx.api.lexer.JSXLexerComment
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.io7m.jsx.api.lexer.JSXLexerComment
Returns an array containing the constants of this enum class, in the order they are declared.
C E F G H I J L M N P Q R S T V 
All Classes and Interfaces|All Packages|Serialized Form