attribute.java
来自「无线通信的主要编程软件,是无线通信工作人员的必备工具,关天相关教程我会在后续传上」· Java 代码 · 共 57 行
JAVA
57 行
// Autogenerated AST nodepackage org.python.parser.ast;import org.python.parser.SimpleNode;import java.io.DataOutputStream;import java.io.IOException;public class Attribute extends exprType implements expr_contextType { public exprType value; public String attr; public int ctx; public Attribute(exprType value, String attr, int ctx) { this.value = value; this.attr = attr; this.ctx = ctx; } public Attribute(exprType value, String attr, int ctx, SimpleNode parent) { this(value, attr, ctx); this.beginLine = parent.beginLine; this.beginColumn = parent.beginColumn; } public String toString() { StringBuffer sb = new StringBuffer("Attribute["); sb.append("value="); sb.append(dumpThis(this.value)); sb.append(", "); sb.append("attr="); sb.append(dumpThis(this.attr)); sb.append(", "); sb.append("ctx="); sb.append(dumpThis(this.ctx, expr_contextType.expr_contextTypeNames)); sb.append("]"); return sb.toString(); } public void pickle(DataOutputStream ostream) throws IOException { pickleThis(39, ostream); pickleThis(this.value, ostream); pickleThis(this.attr, ostream); pickleThis(this.ctx, ostream); } public Object accept(VisitorIF visitor) throws Exception { return visitor.visitAttribute(this); } public void traverse(VisitorIF visitor) throws Exception { if (value != null) value.accept(visitor); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?