Class PatternBlock


  • public class PatternBlock
    extends java.lang.Object
    • Constructor Detail

      • PatternBlock

        public PatternBlock​(int off,
                            int msk,
                            int val)
      • PatternBlock

        public PatternBlock​(boolean tf)
    • Method Detail

      • shift

        public void shift​(int sa)
      • getLength

        public int getLength()
      • alwaysTrue

        public boolean alwaysTrue()
      • alwaysFalse

        public boolean alwaysFalse()
      • dispose

        public void dispose()
      • clone

        public PatternBlock clone()
        Overrides:
        clone in class java.lang.Object
      • specializes

        public boolean specializes​(PatternBlock op2)
      • identical

        public boolean identical​(PatternBlock op2)
      • getMask

        public int getMask​(int startbit,
                           int size)
      • getValue

        public int getValue​(int startbit,
                            int size)
      • isInstructionMatch

        public boolean isInstructionMatch​(ParserWalker pos,
                                          int off)
      • isContextMatch

        public boolean isContextMatch​(ParserWalker pos,
                                      int off)
      • saveXml

        public void saveXml​(java.io.PrintStream s)
      • restoreXml

        public void restoreXml​(org.jdom.Element el)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object