Uses of Interface
gw.lang.parser.IParseTree
-
Packages that use IParseTree Package Description editor editor.search gw.internal.gosu.parser gw.lang.parser gw.util -
-
Uses of IParseTree in editor
Fields in editor declared as IParseTree Modifier and Type Field Description private IParseTreeSmartFixManager. _stringLiteralLocationToReplaceFields in editor with type parameters of type IParseTree Modifier and Type Field Description private java.util.List<IParseTree>GosuDocument. _locationsMethods in editor that return types with arguments of type IParseTree Modifier and Type Method Description java.util.List<IParseTree>GosuDocument. getLocations()Methods in editor with parameters of type IParseTree Modifier and Type Method Description (package private) voidGosuEditor. displayJavadocHelp(IParseTree parseTree)private java.awt.PointDynamicSelectionManager. findNewLineWithinStatementList(IParseTree spanningLocation)static java.lang.StringContextHelpUtil. getContextHelp(IParseTree deepestParseTree)(package private) java.lang.StringGosuEditor. getContextHelp(IParseTree parseTree)private java.awt.PointDynamicSelectionManager. makePoint(IParseTree spanningLocation)(package private) voidGosuEditor. replaceLocation(IParseTree location, java.lang.String strReplacement)private IParseTreeGosuEditor. returnStatementOrExpression(IParseTree statement)Method parameters in editor with type arguments of type IParseTree Modifier and Type Method Description voidGosuDocument. setLocations(java.util.List<IParseTree> locations)The parsed Locations for the document. -
Uses of IParseTree in editor.search
Methods in editor.search with parameters of type IParseTree Modifier and Type Method Description static SearchLocationUsageSearcher. makeSearchLocation(IParseTree parseTree)private SearchLocationUsageSearcher. makeZeroLengthSearchLocation(IParseTree parseTree) -
Uses of IParseTree in gw.internal.gosu.parser
Classes in gw.internal.gosu.parser that implement IParseTree Modifier and Type Class Description classParseTreeIntended to specify the location of a parsed element within the source.Fields in gw.internal.gosu.parser declared as IParseTree Modifier and Type Field Description (package private) IParseTreeToken. _afterprivate IParseTreePositionToken. _posFields in gw.internal.gosu.parser with type parameters of type IParseTree Modifier and Type Field Description private java.util.List<IParseTree>ParserBase. _subTreeprivate static java.util.List<IParseTree>ParsedElement. EMPTY_PARSETREE_LISTMethods in gw.internal.gosu.parser that return IParseTree Modifier and Type Method Description IParseTreeToken. getAfter()IParseTreeParseTree. getMatchingElement(int iStart, int iLength)IParseTreeParseTree. getParent()IParseTreeParseTree. getParentOtherThanThis()Like getParent, but won't infinitely recurse if the parent turns out to be equal to this, which can happen when the expression in question is a program (since the outer program has the same location as the main statement).IParseTreePositionToken. getPos()Methods in gw.internal.gosu.parser that return types with arguments of type IParseTree Modifier and Type Method Description java.util.Collection<IParseTree>ParseTree. findDescendantsWithParsedElementType(java.lang.Class type)java.util.List<IParseTree>ParseTree. getChildren()java.util.List<IParseTree>ParseTree. getChildrenBefore(IParseTree parseTree)java.util.List<IParseTree>ParseTree. getChildrenSorted()java.util.List<IParseTree>ParseTree. getDominatingLocationList()java.util.List<IParseTree>GosuParser. getLocations()Methods in gw.internal.gosu.parser with parameters of type IParseTree Modifier and Type Method Description voidParseTree. addChild(int iIndex, IParseTree l)voidParseTree. addChild(IParseTree l)Adds a child location to this location.protected voidParsedElement. addToken(IToken token, IParseTree after)voidParseTree. addUnder(IParseTree parent)booleanParseTree. areOffsetAndExtentEqual(IParseTree location)Is just the physical location equal?booleanParseTree. contains(IParseTree l)booleanParseTree. containsOrBorders(IParseTree l, boolean strict)ParseTreeParseTree. getChildAfter(IParseTree child)ParseTreeParseTree. getChildBefore(IParseTree child)java.util.List<IParseTree>ParseTree. getChildrenBefore(IParseTree parseTree)booleanParseTree. isAncestor(IParseTree child)booleanParseTree. isAncestorOf(IParseTree l)private booleanParsedElement. isDescendent(IParseTree after)booleanParseTree. isSiblingOf(IParseTree deepestAtEnd)IParseResultGosuProgramParser. parseRuntimeExpr(java.lang.String typeName, java.lang.String strSource, IType enclosingClass, ISymbolTable extSyms, IParseTree ctxElem)voidParseTree. removeChild(IParseTree l)voidToken. setAfter(IParseTree after)voidParsedElement. setLocation(IParseTree location)Specifiy the location of this parsed element within the source.voidParseTree. setParent(IParseTree l)Sets the parent location.Method parameters in gw.internal.gosu.parser with type arguments of type IParseTree Modifier and Type Method Description private voidParseTree. findDescendantsWithParsedElementType(java.util.ArrayList<IParseTree> matches, java.lang.Class type)voidParserBase. setSubTree(java.util.List<IParseTree> subTree)Constructors in gw.internal.gosu.parser with parameters of type IParseTree Constructor Description PositionToken(IParseTree pos, int iStartOffset, int iEndOffset) -
Uses of IParseTree in gw.lang.parser
Methods in gw.lang.parser that return IParseTree Modifier and Type Method Description abstract IParseTreeIToken. getAfter()IParseTreeIParseTree. getChildAfter(int point)IParseTreeIParseTree. getChildAfter(IParseTree child)IParseTreeIParseTree. getChildBefore(int point)IParseTreeIParseTree. getChildBefore(IParseTree child)IParseTreeIParseTree. getDeepestFirstChild()IParseTreeIParseTree. getDeepestLocation(boolean statementsOnly, int iStart, int iEnd, boolean strict)IParseTreeIParseTree. getDeepestLocation(int iPosition, boolean strict)IParseTreeIParseTree. getDeepestLocation(int iStart, int iEnd, boolean strict)static IParseTreeIParseTree.Search. getDeepestLocation(boolean statementsOnly, java.util.List<IParseTree> locations, int iStart, int iEnd, boolean strict)static IParseTreeIParseTree.Search. getDeepestLocation(java.util.List<IParseTree> locations, int iPosition, boolean strict)A convenience method to find the deepest location for a specified position given an array of locations (typically obtained via IGosuParser.getLocations())static IParseTreeIParseTree.Search. getDeepestLocation(java.util.List<IParseTree> locations, int iSegmentStart, int iSegmentEnd, boolean strict)A convenience method to find the deepest location for a specified segment given an array of locations (typically obtained via IGosuParser.getLocatoins())static IParseTreeIParseTree.Search. getDeepestLocationSpanning(java.util.List<IParseTree> locations, int iStart, int iEnd, boolean strict)IParseTreeIParseTree. getDeepestStatementLocation(int iPosition, boolean strict)static IParseTreeIParseTree.Search. getDeepestStatementLocation(java.util.List<IParseTree> locations, int iPosition, boolean strict)A convenience method to find the deepest location for a specified position given an array of locations (typically obtained via IGosuParser.getLocatoins())IParseTreeIParseTree. getFirstChildWithParsedElementType(java.lang.Class<? extends IParsedElement> aClass)IParseTreeIParseTree. getLastChild()IParseTreeIParseTree. getLastChildWithParsedElementType(java.lang.Class<? extends IParsedElement> aClass)IParseTreeIParsedElement. getLocation()IParseTreeIParseTree. getMatchingElement(int iStart, int iLength)IParseTreeIParseTree. getNextSibling()IParseTreeIParseTree. getParent()IParseTreeIParseTree. getParentOtherThanThis()IParseTreeIParseTree. getPreviousSibling()IParseTreeIParseTree. getStatementAtLine(int iLineNum, java.lang.Class clsSkip)static IParseTreeIParseTree.Search. getStatementAtLine(java.util.List<IParseTree> locations, int iLineNum, java.lang.Class clsSkip)Methods in gw.lang.parser that return types with arguments of type IParseTree Modifier and Type Method Description java.util.Collection<IParseTree>IParseTree. findDescendantsWithParsedElementType(java.lang.Class type)java.util.List<IParseTree>IParseTree. getChildren()java.util.List<IParseTree>IParseTree. getChildrenBefore(IParseTree parseTree)java.util.List<IParseTree>IParseTree. getDominatingLocationList()java.util.List<IParseTree>IGosuParser. getLocations()Methods in gw.lang.parser with parameters of type IParseTree Modifier and Type Method Description voidIParseTree. addChild(IParseTree l)voidIParseTree. addUnder(IParseTree parent)booleanIParseTree. areOffsetAndExtentEqual(IParseTree location)booleanIParseTree. contains(IParseTree l)booleanIParseTree. containsOrBorders(IParseTree l, boolean strict)IParseTreeIParseTree. getChildAfter(IParseTree child)IParseTreeIParseTree. getChildBefore(IParseTree child)java.util.List<IParseTree>IParseTree. getChildrenBefore(IParseTree parseTree)booleanIParseTree. isAncestor(IParseTree after)booleanIParseTree. isAncestorOf(IParseTree l)static booleanIParseTree.Search. isDeeper(IParseTree deepest, IParseTree potentiallyDeeper)booleanIParseTree. isSiblingOf(IParseTree deepestAtEnd)IParseResultIGosuProgramParser. parseRuntimeExpr(java.lang.String typeName, java.lang.String strSource, IType enclosingClass, ISymbolTable extSyms, IParseTree ctxElem)voidIParseTree. removeChild(IParseTree l)abstract voidIToken. setAfter(IParseTree after)voidIParsedElement. setLocation(IParseTree location)voidIParseTree. setParent(IParseTree parent)Method parameters in gw.lang.parser with type arguments of type IParseTree Modifier and Type Method Description static <E extends IParsedElement>
voidIParseTree.Search. getContainedParsedElementsByType(java.util.List<IParseTree> locations, java.lang.Class<E> parsedElementClass, java.util.List<E> listOut)static IParseTreeIParseTree.Search. getDeepestLocation(boolean statementsOnly, java.util.List<IParseTree> locations, int iStart, int iEnd, boolean strict)static IParseTreeIParseTree.Search. getDeepestLocation(java.util.List<IParseTree> locations, int iPosition, boolean strict)A convenience method to find the deepest location for a specified position given an array of locations (typically obtained via IGosuParser.getLocations())static IParseTreeIParseTree.Search. getDeepestLocation(java.util.List<IParseTree> locations, int iSegmentStart, int iSegmentEnd, boolean strict)A convenience method to find the deepest location for a specified segment given an array of locations (typically obtained via IGosuParser.getLocatoins())static IParseTreeIParseTree.Search. getDeepestLocationSpanning(java.util.List<IParseTree> locations, int iStart, int iEnd, boolean strict)static IParseTreeIParseTree.Search. getDeepestStatementLocation(java.util.List<IParseTree> locations, int iPosition, boolean strict)A convenience method to find the deepest location for a specified position given an array of locations (typically obtained via IGosuParser.getLocatoins())static IParseTreeIParseTree.Search. getStatementAtLine(java.util.List<IParseTree> locations, int iLineNum, java.lang.Class clsSkip) -
Uses of IParseTree in gw.util
Methods in gw.util that return IParseTree Modifier and Type Method Description static IParseTreeGosuRefactorUtil. findFirstStatementAtLine(int line, int position, java.util.List<IParseTree> locations)static IParseTreeGosuRefactorUtil. findLastStatementAtLine(int line, int position, java.util.List<IParseTree> locations)static IParseTree[]GosuRefactorUtil. findSpanningLogicalRange(IParseTree start, IParseTree end)Given two parse tree positions, find the bounding pair that captures the start and end in one logical unitprivate static IParseTreeGosuRefactorUtil. findStatementAtLine(java.util.List<IParseTree> locations, int position, int line, boolean earliest)Methods in gw.util with parameters of type IParseTree Modifier and Type Method Description static GosuRefactorUtil.MoveInstructionGosuRefactorUtil. findElementToMoveToAfter(IParseTree child)private static GosuRefactorUtil.MoveInstructionGosuRefactorUtil. findElementToMoveToBefore(IParseTree child)static IParseTree[]GosuRefactorUtil. findSpanningLogicalRange(IParseTree start, IParseTree end)Given two parse tree positions, find the bounding pair that captures the start and end in one logical unitstatic GosuRefactorUtil.MoveInstructionGosuRefactorUtil. getMoveDownInstruction(IParseTree elementToMoveAfter)static GosuRefactorUtil.MoveInstructionGosuRefactorUtil. getMoveUpInstruction(IParseTree elementToMoveBefore)static booleanGosuRefactorUtil. isClassElement(IParseTree parseTree)Method parameters in gw.util with type arguments of type IParseTree Modifier and Type Method Description static IParsedElementGosuRefactorUtil. boundingParent(java.util.List<IParseTree> locations, int position, java.lang.Class<? extends IParsedElement>... possibleTypes)Finds a bounding parent of any of the possible types passed in from the list of locations, starting at the position given.static IParseTreeGosuRefactorUtil. findFirstStatementAtLine(int line, int position, java.util.List<IParseTree> locations)static IParseTreeGosuRefactorUtil. findLastStatementAtLine(int line, int position, java.util.List<IParseTree> locations)private static IParseTreeGosuRefactorUtil. findStatementAtLine(java.util.List<IParseTree> locations, int position, int line, boolean earliest)
-