jp.hishidama.html.lexer.rule
クラス CommentRule

java.lang.Object
  上位を拡張 jp.hishidama.html.lexer.rule.HtLexerRule
      上位を拡張 jp.hishidama.html.lexer.rule.MarkupRule
          上位を拡張 jp.hishidama.html.lexer.rule.CommentRule

public class CommentRule
extends MarkupRule

HtHtmlLexerルール(コメント).

マークアップ(タグや宣言・コメント等)の解釈を行う。

導入されたバージョン:
2009.01.10
作成者:
ひしだま

メソッドの概要
 boolean isStart(jp.hishidama.html.lexer.rule.HtLexerRule.Chars cs)
          コメント開始判断.
 Comment parse()
          推奨されていません。 解釈対象がコメント以外の場合に例外が発生する。
 
クラス jp.hishidama.html.lexer.rule.HtLexerRule から継承されたメソッド
skipSpace
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

isStart

public boolean isStart(jp.hishidama.html.lexer.rule.HtLexerRule.Chars cs)
                throws IOException
コメント開始判断.

パラメータ:
cs - 文字列
戻り値:
コメントが始まる文字列のとき、true
例外:
IOException

parse

@Deprecated
public Comment parse()
              throws IOException
推奨されていません。 解釈対象がコメント以外の場合に例外が発生する。

ルールに従った解釈を行う。

オーバーライド:
クラス MarkupRule 内の parse
戻り値:
トークン
例外:
IOException
ClassCastException
関連項目:
MarkupRule