| Package | Description |
|---|---|
| gw.lang | |
| gw.lang.annotation | |
| gw.lang.parser | |
| gw.lang.parser.exceptions | |
| gw.lang.parser.expressions | |
| gw.lang.parser.statements | |
| gw.lang.reflect.gs | |
| gw.util |
| Modifier and Type | Method and Description |
|---|---|
static IFullParserState |
GosuShop.createStandardParserState(IParsedElement rootParsedElement,
String scriptSrc,
boolean b) |
IFullParserState |
IGosuShop.createStandardParserState(IParsedElement rootParsedElement,
String scriptSrc,
boolean b) |
| Modifier and Type | Method and Description |
|---|---|
static UsageModifier |
UsageModifier.getUsageModifier(IParsedElement pe,
UsageTarget targetType,
IType annotationType,
AnnotationUseSiteTarget target) |
static boolean |
UsageModifier.targetAppliesToParsedElement(IParsedElement pe,
AnnotationUseSiteTarget target) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IExpression |
interface |
IParsedElementWithAtLeastOneDeclaration |
interface |
IStatement |
| Modifier and Type | Method and Description |
|---|---|
<E extends IParsedElement> |
IParsedElement.getContainedParsedElementsByType(Class<E> parsedElementType,
List<E> listResults) |
static <E extends IParsedElement> |
IParseTree.Search.getContainedParsedElementsByType(List<IParseTree> locations,
Class<E> parsedElementClass,
List<E> listOut) |
| Modifier and Type | Method and Description |
|---|---|
IParsedElement |
IParsedElement.findAncestorParsedElementByType(Class... parsedElementClasses) |
IParsedElement |
IParsedElement.findRootParsedElement() |
IParsedElement |
IParsedElement.getParent() |
IParsedElement |
IParseTree.getParsedElement() |
IParsedElement |
ParseResult.getParsedElement() |
IParsedElement |
IParseResult.getParsedElement() |
IParsedElement |
TypeVarToTypeMap.getReparseElement() |
IParsedElement |
IParseIssue.getSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
IParsedElement.addExceptionsFrom(IParsedElement elem) |
IParsedElementWithAtLeastOneDeclaration |
IParsedElement.findDeclaringStatement(IParsedElement parsedElement,
String identifierName) |
static IStatement |
IParseTree.Search.getHiddenStatement(IParsedElement pe) |
static void |
PostCompilationAnalysis.maybeAnalyze(IParsedElement pe,
IParsedElement... other)
Perform post compilation analysis on the given ParsedElement.
|
static void |
PostCompilationAnalysis.maybeAnalyze(IParsedElement pe,
IParsedElement... other)
Perform post compilation analysis on the given ParsedElement.
|
IParseResult |
IGosuProgramParser.parseEval(String strSource,
List<ICapturedSymbol> symTable,
IType enclosingClass,
IParsedElement evalExpressionOrAnyCtxElement,
ISymbolTable extSyms) |
ArrayList<ISymbol> |
IGosuParser.parseParameterDeclarationList(IParsedElement pe,
boolean bStatic,
List<IType> inferredArgumentTypes) |
void |
IParsedElement.setParent(IParsedElement rootElement) |
void |
TypeVarToTypeMap.setReparseElement(IParsedElement reparseElem) |
void |
IGosuValidator.validate(IParsedElement rootParsedElement,
String scriptSrc)
Provides additional semantic checks to a Gosu parser
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IParsedElement.getContainedParsedElementsByTypes(List<IParsedElement> listResults,
Class<? extends IParsedElement>... parsedElementTypes) |
boolean |
IParsedElement.getContainedParsedElementsByTypesWithIgnoreSet(List<IParsedElement> listResults,
Set<Class<? extends IParsedElement>> ignoreSet,
Class<? extends IParsedElement>... parsedElementTypes) |
boolean |
IParsedElement.getContainedParsedElementsByTypesWithIgnoreSet(List<IParsedElement> listResults,
Set<Class<? extends IParsedElement>> ignoreSet,
Class<? extends IParsedElement>... parsedElementTypes) |
IParseTree |
IParseTree.getFirstChildWithParsedElementType(Class<? extends IParsedElement> aClass) |
IParseTree |
IParseTree.getLastChildWithParsedElementType(Class<? extends IParsedElement> aClass) |
void |
IParsedElement.visit(java.util.function.Consumer<IParsedElement> visitor) |
| Modifier and Type | Method and Description |
|---|---|
IParsedElement |
ParseResultsException.getParsedElement() |
IParsedElement |
ParseIssue.getSource()
Warning: Only valid if called from the parser thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ParseResultsException.reset(IParsedElement pe) |
void |
ParseIssue.setSource(IParsedElement sourceOfError) |
| Constructor and Description |
|---|
ParseResultsException(IParsedElement parsedElement) |
ParseResultsException(IParsedElement parsedElement,
String message) |
| Modifier and Type | Method and Description |
|---|---|
IParsedElement |
IBlockExpression.getBody() |
| Modifier and Type | Method and Description |
|---|---|
IParsedElement |
IGosuProgram.getEnclosingEvalExpression() |
| Modifier and Type | Method and Description |
|---|---|
void |
IGosuProgram.setEnclosingEvalExpression(IParsedElement evalExprOrAnyExpr) |
| Modifier and Type | Method and Description |
|---|---|
static IParsedElement |
GosuRefactorUtil.boundingParent(List<IParseTree> locations,
int position,
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.
|
Copyright © 2020. All rights reserved.