Class SRStmt


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

    • 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 Details

    • array

      public Expr array()
    • start

      public Expr start()
    • end

      public Expr end()
    • visit

      public void visit(TreeVisitor visitor)
      Specified by:
      visit in class Node
    • clone

      public 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