|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SyntaxInterface
This interface specifies methods needed to detect code chunks and other weaving-related patterns in lines of the source file. This is intended for use with file formats that are markup-based (like LaTeX), to allow the possibility of providing a different markup syntax for the same file format.
Method Summary | |
---|---|
java.util.Vector<java.lang.String> |
getArgs()
Return the vector of arguments in latest code reference |
java.lang.String |
getDetails()
Return details of last result of testInline(). |
java.lang.String |
getLastMatch()
Return exact string that was matched by most recent tag search |
java.lang.String |
getOptionList()
Return the option list for the code chunk just detected. |
boolean |
isChunkEnd(java.lang.String line)
Return whether or not the current line ends a code chunk |
void |
setFileInterface(FileInterface filei)
Set the FileInterface associated with this instance. |
java.lang.String |
testChunk(java.lang.String line)
Test a line of the source file. |
java.lang.String |
testCoderef(java.lang.String line)
Test a line of code. |
Tag |
testInline(java.lang.String line)
Test the line for an occurrence of an expression or a recall, and return the appropriate tag. |
java.lang.String |
testOpts(java.lang.String line)
Test a source line to see if it is a global or language-specific option specification. |
Method Detail |
---|
void setFileInterface(FileInterface filei)
java.lang.String testChunk(java.lang.String line)
java.lang.String getOptionList()
boolean isChunkEnd(java.lang.String line)
java.lang.String testOpts(java.lang.String line)
java.lang.String testCoderef(java.lang.String line)
java.util.Vector<java.lang.String> getArgs()
Tag testInline(java.lang.String line)
java.lang.String getDetails()
java.lang.String getLastMatch()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |