⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 astatelisttail.java

📁 有关编译器的编译器.
💻 JAVA
字号:
/* This file was generated by SableCC (http://www.sablecc.org/). */package org.sablecc.sablecc.node;import java.util.*;import org.sablecc.sablecc.analysis.*;public final class AStateListTail extends PStateListTail{  private TComma _comma_;  private TId _id_;  private PTransition _transition_;  public AStateListTail()  {}  public AStateListTail(    TComma _comma_,    TId _id_,    PTransition _transition_)  {    setComma(_comma_);    setId(_id_);    setTransition(_transition_);  }  public Object clone()  {    return new AStateListTail(             (TComma) cloneNode(_comma_),             (TId) cloneNode(_id_),             (PTransition) cloneNode(_transition_));  }  public void apply(Switch sw)  {    ((Analysis) sw).caseAStateListTail(this);  }  public TComma getComma()  {    return _comma_;  }  public void setComma(TComma node)  {    if(_comma_ != null)    {      _comma_.parent(null);    }    if(node != null)    {      if(node.parent() != null)      {        node.parent().removeChild(node);      }      node.parent(this);    }    _comma_ = node;  }  public TId getId()  {    return _id_;  }  public void setId(TId node)  {    if(_id_ != null)    {      _id_.parent(null);    }    if(node != null)    {      if(node.parent() != null)      {        node.parent().removeChild(node);      }      node.parent(this);    }    _id_ = node;  }  public PTransition getTransition()  {    return _transition_;  }  public void setTransition(PTransition node)  {    if(_transition_ != null)    {      _transition_.parent(null);    }    if(node != null)    {      if(node.parent() != null)      {        node.parent().removeChild(node);      }      node.parent(this);    }    _transition_ = node;  }  public String toString()  {    return ""           + toString(_comma_)           + toString(_id_)           + toString(_transition_);  }  void removeChild(Node child)  {    if(_comma_ == child)    {      _comma_ = null;      return;    }    if(_id_ == child)    {      _id_ = null;      return;    }    if(_transition_ == child)    {      _transition_ = null;      return;    }  }  void replaceChild(Node oldChild, Node newChild)  {    if(_comma_ == oldChild)    {      setComma((TComma) newChild);      return;    }    if(_id_ == oldChild)    {      setId((TId) newChild);      return;    }    if(_transition_ == oldChild)    {      setTransition((PTransition) newChild);      return;    }  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -