Class CsmAttribute

  • All Implemented Interfaces:
    CsmElement

    public class CsmAttribute
    extends java.lang.Object
    implements CsmElement
    • Method Detail

      • getTokenType

        public int getTokenType​(Node node,
                                java.lang.String text,
                                java.lang.String tokenText)
        Obtain the token type corresponding to the specific value of the attribute. For example, to the attribute "Operator" different token could correspond like PLUS or MINUS.
        Parameters:
        tokenText - Operator's token text
      • toString

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