javacc类图

立即使用

QTinfo+ size : int- innerId: int - operator: String - arg1 : String- arg2 : String- result : String+ getOperator() :String+ setResult(String result) : void+ setResult(int result) : void+ getResult() : String+ setInnerId(int innerID) : void+ getInnerIdSeqen()+ toString() : StringQTList+ addQTInfo(QTInfo info) : void+ addQTInfo(int index, QTInfo info) : void+ get(int index) : QTInfo+ remove(int index) : QTInfo+ clear() : void+ printQTTable() : voidVariable- String type- String name- int line- int column- int elementSize- ArrayInfo arrayInfo- ArrayList<Integer>arrayInfoVar + Variable(String type, String name)+ Variable(String type, Token token)+ String getType()+ void setType(String type)+ String getName()+ void setName(String name)+ void setLine(int line)+ int getLine()+ void setColumn(int column)+ int getColumn()+ boolean equals(Object obj)+ int hashCode()VariableTable+ int size()+ void addWithCheck(Variable variable)+ void add(VariableTable varTable)+ void printAll()+ Variable get(int i)+ Variable variableExist(Variable info)ConditionValue- ArrayList<QTInfo> trueChain- ArrayList<QTInfo> falseChain+ void mergeTrue(QTInfo qtTrue)+ void mergeFalse(QTInfo qtFalse)+ void mergeFalse(QTInfo qtFalse)+ void backpatchFalseChain(int result)VariableNameGenerator- VAR_PREFIX :String = "T"- sequenceId : int = 0+ String genVariableName()MyNewGrammar+ VariableTable vt+ QTList qtList+ void main(String args [])+ void printQTList()Token- long serialVersionUID = 1L+ int kind+ int beginLine+ beginColumn+ endLine+ int endColumn+ String image+ Token next+ Token(int kind, String image)+ String toString()+ Token(int kind)
170
0
2
发布时间: 2021-12-30