Class BuildParser

java.lang.Object
cs350s22.component.ui.parser.BuildParser
All Implemented Interfaces:
SubParser

public class BuildParser extends Object implements SubParser
The network command is responsible for creating the top-level network from actuators, sensors, and/or controllers. The network is the top-level network.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String[]
     
    private final cs350s22.component.ui.parser.A_ParserHelper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BuildParser(String[] args, cs350s22.component.ui.parser.A_ParserHelper parserHelper)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method each sub parser is required to use to begin parsing their respective commands.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • args

      private final String[] args
    • parserHelper

      private final cs350s22.component.ui.parser.A_ParserHelper parserHelper
  • Constructor Details

    • BuildParser

      public BuildParser(String[] args, cs350s22.component.ui.parser.A_ParserHelper parserHelper)
      Constructor.
  • Method Details

    • parse

      public void parse()
      Description copied from interface: SubParser
      Method each sub parser is required to use to begin parsing their respective commands.
      Specified by:
      parse in interface SubParser