Package | Description |
---|---|
com.threecrickets.scripturian | |
com.threecrickets.scripturian.document | |
com.threecrickets.scripturian.formatter | |
com.threecrickets.scripturian.util |
Modifier and Type | Method and Description |
---|---|
static DocumentDescriptor<Executable> |
Executable.createOnce(String documentName,
String parserName,
ParsingContext parsingContext)
If the executable does not yet exist in the document source, retrieves
the source code and parses it into a compact, optimized, executable.
|
Modifier and Type | Method and Description |
---|---|
static Executable |
Executable.createOnce(DocumentDescriptor<Executable> documentDescriptor,
String parserName,
ParsingContext parsingContext)
If the executable does not yet exist in the document descriptor,
retrieves the source code and parses it into a compact, optimized,
executable.
|
Modifier and Type | Method and Description |
---|---|
DocumentDescriptor<D> |
DocumentSource.getDocument(String documentName)
Gets a document by its name.
|
DocumentDescriptor<D> |
ChainDocumentSource.getDocument(String documentName) |
DocumentDescriptor<D> |
DocumentFileSource.getDocument(String documentName) |
DocumentDescriptor<D> |
DocumentFileSource.getDocument(String documentName,
boolean read)
Gets the document descriptor, with support for caching descriptors.
|
DocumentDescriptor<D> |
DocumentSource.setDocument(String documentName,
String sourceCode,
String tag,
D document)
Allows adding or changing documents.
|
DocumentDescriptor<D> |
ChainDocumentSource.setDocument(String documentName,
String sourceCode,
String tag,
D document) |
DocumentDescriptor<D> |
DocumentFileSource.setDocument(String documentName,
String sourceCode,
String tag,
D document) |
DocumentDescriptor<D> |
DocumentSource.setDocumentIfAbsent(String documentName,
String sourceCode,
String tag,
D document)
Allows for atomically adding or changing documents.
|
DocumentDescriptor<D> |
ChainDocumentSource.setDocumentIfAbsent(String documentName,
String sourceCode,
String tag,
D document) |
DocumentDescriptor<D> |
DocumentFileSource.setDocumentIfAbsent(String documentName,
String sourceCode,
String tag,
D document) |
Modifier and Type | Method and Description |
---|---|
Set<DocumentDescriptor<D>> |
DocumentDescriptor.getDependencies()
This document might be affected in some way (for example, reloaded,
recompiled, etc.) if documents it depends on are affected.
|
Collection<DocumentDescriptor<D>> |
DocumentSource.getDocuments()
Access to all available documents.
|
Collection<DocumentDescriptor<D>> |
ChainDocumentSource.getDocuments() |
Collection<DocumentDescriptor<D>> |
DocumentFileSource.getDocuments() |
Modifier and Type | Method and Description |
---|---|
String |
DocumentFormatter.format(DocumentDescriptor<D> documentDescriptor,
String title,
int highlightLineNumber)
Formats the document or its source code.
|
Modifier and Type | Method and Description |
---|---|
String |
SyntaxHighlighterFormatter.format(DocumentDescriptor<D> documentDescriptor,
String title,
int highlightLineNumber) |
String |
PygmentsDocumentFormatter.format(DocumentDescriptor<D> documentDescriptor,
String title,
int highlightLineNumber) |
String |
JygmentsDocumentFormatter.format(DocumentDescriptor<D> documentDescriptor,
String title,
int highlightLineNumber) |
Constructor and Description |
---|
DefrostTask(DocumentDescriptor<Executable> documentDescriptor,
ParsingContext parsingContext)
Constructor.
|
Copyright © 2009-2015 Three Crickets LLC.