public class ReferencesCounterAction extends SymbolAction
| Modifier and Type | Field and Description |
|---|---|
static String |
READS |
static String |
WRITES |
| Constructor and Description |
|---|
ReferencesCounterAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
doRead(Symbol<?> symbol,
SymbolTable table,
org.walkmod.javalang.ast.SymbolReference emitter) |
void |
doWrite(Symbol<?> symbol,
SymbolTable table,
org.walkmod.javalang.ast.SymbolReference emitter) |
int |
getReadsCounter() |
int |
getWritesCounter() |
void |
setReadsCounter(int readsCounter) |
void |
setWritesCounter(int writesCounter) |
doPop, doPush, executepublic static final String READS
public static final String WRITES
public void doRead(Symbol<?> symbol, SymbolTable table, org.walkmod.javalang.ast.SymbolReference emitter)
doRead in class SymbolActionpublic void doWrite(Symbol<?> symbol, SymbolTable table, org.walkmod.javalang.ast.SymbolReference emitter)
doWrite in class SymbolActionpublic int getReadsCounter()
public void setReadsCounter(int readsCounter)
public int getWritesCounter()
public void setWritesCounter(int writesCounter)
Copyright © 2018. All rights reserved.