Class MmuTreeWalkerBase.BufferBuilder

  • Enclosing class:
    MmuTreeWalkerBase

    protected final class MmuTreeWalkerBase.BufferBuilder
    extends java.lang.Object
    Builder for Buffer objects. Helps create a Buffer from attributes.
    • Constructor Summary

      Constructors 
      Constructor Description
      BufferBuilder​(org.antlr.runtime.tree.CommonTree id, org.antlr.runtime.tree.CommonTree addressArgId, org.antlr.runtime.tree.CommonTree addressArgType, org.antlr.runtime.tree.CommonTree parentBufferId, java.util.List<java.lang.String> qualifiers)
      Constructs a builder for a Buffer object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Buffer build()  
      void setEntry​(org.antlr.runtime.tree.CommonTree attrId, Type attr)  
      void setGuard​(org.antlr.runtime.tree.CommonTree attrId, ru.ispras.fortress.expression.Node attr)  
      void setIndex​(org.antlr.runtime.tree.CommonTree attrId, ru.ispras.fortress.expression.Node attr)  
      void setMatch​(org.antlr.runtime.tree.CommonTree attrId, ru.ispras.fortress.expression.Node attr)  
      void setPolicyId​(org.antlr.runtime.tree.CommonTree attrId, org.antlr.runtime.tree.CommonTree attr)  
      void setSets​(org.antlr.runtime.tree.CommonTree attrId, ru.ispras.fortress.expression.Node attr)  
      void setWays​(org.antlr.runtime.tree.CommonTree attrId, ru.ispras.fortress.expression.Node attr)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BufferBuilder

        public BufferBuilder​(org.antlr.runtime.tree.CommonTree id,
                             org.antlr.runtime.tree.CommonTree addressArgId,
                             org.antlr.runtime.tree.CommonTree addressArgType,
                             org.antlr.runtime.tree.CommonTree parentBufferId,
                             java.util.List<java.lang.String> qualifiers)
                      throws SemanticException
        Constructs a builder for a Buffer object.
        Parameters:
        id - Buffer identifier.
        addressArgId - Address argument identifier.
        addressArgType - Address argument type (identifier).
        parentBufferId - Identifier of the parent buffer.
        qualifiers - List of qualifiers.
        Throws:
        SemanticException - if the specified address type is not defined.