Class ClangToken

    • Constructor Detail

      • ClangToken

        public ClangToken​(ClangNode par)
      • ClangToken

        public ClangToken​(ClangNode par,
                          java.lang.String txt)
      • ClangToken

        public ClangToken​(ClangNode par,
                          java.lang.String txt,
                          java.lang.String col)
    • Method Detail

      • getLineParent

        public ClangLine getLineParent()
      • setLineParent

        public void setLineParent​(ClangLine line)
      • setHighlight

        public void setHighlight​(java.awt.Color val)
        Specified by:
        setHighlight in interface ClangNode
      • getHighlight

        public java.awt.Color getHighlight()
      • setMatchingToken

        public void setMatchingToken​(boolean matchingToken)
      • isMatchingToken

        public boolean isMatchingToken()
      • isVariableRef

        public boolean isVariableRef()
      • getSyntaxType

        public int getSyntaxType()
      • getText

        public java.lang.String getText()
      • getColor

        public static int getColor​(java.lang.String col)
      • buildSpacer

        public static ClangToken buildSpacer​(ClangNode par,
                                             int indent,
                                             java.lang.String indentStr)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • getHighVariable

        public HighVariable getHighVariable()
        Get the high-level variable associate with this token or null otherwise
      • getVarnode

        public Varnode getVarnode()
        Many tokens directly represent a variable in the data-flow
        the variable (Varnode) associated with this token or null
      • getPcodeOp

        public PcodeOp getPcodeOp()
        Many tokens directly represent a pcode operator in the data-flow
        the operation (PcodeOp) associated with this token or null