kmy.jint.tree
Class ReplacerNode

java.lang.Object
  |
  +--kmy.jint.tree.BasicNode
        |
        +--kmy.jint.tree.ExpressionNode
              |
              +--kmy.jint.tree.TextProcessingNode
                    |
                    +--kmy.jint.tree.ReplacerNode

public class ReplacerNode
extends TextProcessingNode


Field Summary
 int flags
           
 Formatter format
           
 java.lang.String formStr
           
 RegexNode regex
           
 
Fields inherited from class kmy.jint.tree.ExpressionNode
clazz, NOT_CONST
 
Fields inherited from class kmy.jint.tree.BasicNode
attachment, filePos
 
Constructor Summary
ReplacerNode(int filePos, java.lang.String str, java.lang.String formStr, int flags)
           
 
Method Summary
 java.lang.Object eval(Context context)
          Calls corresponding eval* method in the given Context.
 
Methods inherited from class kmy.jint.tree.ExpressionNode
getConstValue
 
Methods inherited from class kmy.jint.tree.BasicNode
getAttachment, getFilePos, getLine, setAttachment, setFilePos, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

formStr

public java.lang.String formStr

flags

public int flags

format

public Formatter format

regex

public RegexNode regex
Constructor Detail

ReplacerNode

public ReplacerNode(int filePos,
                    java.lang.String str,
                    java.lang.String formStr,
                    int flags)
Method Detail

eval

public java.lang.Object eval(Context context)
Description copied from class: BasicNode
Calls corresponding eval* method in the given Context.
Overrides:
eval in class BasicNode