|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.hishidama.eval.lex.comment.CommentLex
public abstract class CommentLex
コメント解釈クラス.
コメントの開始・終了を解釈する。
メソッドの概要 | |
---|---|
String |
getTopString()
開始文字列取得. |
abstract int |
isEnd(String string,
int pos)
終了文字列と一致しているか. |
int |
isTop(String string,
int pos)
開始文字列と一致しているか. |
int |
skip(String string,
int pos)
コメントスキップ. |
int |
topLength()
開始文字列長取得. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public int isTop(String string, int pos)
string
- 対象文字列pos
- 位置
public abstract int isEnd(String string, int pos)
string
- 対象文字列pos
- 位置
public String getTopString()
public int topLength()
public int skip(String string, int pos)
string
- 対象文字列pos
- スキップ開始位置
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |