repo
stringlengths 1
191
⌀ | file
stringlengths 23
351
| code
stringlengths 0
5.32M
| file_length
int64 0
5.32M
| avg_line_length
float64 0
2.9k
| max_line_length
int64 0
288k
| extension_type
stringclasses 1
value |
|---|---|---|---|---|---|---|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ASingleLocalNameList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ASingleLocalNameList extends PLocalNameList
{
private PLocalName _localName_;
public ASingleLocalNameList()
{
// Constructor
}
public ASingleLocalNameList(
@SuppressWarnings("hiding") PLocalName _localName_)
{
// Constructor
setLocalName(_localName_);
}
@Override
public Object clone()
{
return new ASingleLocalNameList(
cloneNode(this._localName_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseASingleLocalNameList(this);
}
public PLocalName getLocalName()
{
return this._localName_;
}
public void setLocalName(PLocalName node)
{
if(this._localName_ != null)
{
this._localName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localName_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._localName_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._localName_ == child)
{
this._localName_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._localName_ == oldChild)
{
setLocalName((PLocalName) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,965
| 19.479167
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ASingleNameList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ASingleNameList extends PNameList
{
private PName _name_;
public ASingleNameList()
{
// Constructor
}
public ASingleNameList(
@SuppressWarnings("hiding") PName _name_)
{
// Constructor
setName(_name_);
}
@Override
public Object clone()
{
return new ASingleNameList(
cloneNode(this._name_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseASingleNameList(this);
}
public PName getName()
{
return this._name_;
}
public void setName(PName node)
{
if(this._name_ != null)
{
this._name_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._name_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._name_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._name_ == child)
{
this._name_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._name_ == oldChild)
{
setName((PName) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,830
| 18.072917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ASingleParameterList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ASingleParameterList extends PParameterList
{
private PParameter _parameter_;
public ASingleParameterList()
{
// Constructor
}
public ASingleParameterList(
@SuppressWarnings("hiding") PParameter _parameter_)
{
// Constructor
setParameter(_parameter_);
}
@Override
public Object clone()
{
return new ASingleParameterList(
cloneNode(this._parameter_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseASingleParameterList(this);
}
public PParameter getParameter()
{
return this._parameter_;
}
public void setParameter(PParameter node)
{
if(this._parameter_ != null)
{
this._parameter_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._parameter_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._parameter_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._parameter_ == child)
{
this._parameter_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._parameter_ == oldChild)
{
setParameter((PParameter) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,965
| 19.479167
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ASpecialNonstaticInvoke.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ASpecialNonstaticInvoke extends PNonstaticInvoke
{
private TSpecialinvoke _specialinvoke_;
public ASpecialNonstaticInvoke()
{
// Constructor
}
public ASpecialNonstaticInvoke(
@SuppressWarnings("hiding") TSpecialinvoke _specialinvoke_)
{
// Constructor
setSpecialinvoke(_specialinvoke_);
}
@Override
public Object clone()
{
return new ASpecialNonstaticInvoke(
cloneNode(this._specialinvoke_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseASpecialNonstaticInvoke(this);
}
public TSpecialinvoke getSpecialinvoke()
{
return this._specialinvoke_;
}
public void setSpecialinvoke(TSpecialinvoke node)
{
if(this._specialinvoke_ != null)
{
this._specialinvoke_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._specialinvoke_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._specialinvoke_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._specialinvoke_ == child)
{
this._specialinvoke_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._specialinvoke_ == oldChild)
{
setSpecialinvoke((TSpecialinvoke) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,066
| 20.53125
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AStaticInvokeExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AStaticInvokeExpr extends PInvokeExpr
{
private TStaticinvoke _staticinvoke_;
private PMethodSignature _methodSignature_;
private TLParen _lParen_;
private PArgList _argList_;
private TRParen _rParen_;
public AStaticInvokeExpr()
{
// Constructor
}
public AStaticInvokeExpr(
@SuppressWarnings("hiding") TStaticinvoke _staticinvoke_,
@SuppressWarnings("hiding") PMethodSignature _methodSignature_,
@SuppressWarnings("hiding") TLParen _lParen_,
@SuppressWarnings("hiding") PArgList _argList_,
@SuppressWarnings("hiding") TRParen _rParen_)
{
// Constructor
setStaticinvoke(_staticinvoke_);
setMethodSignature(_methodSignature_);
setLParen(_lParen_);
setArgList(_argList_);
setRParen(_rParen_);
}
@Override
public Object clone()
{
return new AStaticInvokeExpr(
cloneNode(this._staticinvoke_),
cloneNode(this._methodSignature_),
cloneNode(this._lParen_),
cloneNode(this._argList_),
cloneNode(this._rParen_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAStaticInvokeExpr(this);
}
public TStaticinvoke getStaticinvoke()
{
return this._staticinvoke_;
}
public void setStaticinvoke(TStaticinvoke node)
{
if(this._staticinvoke_ != null)
{
this._staticinvoke_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._staticinvoke_ = node;
}
public PMethodSignature getMethodSignature()
{
return this._methodSignature_;
}
public void setMethodSignature(PMethodSignature node)
{
if(this._methodSignature_ != null)
{
this._methodSignature_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._methodSignature_ = node;
}
public TLParen getLParen()
{
return this._lParen_;
}
public void setLParen(TLParen node)
{
if(this._lParen_ != null)
{
this._lParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lParen_ = node;
}
public PArgList getArgList()
{
return this._argList_;
}
public void setArgList(PArgList node)
{
if(this._argList_ != null)
{
this._argList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._argList_ = node;
}
public TRParen getRParen()
{
return this._rParen_;
}
public void setRParen(TRParen node)
{
if(this._rParen_ != null)
{
this._rParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rParen_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._staticinvoke_)
+ toString(this._methodSignature_)
+ toString(this._lParen_)
+ toString(this._argList_)
+ toString(this._rParen_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._staticinvoke_ == child)
{
this._staticinvoke_ = null;
return;
}
if(this._methodSignature_ == child)
{
this._methodSignature_ = null;
return;
}
if(this._lParen_ == child)
{
this._lParen_ = null;
return;
}
if(this._argList_ == child)
{
this._argList_ = null;
return;
}
if(this._rParen_ == child)
{
this._rParen_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._staticinvoke_ == oldChild)
{
setStaticinvoke((TStaticinvoke) newChild);
return;
}
if(this._methodSignature_ == oldChild)
{
setMethodSignature((PMethodSignature) newChild);
return;
}
if(this._lParen_ == oldChild)
{
setLParen((TLParen) newChild);
return;
}
if(this._argList_ == oldChild)
{
setArgList((PArgList) newChild);
return;
}
if(this._rParen_ == oldChild)
{
setRParen((TRParen) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 5,688
| 20.227612
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AStaticModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AStaticModifier extends PModifier
{
private TStatic _static_;
public AStaticModifier()
{
// Constructor
}
public AStaticModifier(
@SuppressWarnings("hiding") TStatic _static_)
{
// Constructor
setStatic(_static_);
}
@Override
public Object clone()
{
return new AStaticModifier(
cloneNode(this._static_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAStaticModifier(this);
}
public TStatic getStatic()
{
return this._static_;
}
public void setStatic(TStatic node)
{
if(this._static_ != null)
{
this._static_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._static_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._static_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._static_ == child)
{
this._static_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._static_ == oldChild)
{
setStatic((TStatic) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,872
| 18.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AStrictfpModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AStrictfpModifier extends PModifier
{
private TStrictfp _strictfp_;
public AStrictfpModifier()
{
// Constructor
}
public AStrictfpModifier(
@SuppressWarnings("hiding") TStrictfp _strictfp_)
{
// Constructor
setStrictfp(_strictfp_);
}
@Override
public Object clone()
{
return new AStrictfpModifier(
cloneNode(this._strictfp_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAStrictfpModifier(this);
}
public TStrictfp getStrictfp()
{
return this._strictfp_;
}
public void setStrictfp(TStrictfp node)
{
if(this._strictfp_ != null)
{
this._strictfp_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._strictfp_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._strictfp_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._strictfp_ == child)
{
this._strictfp_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._strictfp_ == oldChild)
{
setStrictfp((TStrictfp) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,924
| 19.052083
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AStringConstant.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AStringConstant extends PConstant
{
private TStringConstant _stringConstant_;
public AStringConstant()
{
// Constructor
}
public AStringConstant(
@SuppressWarnings("hiding") TStringConstant _stringConstant_)
{
// Constructor
setStringConstant(_stringConstant_);
}
@Override
public Object clone()
{
return new AStringConstant(
cloneNode(this._stringConstant_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAStringConstant(this);
}
public TStringConstant getStringConstant()
{
return this._stringConstant_;
}
public void setStringConstant(TStringConstant node)
{
if(this._stringConstant_ != null)
{
this._stringConstant_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._stringConstant_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._stringConstant_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._stringConstant_ == child)
{
this._stringConstant_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._stringConstant_ == oldChild)
{
setStringConstant((TStringConstant) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,040
| 20.260417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ASynchronizedModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ASynchronizedModifier extends PModifier
{
private TSynchronized _synchronized_;
public ASynchronizedModifier()
{
// Constructor
}
public ASynchronizedModifier(
@SuppressWarnings("hiding") TSynchronized _synchronized_)
{
// Constructor
setSynchronized(_synchronized_);
}
@Override
public Object clone()
{
return new ASynchronizedModifier(
cloneNode(this._synchronized_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseASynchronizedModifier(this);
}
public TSynchronized getSynchronized()
{
return this._synchronized_;
}
public void setSynchronized(TSynchronized node)
{
if(this._synchronized_ != null)
{
this._synchronized_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._synchronized_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._synchronized_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._synchronized_ == child)
{
this._synchronized_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._synchronized_ == oldChild)
{
setSynchronized((TSynchronized) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,028
| 20.135417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ATableswitchStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ATableswitchStatement extends PStatement
{
private TTableswitch _tableswitch_;
private TLParen _lParen_;
private PImmediate _immediate_;
private TRParen _rParen_;
private TLBrace _lBrace_;
private final LinkedList<PCaseStmt> _caseStmt_ = new LinkedList<PCaseStmt>();
private TRBrace _rBrace_;
private TSemicolon _semicolon_;
public ATableswitchStatement()
{
// Constructor
}
public ATableswitchStatement(
@SuppressWarnings("hiding") TTableswitch _tableswitch_,
@SuppressWarnings("hiding") TLParen _lParen_,
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TRParen _rParen_,
@SuppressWarnings("hiding") TLBrace _lBrace_,
@SuppressWarnings("hiding") List<?> _caseStmt_,
@SuppressWarnings("hiding") TRBrace _rBrace_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setTableswitch(_tableswitch_);
setLParen(_lParen_);
setImmediate(_immediate_);
setRParen(_rParen_);
setLBrace(_lBrace_);
setCaseStmt(_caseStmt_);
setRBrace(_rBrace_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new ATableswitchStatement(
cloneNode(this._tableswitch_),
cloneNode(this._lParen_),
cloneNode(this._immediate_),
cloneNode(this._rParen_),
cloneNode(this._lBrace_),
cloneList(this._caseStmt_),
cloneNode(this._rBrace_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseATableswitchStatement(this);
}
public TTableswitch getTableswitch()
{
return this._tableswitch_;
}
public void setTableswitch(TTableswitch node)
{
if(this._tableswitch_ != null)
{
this._tableswitch_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._tableswitch_ = node;
}
public TLParen getLParen()
{
return this._lParen_;
}
public void setLParen(TLParen node)
{
if(this._lParen_ != null)
{
this._lParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lParen_ = node;
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TRParen getRParen()
{
return this._rParen_;
}
public void setRParen(TRParen node)
{
if(this._rParen_ != null)
{
this._rParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rParen_ = node;
}
public TLBrace getLBrace()
{
return this._lBrace_;
}
public void setLBrace(TLBrace node)
{
if(this._lBrace_ != null)
{
this._lBrace_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lBrace_ = node;
}
public LinkedList<PCaseStmt> getCaseStmt()
{
return this._caseStmt_;
}
public void setCaseStmt(List<?> list)
{
for(PCaseStmt e : this._caseStmt_)
{
e.parent(null);
}
this._caseStmt_.clear();
for(Object obj_e : list)
{
PCaseStmt e = (PCaseStmt) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._caseStmt_.add(e);
}
}
public TRBrace getRBrace()
{
return this._rBrace_;
}
public void setRBrace(TRBrace node)
{
if(this._rBrace_ != null)
{
this._rBrace_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rBrace_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._tableswitch_)
+ toString(this._lParen_)
+ toString(this._immediate_)
+ toString(this._rParen_)
+ toString(this._lBrace_)
+ toString(this._caseStmt_)
+ toString(this._rBrace_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._tableswitch_ == child)
{
this._tableswitch_ = null;
return;
}
if(this._lParen_ == child)
{
this._lParen_ = null;
return;
}
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._rParen_ == child)
{
this._rParen_ = null;
return;
}
if(this._lBrace_ == child)
{
this._lBrace_ = null;
return;
}
if(this._caseStmt_.remove(child))
{
return;
}
if(this._rBrace_ == child)
{
this._rBrace_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._tableswitch_ == oldChild)
{
setTableswitch((TTableswitch) newChild);
return;
}
if(this._lParen_ == oldChild)
{
setLParen((TLParen) newChild);
return;
}
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._rParen_ == oldChild)
{
setRParen((TRParen) newChild);
return;
}
if(this._lBrace_ == oldChild)
{
setLBrace((TLBrace) newChild);
return;
}
for(ListIterator<PCaseStmt> i = this._caseStmt_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PCaseStmt) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
if(this._rBrace_ == oldChild)
{
setRBrace((TRBrace) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 8,732
| 20.3
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AThrowStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AThrowStatement extends PStatement
{
private TThrow _throw_;
private PImmediate _immediate_;
private TSemicolon _semicolon_;
public AThrowStatement()
{
// Constructor
}
public AThrowStatement(
@SuppressWarnings("hiding") TThrow _throw_,
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setThrow(_throw_);
setImmediate(_immediate_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AThrowStatement(
cloneNode(this._throw_),
cloneNode(this._immediate_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAThrowStatement(this);
}
public TThrow getThrow()
{
return this._throw_;
}
public void setThrow(TThrow node)
{
if(this._throw_ != null)
{
this._throw_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._throw_ = node;
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._throw_)
+ toString(this._immediate_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._throw_ == child)
{
this._throw_ = null;
return;
}
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._throw_ == oldChild)
{
setThrow((TThrow) newChild);
return;
}
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,712
| 19.401099
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AThrowsClause.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AThrowsClause extends PThrowsClause
{
private TThrows _throws_;
private PClassNameList _classNameList_;
public AThrowsClause()
{
// Constructor
}
public AThrowsClause(
@SuppressWarnings("hiding") TThrows _throws_,
@SuppressWarnings("hiding") PClassNameList _classNameList_)
{
// Constructor
setThrows(_throws_);
setClassNameList(_classNameList_);
}
@Override
public Object clone()
{
return new AThrowsClause(
cloneNode(this._throws_),
cloneNode(this._classNameList_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAThrowsClause(this);
}
public TThrows getThrows()
{
return this._throws_;
}
public void setThrows(TThrows node)
{
if(this._throws_ != null)
{
this._throws_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._throws_ = node;
}
public PClassNameList getClassNameList()
{
return this._classNameList_;
}
public void setClassNameList(PClassNameList node)
{
if(this._classNameList_ != null)
{
this._classNameList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._classNameList_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._throws_)
+ toString(this._classNameList_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._throws_ == child)
{
this._throws_ = null;
return;
}
if(this._classNameList_ == child)
{
this._classNameList_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._throws_ == oldChild)
{
setThrows((TThrows) newChild);
return;
}
if(this._classNameList_ == oldChild)
{
setClassNameList((PClassNameList) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,880
| 19.726619
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ATransientModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ATransientModifier extends PModifier
{
private TTransient _transient_;
public ATransientModifier()
{
// Constructor
}
public ATransientModifier(
@SuppressWarnings("hiding") TTransient _transient_)
{
// Constructor
setTransient(_transient_);
}
@Override
public Object clone()
{
return new ATransientModifier(
cloneNode(this._transient_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseATransientModifier(this);
}
public TTransient getTransient()
{
return this._transient_;
}
public void setTransient(TTransient node)
{
if(this._transient_ != null)
{
this._transient_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._transient_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._transient_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._transient_ == child)
{
this._transient_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._transient_ == oldChild)
{
setTransient((TTransient) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,950
| 19.322917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AUnknownJimpleType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AUnknownJimpleType extends PJimpleType
{
private TUnknown _unknown_;
public AUnknownJimpleType()
{
// Constructor
}
public AUnknownJimpleType(
@SuppressWarnings("hiding") TUnknown _unknown_)
{
// Constructor
setUnknown(_unknown_);
}
@Override
public Object clone()
{
return new AUnknownJimpleType(
cloneNode(this._unknown_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAUnknownJimpleType(this);
}
public TUnknown getUnknown()
{
return this._unknown_;
}
public void setUnknown(TUnknown node)
{
if(this._unknown_ != null)
{
this._unknown_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._unknown_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._unknown_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._unknown_ == child)
{
this._unknown_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._unknown_ == oldChild)
{
setUnknown((TUnknown) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,910
| 18.90625
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AUnnamedMethodSignature.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AUnnamedMethodSignature extends PUnnamedMethodSignature
{
private TCmplt _cmplt_;
private PType _type_;
private TLParen _lParen_;
private PParameterList _parameterList_;
private TRParen _rParen_;
private TCmpgt _cmpgt_;
public AUnnamedMethodSignature()
{
// Constructor
}
public AUnnamedMethodSignature(
@SuppressWarnings("hiding") TCmplt _cmplt_,
@SuppressWarnings("hiding") PType _type_,
@SuppressWarnings("hiding") TLParen _lParen_,
@SuppressWarnings("hiding") PParameterList _parameterList_,
@SuppressWarnings("hiding") TRParen _rParen_,
@SuppressWarnings("hiding") TCmpgt _cmpgt_)
{
// Constructor
setCmplt(_cmplt_);
setType(_type_);
setLParen(_lParen_);
setParameterList(_parameterList_);
setRParen(_rParen_);
setCmpgt(_cmpgt_);
}
@Override
public Object clone()
{
return new AUnnamedMethodSignature(
cloneNode(this._cmplt_),
cloneNode(this._type_),
cloneNode(this._lParen_),
cloneNode(this._parameterList_),
cloneNode(this._rParen_),
cloneNode(this._cmpgt_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAUnnamedMethodSignature(this);
}
public TCmplt getCmplt()
{
return this._cmplt_;
}
public void setCmplt(TCmplt node)
{
if(this._cmplt_ != null)
{
this._cmplt_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._cmplt_ = node;
}
public PType getType()
{
return this._type_;
}
public void setType(PType node)
{
if(this._type_ != null)
{
this._type_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._type_ = node;
}
public TLParen getLParen()
{
return this._lParen_;
}
public void setLParen(TLParen node)
{
if(this._lParen_ != null)
{
this._lParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lParen_ = node;
}
public PParameterList getParameterList()
{
return this._parameterList_;
}
public void setParameterList(PParameterList node)
{
if(this._parameterList_ != null)
{
this._parameterList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._parameterList_ = node;
}
public TRParen getRParen()
{
return this._rParen_;
}
public void setRParen(TRParen node)
{
if(this._rParen_ != null)
{
this._rParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rParen_ = node;
}
public TCmpgt getCmpgt()
{
return this._cmpgt_;
}
public void setCmpgt(TCmpgt node)
{
if(this._cmpgt_ != null)
{
this._cmpgt_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._cmpgt_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._cmplt_)
+ toString(this._type_)
+ toString(this._lParen_)
+ toString(this._parameterList_)
+ toString(this._rParen_)
+ toString(this._cmpgt_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._cmplt_ == child)
{
this._cmplt_ = null;
return;
}
if(this._type_ == child)
{
this._type_ = null;
return;
}
if(this._lParen_ == child)
{
this._lParen_ = null;
return;
}
if(this._parameterList_ == child)
{
this._parameterList_ = null;
return;
}
if(this._rParen_ == child)
{
this._rParen_ = null;
return;
}
if(this._cmpgt_ == child)
{
this._cmpgt_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._cmplt_ == oldChild)
{
setCmplt((TCmplt) newChild);
return;
}
if(this._type_ == oldChild)
{
setType((PType) newChild);
return;
}
if(this._lParen_ == oldChild)
{
setLParen((TLParen) newChild);
return;
}
if(this._parameterList_ == oldChild)
{
setParameterList((PParameterList) newChild);
return;
}
if(this._rParen_ == oldChild)
{
setRParen((TRParen) newChild);
return;
}
if(this._cmpgt_ == oldChild)
{
setCmpgt((TCmpgt) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 6,324
| 19.337621
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AUnopBoolExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AUnopBoolExpr extends PBoolExpr
{
private PUnopExpr _unopExpr_;
public AUnopBoolExpr()
{
// Constructor
}
public AUnopBoolExpr(
@SuppressWarnings("hiding") PUnopExpr _unopExpr_)
{
// Constructor
setUnopExpr(_unopExpr_);
}
@Override
public Object clone()
{
return new AUnopBoolExpr(
cloneNode(this._unopExpr_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAUnopBoolExpr(this);
}
public PUnopExpr getUnopExpr()
{
return this._unopExpr_;
}
public void setUnopExpr(PUnopExpr node)
{
if(this._unopExpr_ != null)
{
this._unopExpr_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._unopExpr_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._unopExpr_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._unopExpr_ == child)
{
this._unopExpr_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._unopExpr_ == oldChild)
{
setUnopExpr((PUnopExpr) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,904
| 18.84375
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AUnopExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AUnopExpr extends PUnopExpr
{
private PUnop _unop_;
private PImmediate _immediate_;
public AUnopExpr()
{
// Constructor
}
public AUnopExpr(
@SuppressWarnings("hiding") PUnop _unop_,
@SuppressWarnings("hiding") PImmediate _immediate_)
{
// Constructor
setUnop(_unop_);
setImmediate(_immediate_);
}
@Override
public Object clone()
{
return new AUnopExpr(
cloneNode(this._unop_),
cloneNode(this._immediate_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAUnopExpr(this);
}
public PUnop getUnop()
{
return this._unop_;
}
public void setUnop(PUnop node)
{
if(this._unop_ != null)
{
this._unop_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._unop_ = node;
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._unop_)
+ toString(this._immediate_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._unop_ == child)
{
this._unop_ = null;
return;
}
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._unop_ == oldChild)
{
setUnop((PUnop) newChild);
return;
}
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,730
| 18.647482
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AUnopExpression.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AUnopExpression extends PExpression
{
private PUnopExpr _unopExpr_;
public AUnopExpression()
{
// Constructor
}
public AUnopExpression(
@SuppressWarnings("hiding") PUnopExpr _unopExpr_)
{
// Constructor
setUnopExpr(_unopExpr_);
}
@Override
public Object clone()
{
return new AUnopExpression(
cloneNode(this._unopExpr_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAUnopExpression(this);
}
public PUnopExpr getUnopExpr()
{
return this._unopExpr_;
}
public void setUnopExpr(PUnopExpr node)
{
if(this._unopExpr_ != null)
{
this._unopExpr_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._unopExpr_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._unopExpr_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._unopExpr_ == child)
{
this._unopExpr_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._unopExpr_ == oldChild)
{
setUnopExpr((PUnopExpr) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,916
| 18.96875
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AUshrBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AUshrBinop extends PBinop
{
private TUshr _ushr_;
public AUshrBinop()
{
// Constructor
}
public AUshrBinop(
@SuppressWarnings("hiding") TUshr _ushr_)
{
// Constructor
setUshr(_ushr_);
}
@Override
public Object clone()
{
return new AUshrBinop(
cloneNode(this._ushr_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAUshrBinop(this);
}
public TUshr getUshr()
{
return this._ushr_;
}
public void setUshr(TUshr node)
{
if(this._ushr_ != null)
{
this._ushr_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._ushr_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._ushr_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._ushr_ == child)
{
this._ushr_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._ushr_ == oldChild)
{
setUshr((TUshr) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,802
| 17.78125
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AVirtualNonstaticInvoke.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AVirtualNonstaticInvoke extends PNonstaticInvoke
{
private TVirtualinvoke _virtualinvoke_;
public AVirtualNonstaticInvoke()
{
// Constructor
}
public AVirtualNonstaticInvoke(
@SuppressWarnings("hiding") TVirtualinvoke _virtualinvoke_)
{
// Constructor
setVirtualinvoke(_virtualinvoke_);
}
@Override
public Object clone()
{
return new AVirtualNonstaticInvoke(
cloneNode(this._virtualinvoke_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAVirtualNonstaticInvoke(this);
}
public TVirtualinvoke getVirtualinvoke()
{
return this._virtualinvoke_;
}
public void setVirtualinvoke(TVirtualinvoke node)
{
if(this._virtualinvoke_ != null)
{
this._virtualinvoke_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._virtualinvoke_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._virtualinvoke_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._virtualinvoke_ == child)
{
this._virtualinvoke_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._virtualinvoke_ == oldChild)
{
setVirtualinvoke((TVirtualinvoke) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,066
| 20.53125
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AVoidType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AVoidType extends PType
{
private TVoid _void_;
public AVoidType()
{
// Constructor
}
public AVoidType(
@SuppressWarnings("hiding") TVoid _void_)
{
// Constructor
setVoid(_void_);
}
@Override
public Object clone()
{
return new AVoidType(
cloneNode(this._void_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAVoidType(this);
}
public TVoid getVoid()
{
return this._void_;
}
public void setVoid(TVoid node)
{
if(this._void_ != null)
{
this._void_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._void_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._void_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._void_ == child)
{
this._void_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._void_ == oldChild)
{
setVoid((TVoid) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,796
| 17.71875
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AVolatileModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AVolatileModifier extends PModifier
{
private TVolatile _volatile_;
public AVolatileModifier()
{
// Constructor
}
public AVolatileModifier(
@SuppressWarnings("hiding") TVolatile _volatile_)
{
// Constructor
setVolatile(_volatile_);
}
@Override
public Object clone()
{
return new AVolatileModifier(
cloneNode(this._volatile_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAVolatileModifier(this);
}
public TVolatile getVolatile()
{
return this._volatile_;
}
public void setVolatile(TVolatile node)
{
if(this._volatile_ != null)
{
this._volatile_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._volatile_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._volatile_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._volatile_ == child)
{
this._volatile_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._volatile_ == oldChild)
{
setVolatile((TVolatile) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,924
| 19.052083
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AXorBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AXorBinop extends PBinop
{
private TXor _xor_;
public AXorBinop()
{
// Constructor
}
public AXorBinop(
@SuppressWarnings("hiding") TXor _xor_)
{
// Constructor
setXor(_xor_);
}
@Override
public Object clone()
{
return new AXorBinop(
cloneNode(this._xor_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAXorBinop(this);
}
public TXor getXor()
{
return this._xor_;
}
public void setXor(TXor node)
{
if(this._xor_ != null)
{
this._xor_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._xor_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._xor_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._xor_ == child)
{
this._xor_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._xor_ == oldChild)
{
setXor((TXor) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,776
| 17.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/Node.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
@SuppressWarnings("nls")
public abstract class Node implements Switchable, Cloneable
{
private Node parent;
@Override
public abstract Object clone();
public Node parent()
{
return this.parent;
}
void parent(@SuppressWarnings("hiding") Node parent)
{
this.parent = parent;
}
abstract void removeChild(Node child);
abstract void replaceChild(Node oldChild, Node newChild);
public void replaceBy(Node node)
{
this.parent.replaceChild(this, node);
}
protected String toString(Node node)
{
if(node != null)
{
return node.toString();
}
return "";
}
protected String toString(List<?> list)
{
StringBuffer s = new StringBuffer();
for(Iterator<?> i = list.iterator(); i.hasNext();)
{
s.append(i.next());
}
return s.toString();
}
@SuppressWarnings("unchecked")
protected <T extends Node> T cloneNode(T node)
{
if(node != null)
{
return (T) node.clone();
}
return null;
}
@SuppressWarnings("unchecked")
protected <T extends Node> List<T> cloneList(List<T> list)
{
List<T> clone = new LinkedList<T>();
for(T n : list)
{
clone.add((T) n.clone());
}
return clone;
}
}
| 1,521
| 18.265823
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PArgList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PArgList extends Node
{
// Empty body
}
| 169
| 17.888889
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PArrayBrackets.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PArrayBrackets extends Node
{
// Empty body
}
| 175
| 18.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PArrayDescriptor.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PArrayDescriptor extends Node
{
// Empty body
}
| 177
| 18.777778
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PArrayRef.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PArrayRef extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PBaseType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PBaseType extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PBaseTypeNoName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PBaseTypeNoName extends Node
{
// Empty body
}
| 176
| 18.666667
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PBinop extends Node
{
// Empty body
}
| 167
| 17.666667
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PBinopExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PBinopExpr extends Node
{
// Empty body
}
| 171
| 18.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PBoolExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PBoolExpr extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PCaseLabel.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PCaseLabel extends Node
{
// Empty body
}
| 171
| 18.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PCaseStmt.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PCaseStmt extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PCatchClause.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PCatchClause extends Node
{
// Empty body
}
| 173
| 18.333333
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PClassName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PClassName extends Node
{
// Empty body
}
| 171
| 18.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PClassNameList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PClassNameList extends Node
{
// Empty body
}
| 175
| 18.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PConstant.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PConstant extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PDeclaration.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PDeclaration extends Node
{
// Empty body
}
| 173
| 18.333333
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PExpression.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PExpression extends Node
{
// Empty body
}
| 172
| 18.222222
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PExtendsClause.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PExtendsClause extends Node
{
// Empty body
}
| 175
| 18.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PFieldRef.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PFieldRef extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PFieldSignature.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PFieldSignature extends Node
{
// Empty body
}
| 176
| 18.666667
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PFile.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PFile extends Node
{
// Empty body
}
| 166
| 17.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PFileBody.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PFileBody extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PFileType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PFileType extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PFixedArrayDescriptor.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PFixedArrayDescriptor extends Node
{
// Empty body
}
| 182
| 19.333333
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PGotoStmt.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PGotoStmt extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PImmediate.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PImmediate extends Node
{
// Empty body
}
| 171
| 18.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PImplementsClause.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PImplementsClause extends Node
{
// Empty body
}
| 178
| 18.888889
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PInvokeExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PInvokeExpr extends Node
{
// Empty body
}
| 172
| 18.222222
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PJimpleType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PJimpleType extends Node
{
// Empty body
}
| 172
| 18.222222
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PLabelName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PLabelName extends Node
{
// Empty body
}
| 171
| 18.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PLocalName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PLocalName extends Node
{
// Empty body
}
| 171
| 18.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PLocalNameList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PLocalNameList extends Node
{
// Empty body
}
| 175
| 18.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PMember.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PMember extends Node
{
// Empty body
}
| 168
| 17.777778
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PMethodBody.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PMethodBody extends Node
{
// Empty body
}
| 172
| 18.222222
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PMethodSignature.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PMethodSignature extends Node
{
// Empty body
}
| 177
| 18.777778
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PModifier extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PName extends Node
{
// Empty body
}
| 166
| 17.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PNameList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PNameList extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PNewExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PNewExpr extends Node
{
// Empty body
}
| 169
| 17.888889
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PNonstaticInvoke.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PNonstaticInvoke extends Node
{
// Empty body
}
| 177
| 18.777778
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PNonvoidType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PNonvoidType extends Node
{
// Empty body
}
| 173
| 18.333333
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PParameter.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PParameter extends Node
{
// Empty body
}
| 171
| 18.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PParameterList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PParameterList extends Node
{
// Empty body
}
| 175
| 18.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PReference.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PReference extends Node
{
// Empty body
}
| 171
| 18.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PStatement extends Node
{
// Empty body
}
| 171
| 18.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PThrowsClause.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PThrowsClause extends Node
{
// Empty body
}
| 174
| 18.444444
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PType extends Node
{
// Empty body
}
| 166
| 17.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PUnnamedMethodSignature.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PUnnamedMethodSignature extends Node
{
// Empty body
}
| 184
| 19.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PUnop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PUnop extends Node
{
// Empty body
}
| 166
| 17.555556
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PUnopExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PUnopExpr extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/PVariable.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public abstract class PVariable extends Node
{
// Empty body
}
| 170
| 18
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/Start.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class Start extends Node
{
private PFile _pFile_;
private EOF _eof_;
public Start()
{
// Empty body
}
public Start(
@SuppressWarnings("hiding") PFile _pFile_,
@SuppressWarnings("hiding") EOF _eof_)
{
setPFile(_pFile_);
setEOF(_eof_);
}
@Override
public Object clone()
{
return new Start(
cloneNode(this._pFile_),
cloneNode(this._eof_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseStart(this);
}
public PFile getPFile()
{
return this._pFile_;
}
public void setPFile(PFile node)
{
if(this._pFile_ != null)
{
this._pFile_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._pFile_ = node;
}
public EOF getEOF()
{
return this._eof_;
}
public void setEOF(EOF node)
{
if(this._eof_ != null)
{
this._eof_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._eof_ = node;
}
@Override
void removeChild(Node child)
{
if(this._pFile_ == child)
{
this._pFile_ = null;
return;
}
if(this._eof_ == child)
{
this._eof_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(Node oldChild, Node newChild)
{
if(this._pFile_ == oldChild)
{
setPFile((PFile) newChild);
return;
}
if(this._eof_ == oldChild)
{
setEOF((EOF) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
@Override
public String toString()
{
return "" +
toString(this._pFile_) +
toString(this._eof_);
}
}
| 2,431
| 17.149254
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/Switch.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public interface Switch
{
// Empty body
}
| 153
| 16.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/Switchable.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
public interface Switchable
{
void apply(Switch sw);
}
| 162
| 17.111111
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TAbstract.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TAbstract extends Token
{
public TAbstract()
{
super.setText("abstract");
}
public TAbstract(int line, int pos)
{
super.setText("abstract");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TAbstract(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTAbstract(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TAbstract text.");
}
}
| 784
| 18.625
| 68
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TAnd.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TAnd extends Token
{
public TAnd()
{
super.setText("&");
}
public TAnd(int line, int pos)
{
super.setText("&");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TAnd(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTAnd(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TAnd text.");
}
}
| 740
| 17.525
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TAnnotation.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TAnnotation extends Token
{
public TAnnotation()
{
super.setText("annotation");
}
public TAnnotation(int line, int pos)
{
super.setText("annotation");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TAnnotation(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTAnnotation(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TAnnotation text.");
}
}
| 800
| 19.025
| 70
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TAtIdentifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TAtIdentifier extends Token
{
public TAtIdentifier(String text)
{
setText(text);
}
public TAtIdentifier(String text, int line, int pos)
{
setText(text);
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TAtIdentifier(getText(), getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTAtIdentifier(this);
}
}
| 654
| 18.264706
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TBoolConstant.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TBoolConstant extends Token
{
public TBoolConstant(String text)
{
setText(text);
}
public TBoolConstant(String text, int line, int pos)
{
setText(text);
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TBoolConstant(getText(), getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTBoolConstant(this);
}
}
| 654
| 18.264706
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TBoolean.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TBoolean extends Token
{
public TBoolean()
{
super.setText("boolean");
}
public TBoolean(int line, int pos)
{
super.setText("boolean");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TBoolean(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTBoolean(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TBoolean text.");
}
}
| 776
| 18.425
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TBreakpoint.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TBreakpoint extends Token
{
public TBreakpoint()
{
super.setText("breakpoint");
}
public TBreakpoint(int line, int pos)
{
super.setText("breakpoint");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TBreakpoint(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTBreakpoint(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TBreakpoint text.");
}
}
| 800
| 19.025
| 70
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TByte.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TByte extends Token
{
public TByte()
{
super.setText("byte");
}
public TByte(int line, int pos)
{
super.setText("byte");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TByte(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTByte(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TByte text.");
}
}
| 752
| 17.825
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCase.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCase extends Token
{
public TCase()
{
super.setText("case");
}
public TCase(int line, int pos)
{
super.setText("case");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCase(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCase(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCase text.");
}
}
| 752
| 17.825
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCatch.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCatch extends Token
{
public TCatch()
{
super.setText("catch");
}
public TCatch(int line, int pos)
{
super.setText("catch");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCatch(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCatch(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCatch text.");
}
}
| 760
| 18.025
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TChar.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TChar extends Token
{
public TChar()
{
super.setText("char");
}
public TChar(int line, int pos)
{
super.setText("char");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TChar(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTChar(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TChar text.");
}
}
| 752
| 17.825
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TClass.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TClass extends Token
{
public TClass()
{
super.setText("class");
}
public TClass(int line, int pos)
{
super.setText("class");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TClass(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTClass(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TClass text.");
}
}
| 760
| 18.025
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCls.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCls extends Token
{
public TCls()
{
super.setText("cls");
}
public TCls(int line, int pos)
{
super.setText("cls");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCls(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCls(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCls text.");
}
}
| 744
| 17.625
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCmp.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCmp extends Token
{
public TCmp()
{
super.setText("cmp");
}
public TCmp(int line, int pos)
{
super.setText("cmp");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCmp(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCmp(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCmp text.");
}
}
| 744
| 17.625
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCmpeq.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCmpeq extends Token
{
public TCmpeq()
{
super.setText("==");
}
public TCmpeq(int line, int pos)
{
super.setText("==");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCmpeq(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCmpeq(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCmpeq text.");
}
}
| 754
| 17.875
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCmpg.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCmpg extends Token
{
public TCmpg()
{
super.setText("cmpg");
}
public TCmpg(int line, int pos)
{
super.setText("cmpg");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCmpg(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCmpg(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCmpg text.");
}
}
| 752
| 17.825
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCmpge.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCmpge extends Token
{
public TCmpge()
{
super.setText(">=");
}
public TCmpge(int line, int pos)
{
super.setText(">=");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCmpge(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCmpge(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCmpge text.");
}
}
| 754
| 17.875
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCmpgt.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCmpgt extends Token
{
public TCmpgt()
{
super.setText(">");
}
public TCmpgt(int line, int pos)
{
super.setText(">");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCmpgt(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCmpgt(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCmpgt text.");
}
}
| 752
| 17.825
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCmpl.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCmpl extends Token
{
public TCmpl()
{
super.setText("cmpl");
}
public TCmpl(int line, int pos)
{
super.setText("cmpl");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCmpl(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCmpl(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCmpl text.");
}
}
| 752
| 17.825
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCmple.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCmple extends Token
{
public TCmple()
{
super.setText("<=");
}
public TCmple(int line, int pos)
{
super.setText("<=");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCmple(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCmple(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCmple text.");
}
}
| 754
| 17.875
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCmplt.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCmplt extends Token
{
public TCmplt()
{
super.setText("<");
}
public TCmplt(int line, int pos)
{
super.setText("<");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCmplt(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCmplt(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCmplt text.");
}
}
| 752
| 17.825
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/TCmpne.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class TCmpne extends Token
{
public TCmpne()
{
super.setText("!=");
}
public TCmpne(int line, int pos)
{
super.setText("!=");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new TCmpne(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseTCmpne(this);
}
@Override
public void setText(@SuppressWarnings("unused") String text)
{
throw new RuntimeException("Cannot change TCmpne text.");
}
}
| 754
| 17.875
| 67
|
java
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.