Class BaseBlockStatementPlain

All Implemented Interfaces:
io.github.mmm.code.api.block.CodeBlock, io.github.mmm.code.api.block.CodeBlockStatement, io.github.mmm.code.api.CodeWithContext, io.github.mmm.code.api.copy.CodeNodeItemCopyable<BaseBlock, BaseBlockStatementPlain>, io.github.mmm.code.api.item.CodeItem, io.github.mmm.code.api.item.CodeItemWithVariables, io.github.mmm.code.api.item.CodeMutableItem, io.github.mmm.code.api.node.CodeNode, io.github.mmm.code.api.node.CodeNodeItem, io.github.mmm.code.api.object.CodeMutable, io.github.mmm.code.api.statement.CodeStatement

public class BaseBlockStatementPlain extends BaseBlockStatement implements io.github.mmm.code.api.copy.CodeNodeItemCopyable<BaseBlock, BaseBlockStatementPlain>
Base implementation of CodeBlockStatement.
Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)
  • Constructor Details

    • BaseBlockStatementPlain

      public BaseBlockStatementPlain(BaseBlock parent, io.github.mmm.code.api.statement.CodeStatement... statements)
      The constructor.
      Parameters:
      parent - the parent.
      statements - the statements.
    • BaseBlockStatementPlain

      public BaseBlockStatementPlain(BaseBlock parent, List<io.github.mmm.code.api.statement.CodeStatement> statements)
      The constructor.
      Parameters:
      parent - the parent.
      statements - the statements.
    • BaseBlockStatementPlain

      public BaseBlockStatementPlain(BaseBlockStatementPlain template, io.github.mmm.code.api.copy.CodeCopyMapper mapper)
      The copy-constructor.
      Parameters:
      template - the BaseBlockStatementPlain to copy.
      mapper - the CodeCopyMapper.
  • Method Details

    • copy

      public BaseBlockStatementPlain copy()
      Specified by:
      copy in interface io.github.mmm.code.api.block.CodeBlock
      Specified by:
      copy in interface io.github.mmm.code.api.block.CodeBlockStatement
      Specified by:
      copy in interface io.github.mmm.code.api.item.CodeMutableItem
      Specified by:
      copy in interface io.github.mmm.code.api.node.CodeNodeItem
      Specified by:
      copy in interface io.github.mmm.code.api.copy.CodeNodeItemCopyable<BaseBlock, BaseBlockStatementPlain>
    • copy

      public BaseBlockStatementPlain copy(io.github.mmm.code.api.copy.CodeCopyMapper mapper)
      Specified by:
      copy in interface io.github.mmm.code.api.item.CodeMutableItem
      Specified by:
      copy in interface io.github.mmm.code.api.node.CodeNodeItem
      Specified by:
      copy in interface io.github.mmm.code.api.copy.CodeNodeItemCopyable<BaseBlock, BaseBlockStatementPlain>