| Package | Description |
|---|---|
| gw.lang | |
| 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 | 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 |
ParseResult.getParsedElement() |
IParsedElement |
IParseResult.getParsedElement() |
IParsedElement |
IParseTree.getParsedElement() |
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 |
IUsageSiteValidator.validate(IParsedElement pe)
Called after the Gosu source corresponding to the parsed element is fully parsed.
|
void |
IDeclarationSiteValidator.validate(IParsedElement feature)
Called after the whole class has been defn compiled.
|
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) |
| 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 |
|---|---|
static <T extends IParsedElement> |
IIdentifierExpression.FeatureInfoWrapper.findEldestAncestor(Class<T> type,
IParsedElement parsedElement) |
| Modifier and Type | Method and Description |
|---|---|
IParsedElement |
IBlockExpression.getBody() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IParsedElement> |
IIdentifierExpression.FeatureInfoWrapper.findEldestAncestor(Class<T> type,
IParsedElement parsedElement) |
| 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 © 2015. All rights reserved.