Uses of Class
gw.lang.parser.resources.ResourceKey
-
Packages that use ResourceKey Package Description gw.config gw.internal.gosu gw.internal.gosu.parser gw.lang.parser gw.lang.parser.exceptions gw.lang.parser.resources gw.lang.parser.template gw.util -
-
Uses of ResourceKey in gw.config
Methods in gw.config with parameters of type ResourceKey Modifier and Type Method Description boolean
IGosuLocalizationService. exists(ResourceKey key)
String
IGosuLocalizationService. localize(ResourceKey key, Object... args)
-
Uses of ResourceKey in gw.internal.gosu
Methods in gw.internal.gosu with parameters of type ResourceKey Modifier and Type Method Description boolean
DefaultLocalizationService. exists(ResourceKey key)
String
DefaultLocalizationService. localize(ResourceKey key, Object... args)
-
Uses of ResourceKey in gw.internal.gosu.parser
Methods in gw.internal.gosu.parser with parameters of type ResourceKey Modifier and Type Method Description void
ParsedElement. addParseException(IFullParserState parserState, ResourceKey msgKey, Object... args)
void
ParsedElement. addParseException(ResourceKey msgKey, Object... args)
void
ParsedElement. addParseWarning(ResourceKey msgKey, Object... args)
IParseIssue
ParsedElement. getImmediateParseIssue(ResourceKey errKey)
boolean
ParsedElement. hasImmediateParseIssue(ResourceKey errKey)
boolean
ParsedElement. hasImmediateParseWarning(ResourceKey errKey)
boolean
ParsedElement. hasParseException(ResourceKey errKey)
boolean
ParsedElement. hasParseWarning(ResourceKey errKey)
ParseException
ParsedElement. removeParseException(ResourceKey keyToRemove)
Removes the specified parse exception or removes them all if the specified exception is null.ParseWarning
ParsedElement. removeParseWarning(ResourceKey keyToRemove)
void
ParsedElement. removeParseWarningRecursively(ResourceKey keyToRemove)
Method parameters in gw.internal.gosu.parser with type arguments of type ResourceKey Modifier and Type Method Description void
ParserBase. setIgnoreWarnings(Set<ResourceKey> msgKeys)
Constructors in gw.internal.gosu.parser with parameters of type ResourceKey Constructor Description PropertyNotFoundException(IType classBean, ResourceKey msg, IFullParserState parserState)
-
Uses of ResourceKey in gw.lang.parser
Methods in gw.lang.parser that return ResourceKey Modifier and Type Method Description ResourceKey
IParseIssue. getMessageKey()
Methods in gw.lang.parser with parameters of type ResourceKey Modifier and Type Method Description void
IParsedElement. addParseException(ResourceKey msgKey, Object... args)
void
IParsedElement. addParseWarning(ResourceKey msgKey, Object... args)
IParseIssue
IParsedElement. getImmediateParseIssue(ResourceKey errKey)
boolean
IParsedElement. hasImmediateParseIssue(ResourceKey errKey)
boolean
IParsedElement. hasParseException(ResourceKey errKey)
boolean
IParsedElement. hasParseWarning(ResourceKey errKey)
ParserOptions
ParserOptions. withIgnoreWarning(ResourceKey msgKey)
Method parameters in gw.lang.parser with type arguments of type ResourceKey Modifier and Type Method Description void
IGosuParser. setIgnoreWarnings(Set<ResourceKey> ignoreWarnings)
-
Uses of ResourceKey in gw.lang.parser.exceptions
Methods in gw.lang.parser.exceptions that return ResourceKey Modifier and Type Method Description ResourceKey
ParseIssue. getMessageKey()
Methods in gw.lang.parser.exceptions with parameters of type ResourceKey Modifier and Type Method Description protected static String
ParseIssue. formatError(ResourceKey key, Object... msgArgs)
List<IParseIssue>
ParseResultsException. getParseExceptionsForKey(ResourceKey key)
List<IParseIssue>
ParseResultsException. getParseWarningsForKey(ResourceKey key)
void
ParseIssue. setMessage(ResourceKey key, Object... args)
Constructors in gw.lang.parser.exceptions with parameters of type ResourceKey Constructor Description DoesNotOverrideFunctionException(IParserState standardParserState, ResourceKey resourceKey, CharSequence... functionName)
ImplicitCoercionError(IParserState standardParserState, ResourceKey msgImplicitCoercionWarning, IType typeToCoerceTo, Object... args)
ImplicitCoercionWarning(IParserState standardParserState, ResourceKey msgImplicitCoercionWarning, IType typeToCoerceTo, Object... args)
ObsoleteConstructorWarning(IParserState standardParserState, ResourceKey msgObsoleteCtorSyntax)
ParseException(IParserState parserState, ResourceKey messageKey, Object... args)
ParseException(IParserState parserState, IType typeExpected, ResourceKey msgKey, Object... args)
ParseException(Integer lineNumber, Integer lineOffset, Integer tokenColumn, Integer tokenStart, Integer tokenEnd, ISymbolTable symbolTable, ResourceKey key, Object... msgArgs)
ParseIssue(IParserState parserState, ResourceKey key, Object... msgArgs)
ParseIssue(Integer lineNumber, Integer lineOffset, Integer tokenColumn, Integer tokenStart, Integer tokenEnd, ISymbolTable symbolTable, ResourceKey key, Object... msgArgs)
ParseWarning(IParserState state, ResourceKey msgKey, Object... msgArgs)
ParseWarning(Integer lineNumber, Integer lineOffset, Integer tokenColumn, Integer tokenStart, Integer tokenEnd, ISymbolTable symbolTable, ResourceKey key, Object... msgArgs)
WrongNumberOfArgsException(IParserState standardParserState, ResourceKey msgWrongNumberOfArgsToFunction, String paramSignature, int expectedArgs, int iArgs)
-
Uses of ResourceKey in gw.lang.parser.resources
Methods in gw.lang.parser.resources with parameters of type ResourceKey Modifier and Type Method Description static boolean
Res. exists(ResourceKey key)
static String
Res. get(ResourceKey key, Object... args)
-
Uses of ResourceKey in gw.lang.parser.template
Constructors in gw.lang.parser.template with parameters of type ResourceKey Constructor Description TemplateParseException(ResourceKey reason, int lineNumber, int column, int offset, String... args)
TemplateParseException(String strReason, ParseResultsException pe, String strTemplateSource, int lineNumber, int column, int offset, ResourceKey reason, String[] args)
-
Uses of ResourceKey in gw.util
Methods in gw.util with parameters of type ResourceKey Modifier and Type Method Description static void
GosuTestUtil. assertCausesPRE(String script, ResourceKey... keys)
static void
GosuTestUtil. assertHasErrors(IGosuClass gsClass, ResourceKey... expected)
static void
GosuTestUtil. assertHasErrors(String strClass, ResourceKey... expected)
static void
GosuTestUtil. assertOneError(IGosuClass gsClass, ResourceKey errorKey)
static void
GosuTestUtil. assertOneError(String strClass, ResourceKey errorKey)
static void
GosuTestUtil. assertOneWarning(IGosuClass gsClass, ResourceKey warningKey)
static void
GosuTestUtil. assertOneWarning(String strClass, ResourceKey warningKey)
-