| java.lang.Object org.gjt.sp.jedit.syntax.ParserRule
ParserRule | public class ParserRule (Code) | | A parser rule.
author: mike dillon, Slava Pestov version: $Id: ParserRule.java 11079 2007-11-16 03:20:00Z vanza $ |
Method Summary | |
final public static ParserRule | createEOLSpanRule(int posMatch, String seq, ParserRuleSet delegate, byte id, byte matchType) | final public static ParserRule | createEscapeRule(String seq) | final public static ParserRule | createMarkFollowingRule(int posMatch, String seq, byte id, byte matchType) | final public static ParserRule | createMarkPreviousRule(int posMatch, String seq, byte id, byte matchType) | final public static ParserRule | createRegexpEOLSpanRule(char hashChar, int posMatch, String seq, ParserRuleSet delegate, byte id, byte matchType, boolean ignoreCase) | final public static ParserRule | createRegexpEOLSpanRule(String hashChar, int posMatch, String seq, ParserRuleSet delegate, byte id, byte matchType, boolean ignoreCase) | final public static ParserRule | createRegexpEOLSpanRule(int posMatch, char[] hashChars, String seq, ParserRuleSet delegate, byte id, byte matchType, boolean ignoreCase) | final public static ParserRule | createRegexpSequenceRule(char hashChar, int posMatch, String seq, ParserRuleSet delegate, byte id, boolean ignoreCase) | final public static ParserRule | createRegexpSequenceRule(String hashChar, int posMatch, String seq, ParserRuleSet delegate, byte id, boolean ignoreCase) | final public static ParserRule | createRegexpSequenceRule(int posMatch, char[] hashChars, String seq, ParserRuleSet delegate, byte id, boolean ignoreCase) | final public static ParserRule | createRegexpSpanRule(String hashChar, int startPosMatch, String start, int endPosMatch, String end, ParserRuleSet delegate, byte id, byte matchType, boolean noLineBreak, boolean noWordBreak, boolean ignoreCase, String escape) | final public static ParserRule | createRegexpSpanRule(int startPosMatch, char[] hashChars, String start, int endPosMatch, String end, ParserRuleSet delegate, byte id, byte matchType, boolean noLineBreak, boolean noWordBreak, boolean ignoreCase, String escape) | final public static ParserRule | createSequenceRule(int posMatch, String seq, ParserRuleSet delegate, byte id) | final public static ParserRule | createSpanRule(int startPosMatch, String start, int endPosMatch, String end, ParserRuleSet delegate, byte id, byte matchType, boolean noLineBreak, boolean noWordBreak, String escape) | public String | toString() |
ACTION_HINTS | final public static int ACTION_HINTS(Code) | | |
AT_LINE_START | final public static int AT_LINE_START(Code) | | |
AT_WHITESPACE_END | final public static int AT_WHITESPACE_END(Code) | | |
AT_WORD_START | final public static int AT_WORD_START(Code) | | |
EOL_SPAN | final public static int EOL_SPAN(Code) | | |
EXCLUDE_MATCH | final public static int EXCLUDE_MATCH(Code) | | |
IS_ESCAPE | final public static int IS_ESCAPE(Code) | | |
MAJOR_ACTIONS | final public static int MAJOR_ACTIONS(Code) | | |
MARK_FOLLOWING | final public static int MARK_FOLLOWING(Code) | | |
MARK_PREVIOUS | final public static int MARK_PREVIOUS(Code) | | |
MATCH_TYPE_CONTEXT | final public static byte MATCH_TYPE_CONTEXT(Code) | | |
MATCH_TYPE_RULE | final public static byte MATCH_TYPE_RULE(Code) | | |
NO_ESCAPE | final public static int NO_ESCAPE(Code) | | |
NO_LINE_BREAK | final public static int NO_LINE_BREAK(Code) | | |
NO_WORD_BREAK | final public static int NO_WORD_BREAK(Code) | | |
REGEXP | final public static int REGEXP(Code) | | |
SEQ | final public static int SEQ(Code) | | |
SPAN | final public static int SPAN(Code) | | |
action | final public int action(Code) | | |
end | final public char[] end(Code) | | |
endPosMatch | final public int endPosMatch(Code) | | |
escapeRule | final public ParserRule escapeRule(Code) | | escapeRule is the rule-specific sequence used to escape other
characters while the rule is in effect. If this character is
non-zero, the character following the escape char will be skipped
during parsing, and highlighted with the rule's token.
since: jEdit 4.3pre12 |
matchType | final public byte matchType(Code) | | matchType is the type of the token for the matched region. Special
values are: MATCH_TYPE_CONTEXT = default token for the context,
MATCH_TYPE_RULE = same token as the rule itself.
since: jEdit 4.3pre10 |
start | final public char[] start(Code) | | |
startPosMatch | final public int startPosMatch(Code) | | |
token | final public byte token(Code) | | |
upHashChars | final public char[] upHashChars(Code) | | |
createMarkFollowingRule | final public static ParserRule createMarkFollowingRule(int posMatch, String seq, byte id, byte matchType)(Code) | | |
createMarkPreviousRule | final public static ParserRule createMarkPreviousRule(int posMatch, String seq, byte id, byte matchType)(Code) | | |
createRegexpEOLSpanRule | final public static ParserRule createRegexpEOLSpanRule(char hashChar, int posMatch, String seq, ParserRuleSet delegate, byte id, byte matchType, boolean ignoreCase) throws PatternSyntaxException(Code) | | ParserRule.createRegexpEOLSpanRule(String,int,String,ParserRuleSet,byte,byte,boolean) |
createRegexpSequenceRule | final public static ParserRule createRegexpSequenceRule(char hashChar, int posMatch, String seq, ParserRuleSet delegate, byte id, boolean ignoreCase) throws PatternSyntaxException(Code) | | ParserRule.createRegexpSequenceRule(String,int,String,ParserRuleSet,byte,boolean) |
createRegexpSpanRule | final public static ParserRule createRegexpSpanRule(String hashChar, int startPosMatch, String start, int endPosMatch, String end, ParserRuleSet delegate, byte id, byte matchType, boolean noLineBreak, boolean noWordBreak, boolean ignoreCase, String escape) throws PatternSyntaxException(Code) | | |
createRegexpSpanRule | final public static ParserRule createRegexpSpanRule(int startPosMatch, char[] hashChars, String start, int endPosMatch, String end, ParserRuleSet delegate, byte id, byte matchType, boolean noLineBreak, boolean noWordBreak, boolean ignoreCase, String escape) throws PatternSyntaxException(Code) | | |
|
|