public class NameRouteVariable extends CodeLocation.CodeLocationInfo implements Variable, RouteVariable
CodeLocation.CodeLocationInfo, CodeLocation.CodePosition
fixedLength, quoteChar
Constructor and Description |
---|
NameRouteVariable(RouteVariable parent,
StringToken name) |
Modifier and Type | Method and Description |
---|---|
void |
accept(AstVisitor astVisitor) |
void |
doFormat(int depth,
Hints formatOption,
FormatWriter writer)
格式化
|
StringToken |
getName() |
RouteVariable |
getParent() |
getEndPosition, getStartPosition, setEndPosition, setStartPosition, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEndPosition, getStartPosition, setEndPosition, setStartPosition
public NameRouteVariable(RouteVariable parent, StringToken name)
public RouteVariable getParent()
getParent
in interface RouteVariable
public StringToken getName()
public void accept(AstVisitor astVisitor)
public void doFormat(int depth, Hints formatOption, FormatWriter writer) throws IOException
InstFormat
doFormat
in interface InstFormat
IOException
Copyright © 2020. All rights reserved.