sofie.parsing
Class Token.StartCommentToken

java.lang.Object
  extended by sofie.parsing.Token
      extended by sofie.parsing.Token.Functional
          extended by sofie.parsing.Token.StartCommentToken
All Implemented Interfaces:
java.lang.Comparable<Token>
Enclosing class:
Token

public static class Token.StartCommentToken
extends Token.Functional

Token that starts a comment (e.g. in HTML)


Nested Class Summary
 
Nested classes/interfaces inherited from class sofie.parsing.Token
Token.AnyName, Token.CanonicProperName, Token.CommonIndividual, Token.Company, Token.Date, Token.Functional, Token.Literal, Token.NameType, Token.Number, Token.Person, Token.ProperName, Token.Punctuation, Token.Repeat, Token.SemiCanonicProperName, Token.Separator, Token.StartCommentToken, Token.StopWord, Token.Title, Token.URL, Token.USState, Token.WikiLink, Token.Word
 
Field Summary
 java.util.regex.Pattern end
          String that ends the comment
 
Fields inherited from class sofie.parsing.Token
CATEGORY, HTMLCOMMENT, IGNORE, INFOBOXBAR, INFOBOXHEAD, original, REF, REVISION, SEPARATOR, STARTARTICLE, STARTBRACES, STARTINFOBOX, STARTSCRIPT, token
 
Constructor Summary
Token.StartCommentToken(java.lang.String commentType, java.lang.String end)
          Constructs a comment token with a case insensitive pattern as end
 
Method Summary
 
Methods inherited from class sofie.parsing.Token
compareTo, equals, hashCode, isInteresting, isMultiWord, original, replaceMe, token, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

end

public final java.util.regex.Pattern end
String that ends the comment

Constructor Detail

Token.StartCommentToken

public Token.StartCommentToken(java.lang.String commentType,
                               java.lang.String end)
Constructs a comment token with a case insensitive pattern as end