Class SQLRemoveSnapshotOPToken


public class SQLRemoveSnapshotOPToken extends SQLOPToken
SQLRemoveSnapshotOPToken is used for parsing and specifying the AST used for creating snapshots.

Syntax:

REMOVE [ARCHIVED] SNAPSHOT 'snapshot-name' 'service'

Author:
tam 2014.08.04
  • Field Details

  • Constructor Details

    • SQLRemoveSnapshotOPToken

      public SQLRemoveSnapshotOPToken(String id)
      Construct a new SQLListServicesOPToken.
      Parameters:
      id - the string representing the command
  • Method Details

    • nud

      public Term nud(OPParser p)
      Description copied from class: IdentifierOPToken
      Process this token in the context of parser p with the null denotation. A nud method typically will have no interest in the token to the left. The processing results in an Abstract Syntax Tree Node that captures the meaning
      Overrides:
      nud in class IdentifierOPToken
      Parameters:
      p - the parser that is the context for parsing
      Returns:
      an AstNode