org.hawk.module.script
Class CommentScript

java.lang.Object
  extended by org.hawk.module.script.AbstractScript
      extended by org.hawk.module.script.SingleLineScript
          extended by org.hawk.module.script.CommentScript
All Implemented Interfaces:
IScript

public class CommentScript
extends SingleLineScript

See Also:
IfScript

Field Summary
 
Fields inherited from class org.hawk.module.script.AbstractScript
outerMultiLineScript
 
Constructor Summary
CommentScript()
          Default CTOR
 
Method Summary
static CommentScript createScript(java.util.Map<java.lang.Integer,java.lang.String> lineCommentMatcherMap)
          Nothing to be done here.
 Variable execute()
          There is nothing to be done except
static java.util.regex.Pattern getPattern()
          Returns the comment script pattern
 boolean isVariable()
           
 
Methods inherited from class org.hawk.module.script.SingleLineScript
addScripts, copy, findNearestOuterMLScript, getVariable, getVariableValue, setVariable, setVariableValue, toUI
 
Methods inherited from class org.hawk.module.script.AbstractScript
add, and, arrayBracket, assign, divide, equalTo, evaluateGlobalVariable, evaluateLocalBoolean, evaluateLocalVariable, getLineNumber, getOuterMultiLineScript, greaterThan, greaterThanEqualTo, isLastScript, lessThan, lessThanEqualTo, mangle, modulus, multiply, or, popLocalVars, pushLocalVars, refer, setLastScript, setLineNumber, setOuterMultiLineScript, subtract, toJava, toJavaMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentScript

public CommentScript()
Default CTOR

Method Detail

getPattern

public static java.util.regex.Pattern getPattern()
Returns the comment script pattern

Returns:
returns the comment script pattern
See Also:
ScriptPattern

execute

public Variable execute()
                 throws HawkException
There is nothing to be done except

Specified by:
execute in interface IScript
Overrides:
execute in class SingleLineScript
Returns:
Throws:
HawkException

createScript

public static CommentScript createScript(java.util.Map<java.lang.Integer,java.lang.String> lineCommentMatcherMap)
Nothing to be done here.

Parameters:
lineCommentMatcherMap -
Returns:
See Also:
CreateScript

isVariable

public boolean isVariable()
Specified by:
isVariable in interface IScript
Overrides:
isVariable in class SingleLineScript
Returns: