| java.lang.Object org.netbeans.editor.Syntax org.netbeans.editor.ext.html.HTMLSyntax
HTMLSyntax | public class HTMLSyntax extends Syntax (Code) | | Lexical anlyzer for HTML source files.
author: Petr Nejedly author: Miloslav Metelka version: 1.00 |
Field Summary | |
protected int | subState Internal state of the lexical analyzer before entering subanalyzer of
character references. |
subState | protected int subState(Code) | | Internal state of the lexical analyzer before entering subanalyzer of
character references. It is initially set to INIT, but before first
usage, this will be overwritten with state, which originated transition
to charref subanalyzer.
|
HTMLSyntax | public HTMLSyntax()(Code) | | |
compareState | public int compareState(StateInfo stateInfo)(Code) | | Compare state of this analyzer to given state info
|
createStateInfo | public StateInfo createStateInfo()(Code) | | Create state info appropriate for particular analyzer
|
getStateName | public String getStateName(int stateNumber)(Code) | | |
loadState | public void loadState(StateInfo stateInfo)(Code) | | Load valid mark state into the analyzer. Offsets are already initialized
when this method is called. This method must get the state from the mark
and set it to the analyzer. Then it must decrease tokenOffset by the
preScan stored in the mark state.
Parameters: markState - mark state to be loaded into syntax. It must be non-nullvalue. |
storeState | public void storeState(StateInfo stateInfo)(Code) | | Store state of this analyzer into given mark state.
|
|
|