Ethereum 函数签名和可见性修饰符之间的Solidity构造函数声明和语句

Ethereum 函数签名和可见性修饰符之间的Solidity构造函数声明和语句,ethereum,solidity,Ethereum,Solidity,我只是在一份坚固的合同中遇到这个,我不明白。具体来说,我不明白在构造函数参数块之后怎么会有函数调用。如果它是一个修饰符,它将在“public”之后,但它紧跟在参数之后。在这种情况下,MerkleTreeWithHistory(\u merkleTreeHeight)意味着什么 constructor( IVerifier _verifier, uint256 _denomination, uint32 _merkleTreeHeight, address _o

我只是在一份坚固的合同中遇到这个,我不明白。具体来说,我不明白在构造函数参数块之后怎么会有函数调用。如果它是一个修饰符,它将在“public”之后,但它紧跟在参数之后。在这种情况下,
MerkleTreeWithHistory(\u merkleTreeHeight)
意味着什么

  constructor(
    IVerifier _verifier,
    uint256 _denomination,
    uint32 _merkleTreeHeight,
    address _operator
  ) MerkleTreeWithHistory(_merkleTreeHeight) public {
    require(_denomination > 0, "denomination should be greater than 0");
    verifier = _verifier;
    operator = _operator;
    denomination = _denomination;
  }
调用父合约构造函数。在进入分包合同建造商之前执行

MerkleTreeWithHistory(_merkleTreeHeight)