| org.netbeans.modules.cnd.editor.makefile.MakefileSyntax
MakefileSyntax | public class MakefileSyntax extends Syntax (Code) | | Syntax analyzes for Makefile files.
Tokens and internal states are given below.
|
Method Summary | |
public String | getStateName(int stateNumber) | public static TokenID | matchKeyword(char[] buffer, int offset, int len) | protected TokenID | parseToken() This is core function of analyzer and it returns either the token-id
or null to indicate that the end of buffer was found.
The function scans the active character and does one or more
of the following actions:
1. |
MakefileSyntax | public MakefileSyntax()(Code) | | constructor
|
getStateName | public String getStateName(int stateNumber)(Code) | | |
matchKeyword | public static TokenID matchKeyword(char[] buffer, int offset, int len)(Code) | | |
parseToken | protected TokenID parseToken()(Code) | | This is core function of analyzer and it returns either the token-id
or null to indicate that the end of buffer was found.
The function scans the active character and does one or more
of the following actions:
1. change internal analyzer state
2. set the token-context-path and return token-id
3. adjust current position to signal different end of token;
the character that offset points to is not included in the token
|
|
|