Class SRStmt


  • public class SRStmt
    extends Stmt
    SRStmt represents the swizzle of a range of elements in an array.
    • Constructor Detail

      • SRStmt

        public SRStmt​(Expr a,
                      Expr s,
                      Expr t)
        Constructor.
        Parameters:
        a - The array to swizzle.
        s - The starting value of the swizzle range.
        t - The terminating value of the swizzle range.
    • Method Detail

      • array

        public Expr array()
      • start

        public Expr start()
      • end

        public Expr end()
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in class Stmt
      • visitForceChildren

        public void visitForceChildren​(TreeVisitor visitor)
        Description copied from class: Node
        Visit the children of this node. Not all Nodes will have children to visit.
        Specified by:
        visitForceChildren in class Node