Uses of Annotation Interface
org.antlr.v4.runtime.misc.Nullable
Packages that use Nullable
Package
Description
-
Uses of Nullable in org.antlr.v4
Method parameters in org.antlr.v4 with annotations of type Nullable -
Uses of Nullable in org.antlr.v4.automata
Fields in org.antlr.v4.automata with annotations of type NullableMethods in org.antlr.v4.automata with annotations of type NullableModifier and TypeMethodDescriptionprivate LexerActionLexerATNFactory.createLexerAction(GrammarAST ID, GrammarAST arg) private IntegerLexerATNFactory.getChannelConstantValue(String channelName, org.antlr.runtime.Token token) private IntegerLexerATNFactory.getModeConstantValue(String modeName, org.antlr.runtime.Token token) private IntegerLexerATNFactory.getTokenConstantValue(String tokenName, org.antlr.runtime.Token token) Method parameters in org.antlr.v4.automata with annotations of type NullableModifier and TypeMethodDescriptionprivate LexerActionLexerATNFactory.createLexerAction(GrammarAST ID, GrammarAST arg) private IntegerLexerATNFactory.getChannelConstantValue(String channelName, org.antlr.runtime.Token token) private IntegerLexerATNFactory.getChannelConstantValue(String channelName, org.antlr.runtime.Token token) private IntegerLexerATNFactory.getModeConstantValue(String modeName, org.antlr.runtime.Token token) private IntegerLexerATNFactory.getModeConstantValue(String modeName, org.antlr.runtime.Token token) private IntegerLexerATNFactory.getTokenConstantValue(String tokenName, org.antlr.runtime.Token token) private IntegerLexerATNFactory.getTokenConstantValue(String tokenName, org.antlr.runtime.Token token) ParserATNFactory.newState(GrammarAST node) -
Uses of Nullable in org.antlr.v4.codegen
Methods in org.antlr.v4.codegen with annotations of type NullableModifier and TypeMethodDescriptionDefaultOutputModelFactory.getCurrentDeclForName(String name) CodeGenerator.getTarget()org.stringtemplate.v4.STGroupCodeGenerator.getTemplates() -
Uses of Nullable in org.antlr.v4.gui
Method parameters in org.antlr.v4.gui with annotations of type NullableModifier and TypeMethodDescriptionstatic Stringstatic StringCall this method to view a parse tree in a dialog box visually.Call this method to view a parse tree in a dialog box visually.Call this method to view a parse tree in a dialog box visually.Call this method to view a parse tree in a dialog box visually.static voidSave this tree in a postscript filestatic voidSave this tree in a postscript file using a particular font name and sizestatic voidSave this tree in a postscript filestatic voidSave this tree in a postscript filestatic voidSave this tree in a postscript file using a particular font name and sizestatic StringTrees.toStringTree(Tree t, TreeTextProvider nodeTextProvider) Print out a whole tree in LISP form.static voidstatic voidConstructor parameters in org.antlr.v4.gui with annotations of type NullableModifierConstructorDescriptionDefaultTreeTextProvider(List<String> ruleNames) TreePostScriptGenerator(List<String> ruleNames, Tree root) TreePostScriptGenerator(List<String> ruleNames, Tree root, String fontName, int fontSize) TreeViewer(List<String> ruleNames, Tree tree) -
Uses of Nullable in org.antlr.v4.parse
Method parameters in org.antlr.v4.parse with annotations of type NullableModifier and TypeMethodDescriptionstatic AttributeDictstatic AttributeFor decls like "String foo" or "char *foo32[]" compute the ID and type declarations.static AttributeDictScopeParser.parseTypedArgList(ActionAST action, String s, Grammar g) Given an arg or retval scope definition list like -
Uses of Nullable in org.antlr.v4.runtime
Fields in org.antlr.v4.runtime with annotations of type NullableModifier and TypeFieldDescriptionprotected List<ParseTreeListener>Parser._parseListenersThe list ofParseTreeListenerlisteners registered to receive events during the parse.private final RuleContextRecognitionException.ctxprivate final ATNConfigSetLexerNoViableAltException.deadEndConfigsWhich configurations did we try at input.index() that couldn't match input.LA(1)?private final ATNConfigSetNoViableAltException.deadEndConfigsWhich configurations did we try at input.index() that couldn't match input.LT(1)?private final IntStreamRecognitionException.inputprivate final Recognizer<?,?> RecognitionException.recognizerTheRecognizerwhere this exception originated.Methods in org.antlr.v4.runtime with annotations of type NullableModifier and TypeMethodDescriptionString[]Lexer.getChannelNames()RecognitionException.getContext()Gets theRuleContextat the time this exception was thrown.LexerNoViableAltException.getDeadEndConfigs()NoViableAltException.getDeadEndConfigs()RecognitionException.getExpectedTokens()Gets the set of input symbols which could potentially follow the previously matched symbol at the time this exception was thrown.RecognitionException.getInputStream()Gets the input stream which is the symbol source for the recognizer where this exception was thrown.TokenSource.getInputStream()Get theCharStreamfrom which this token source is currently providing tokens.Vocabulary.getLiteralName(int tokenType) Gets the string literal associated with a token type.VocabularyImpl.getLiteralName(int tokenType) String[]Lexer.getModeNames()RecognitionException.getOffendingToken()FailedPredicateException.getPredicate()Recognizer<?,?> RecognitionException.getRecognizer()Gets theRecognizerwhere this exception occurred.Vocabulary.getSymbolicName(int tokenType) Gets the symbolic name associated with a token type.VocabularyImpl.getSymbolicName(int tokenType) protected TokenDefaultErrorStrategy.singleTokenDeletion(Parser recognizer) This method implements the single-token deletion inline error recovery strategy.Method parameters in org.antlr.v4.runtime with annotations of type NullableModifier and TypeMethodDescriptionvoidRecognizer.action(RuleContext _localctx, int ruleIndex, int actionIndex) private static StringFailedPredicateException.formatMessage(String predicate, String message) private static StringFailedPredicateException.formatMessage(String predicate, String message) static VocabularyVocabularyImpl.fromTokenNames(String[] tokenNames) Returns aVocabularyImplinstance from the specified set of token names.protected BitSetDiagnosticErrorListener.getConflictingAlts(BitSet reportedAlts, ATNConfigSet configs) Computes the set of conflicting or ambiguous alternatives from a configuration set, if that information was not already provided by the parser.voidDeprecated.voidParser.notifyErrorListeners(Token offendingToken, String msg, RecognitionException e) booleanParser.precpred(RuleContext localctx, int precedence) booleanRecognizer.precpred(RuleContext localctx, int precedence) voidvoidvoidBaseErrorListener.reportAmbiguity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs) voidDiagnosticErrorListener.reportAmbiguity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs) voidParserErrorListener.reportAmbiguity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs) This method is called by the parser when a full-context prediction results in an ambiguity.voidBaseErrorListener.reportAttemptingFullContext(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, SimulatorState conflictState) voidDiagnosticErrorListener.reportAttemptingFullContext(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, SimulatorState conflictState) voidParserErrorListener.reportAttemptingFullContext(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, SimulatorState conflictState) This method is called when an SLL conflict occurs and the parser is about to use the full context information to make an LL decision.booleanRecognizer.sempred(RuleContext _localctx, int ruleIndex, int actionIndex) protected final <Symbol extends Token>
voidRecognitionException.setOffendingToken(Recognizer<Symbol, ?> recognizer, Symbol offendingToken) <T extends Symbol>
voidANTLRErrorListener.syntaxError(Recognizer<T, ?> recognizer, T offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) Upon syntax error, notify any interested parties.<T extends Symbol>
voidANTLRErrorListener.syntaxError(Recognizer<T, ?> recognizer, T offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) Upon syntax error, notify any interested parties.<T extends Token>
voidBaseErrorListener.syntaxError(Recognizer<T, ?> recognizer, T offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) <T extends Token>
voidBaseErrorListener.syntaxError(Recognizer<T, ?> recognizer, T offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) <T extends Symbol>
voidProxyErrorListener.syntaxError(Recognizer<T, ?> recognizer, T offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) <T extends Symbol>
voidProxyErrorListener.syntaxError(Recognizer<T, ?> recognizer, T offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) CommonToken.toString(Recognizer<?, ?> r) final StringRuleContext.toString(List<String> ruleNames, RuleContext stop) RuleContext.toString(List<String> ruleNames, RuleContext stop) final StringRuleContext.toString(Recognizer<?, ?> recog) RuleContext.toString(Recognizer<?, ?> recog, RuleContext stop) RuleContext.toString(Recognizer<?, ?> recog, RuleContext stop) RuleContext.toStringTree(List<String> ruleNames) Print out a whole tree, not just a node, in LISP format (root child1 ..RuleContext.toStringTree(Parser recog) Print out a whole tree, not just a node, in LISP format (root child1 ..Constructor parameters in org.antlr.v4.runtime with annotations of type NullableModifierConstructorDescriptionFailedPredicateException(Parser recognizer, String predicate) FailedPredicateException(Parser recognizer, String predicate, String message) FailedPredicateException(Parser recognizer, String predicate, String message) InterpreterRuleContext(ParserRuleContext parent, int invokingStateNumber, int ruleIndex) Constructs a newInterpreterRuleContextwith the specified parent, invoking state, and rule index.LexerInterpreter(String grammarFileName, Vocabulary vocabulary, Collection<String> ruleNames, Collection<String> channelNames, Collection<String> modeNames, ATN atn, CharStream input) LexerNoViableAltException(Lexer lexer, CharStream input, int startIndex, ATNConfigSet deadEndConfigs) LexerNoViableAltException(Lexer lexer, CharStream input, int startIndex, ATNConfigSet deadEndConfigs) NoViableAltException(Recognizer<Token, ?> recognizer, TokenStream input, Token startToken, Token offendingToken, ATNConfigSet deadEndConfigs, ParserRuleContext ctx) ParserRuleContext(ParserRuleContext parent, int invokingStateNumber) RecognitionException(String message, Recognizer<Token, ?> recognizer, IntStream input, ParserRuleContext ctx) RecognitionException(String message, Recognizer<Token, ?> recognizer, IntStream input, ParserRuleContext ctx) RecognitionException(String message, Recognizer<Token, ?> recognizer, IntStream input, ParserRuleContext ctx) RecognitionException(Lexer lexer, CharStream input) RecognitionException(Recognizer<Token, ?> recognizer, IntStream input, ParserRuleContext ctx) RecognitionException(Recognizer<Token, ?> recognizer, IntStream input, ParserRuleContext ctx) RecognitionException(Recognizer<Token, ?> recognizer, IntStream input, ParserRuleContext ctx) VocabularyImpl(String[] literalNames, String[] symbolicNames) Constructs a new instance ofVocabularyImplfrom the specified literal and symbolic token names.VocabularyImpl(String[] literalNames, String[] symbolicNames) Constructs a new instance ofVocabularyImplfrom the specified literal and symbolic token names.VocabularyImpl(String[] literalNames, String[] symbolicNames, String[] displayNames) Constructs a new instance ofVocabularyImplfrom the specified literal, symbolic, and display token names.VocabularyImpl(String[] literalNames, String[] symbolicNames, String[] displayNames) Constructs a new instance ofVocabularyImplfrom the specified literal, symbolic, and display token names.VocabularyImpl(String[] literalNames, String[] symbolicNames, String[] displayNames) Constructs a new instance ofVocabularyImplfrom the specified literal, symbolic, and display token names. -
Uses of Nullable in org.antlr.v4.runtime.atn
Fields in org.antlr.v4.runtime.atn with annotations of type NullableModifier and TypeFieldDescriptionprivate ATNConfigSetRetainedConfigSet.bufferReachConfigSource.listActive read source after the firstReachConfigSource.appendContext(int, org.antlr.v4.runtime.atn.PredictionContextCache);nullwhile still viewingReachConfigSource.setdirectly.protected final ParserParserATNSimulator.parserprotected final LexerLexerATNSimulator.recogReachConfigSource.rewriteScratchCapacity-preserving rewrite buffer.private ATNConfigSetReachConfigSource.setfinal SimulatorStateDecisionEventInfo.stateThe simulator state containing additional information relevant to the prediction state when the current event occurred, ornullif no additional information is relevant or available.Methods in org.antlr.v4.runtime.atn with annotations of type NullableModifier and TypeMethodDescription(package private) ATNConfigSetRetainedConfigSet.buffer()Underlying buffer after firstRetainedConfigSet.obtain(int), elsenull.LL1Analyzer.getDecisionLookahead(ATNState s) Calculates the SLL(1) expected lookahead set for each outgoing transition of anATNState.(package private) final DFAParserATNSimulator.getDfaForClosure()Current DFA under construction during prediction, if any.protected ATNConfigLexerATNSimulator.getEpsilonTarget(CharStream input, ATNConfig config, Transition t, ATNConfigSet configs, boolean speculative, boolean treatEofAsEpsilon) protected ATNConfigParserATNSimulator.getEpsilonTarget(ATNConfig config, Transition t, boolean collectPredicates, boolean inContext, PredictionContextCache contextCache, boolean treatEofAsEpsilon) Compute the target configuration after traversing epsilon transitiontfromconfig, ornulliftis not an epsilon (or EOF-as-epsilon) edge applicable in the current mode.protected DFAStateLexerATNSimulator.getExistingTargetState(DFAState s, int t) Get an existing target state for an edge in the DFA.protected DFAStateParserATNSimulator.getExistingTargetState(DFAState s, int t) Get an existing target state for an edge in the DFA.ATNConfig.getLexerActionExecutor()protected ATNStateLexerATNSimulator.getReachableTarget(Transition trans, int t) protected ATNStateParserATNSimulator.getReachableTarget(ATNConfig source, Transition trans, int ttype) Transition.label()protected ATNConfigParserATNSimulator.precedenceTransition(ATNConfig config, PrecedencePredicateTransition pt, boolean collectPredicates, boolean inContext) protected ATNConfigParserATNSimulator.predTransition(ATNConfig config, PredicateTransition pt, boolean collectPredicates, boolean inContext) (package private) ATNConfigSetEpsilonClosure.retainedBufferA()Intermediate buffer A after first non-predicate closure, elsenull.(package private) ATNConfigSetEpsilonClosure.retainedBufferB()Intermediate buffer B after first non-predicate closure, elsenull.(package private) final ATNConfigSetLexerATNSimulator.retainedReachBuffer()Underlying retained reach buffer after firstLexerATNSimulator.computeTargetState(org.antlr.v4.runtime.CharStream, org.antlr.v4.runtime.dfa.DFAState, int), elsenull.ReachConfigSource.rewriteScratch()Retained rewrite scratch after first materialization, elsenull.Method parameters in org.antlr.v4.runtime.atn with annotations of type NullableModifier and TypeMethodDescriptionprotected voidLL1Analyzer._LOOK(ATNState s, ATNState stopState, PredictionContext ctx, IntervalSet look, Set<ATNConfig> lookBusy, BitSet calledRuleStack, boolean seeThruPreds, boolean addEOF) Compute set of tokens that can followsin the ATN in the specifiedctx.intParserATNSimulator.adaptivePredict(TokenStream input, int decision, ParserRuleContext outerContext) intParserATNSimulator.adaptivePredict(TokenStream input, int decision, ParserRuleContext outerContext, boolean useContext) booleanATNConfigSet.add(ATNConfig e, PredictionContextCache contextCache) protected voidParserATNSimulator.addDFAEdge(DFAState p, int t, DFAState q) protected voidParserATNSimulator.addDFAEdge(DFAState p, int t, DFAState q) voidstatic LexerActionExecutorLexerActionExecutor.append(LexerActionExecutor lexerActionExecutor, LexerAction lexerAction) Creates aLexerActionExecutorwhich executes the actions for the inputlexerActionExecutorfollowed by a specifiedlexerAction.(package private) voidEpsilonClosure.closeOne(ATNConfig config, ATNConfigSet configs, ATNConfigSet intermediate, Set<ATNConfig> closureBusy, boolean collectPredicates, boolean hasMoreContexts, PredictionContextCache contextCache, int depth, boolean treatEofAsEpsilon) Recursive helper: walk epsilon edges fromconfig, adding leaf configurations toconfigsand optionally deferring rule transitions tointermediatefor breadth-first processing.protected voidParserATNSimulator.closure(ATNConfig config, ATNConfigSet configs, ATNConfigSet intermediate, Set<ATNConfig> closureBusy, boolean collectPredicates, boolean hasMoreContexts, PredictionContextCache contextCache, int depth, boolean treatEofAsEpsilon) protected voidParserATNSimulator.closure(ATNConfigSet sourceConfigs, ATNConfigSet configs, boolean collectPredicates, boolean hasMoreContext, PredictionContextCache contextCache, boolean treatEofAsEpsilon) Compute the epsilon closure of every configuration insourceConfigs, adding the resulting non-epsilon (or EOF-as-epsilon) configurations toconfigs.static ATNConfigATNConfig.create(ATNState state, int alt, PredictionContext context) static ATNConfigATNConfig.create(ATNState state, int alt, PredictionContext context, SemanticContext semanticContext) static ATNConfigATNConfig.create(ATNState state, int alt, PredictionContext context, SemanticContext semanticContext, LexerActionExecutor lexerActionExecutor) private Tuple2<DFAState,ParserRuleContext> ReachComputation.finishTargetEdge(DFA dfa, DFAState s, int t, IntegerList contextElements, ATNConfigSet edgeConfigs, ParserRuleContext remainingGlobalContext, PredictionContextCache contextCache) Install a DFA edge for the computed config set, orATNSimulator.ERRORif empty.LL1Analyzer.getDecisionLookahead(ATNState s) Calculates the SLL(1) expected lookahead set for each outgoing transition of anATNState.ATN.getExpectedTokens(int stateNumber, RuleContext context) Computes the set of input symbols which could follow ATN state numberstateNumberin the specified fullcontext.LL1Analyzer.LOOK(ATNState s, ATNState stopState, PredictionContext ctx) Compute set of tokens that can followsin the ATN in the specifiedctx.private booleanATNConfigSet.mergeConfigContext(ATNConfig e, PredictionContextCache contextCache, ATNConfig unmergedConfig) protected voidParserATNSimulator.reportAttemptingFullContext(DFA dfa, BitSet conflictingAlts, SimulatorState conflictState, int startIndex, int stopIndex) protected ATNConfigParserATNSimulator.ruleTransition(ATNConfig config, RuleTransition t, PredictionContextCache contextCache) Build the configuration that results from traversing rule transitiontfromconfig.ATNConfig.toString(Recognizer<?, ?> recog, boolean showAlt) ATNConfig.toString(Recognizer<?, ?> recog, boolean showAlt, boolean showContext) final ATNConfigATNConfig.transform(ATNState state, PredictionContext context, boolean checkNonGreedy) private ATNConfigATNConfig.transform(ATNState state, PredictionContext context, SemanticContext semanticContext, boolean checkNonGreedy, LexerActionExecutor lexerActionExecutor) Constructor parameters in org.antlr.v4.runtime.atn with annotations of type NullableModifierConstructorDescriptionprotectedActionATNConfig(LexerActionExecutor lexerActionExecutor, ATNConfig c, ATNState state, PredictionContext context, boolean passedThroughNonGreedyDecision) ActionATNConfig(LexerActionExecutor lexerActionExecutor, ATNState state, int alt, PredictionContext context, boolean passedThroughNonGreedyDecision) ActionSemanticContextATNConfig(LexerActionExecutor lexerActionExecutor, SemanticContext semanticContext, ATNConfig c, ATNState state, PredictionContext context, boolean passedThroughNonGreedyDecision) ActionSemanticContextATNConfig(LexerActionExecutor lexerActionExecutor, SemanticContext semanticContext, ATNState state, int alt, PredictionContext context, boolean passedThroughNonGreedyDecision) ATNDeserializer(ATNDeserializationOptions deserializationOptions) DecisionEventInfo(int decision, SimulatorState state, TokenStream input, int startIndex, int stopIndex, boolean fullCtx) LexerATNSimulator(Lexer recog, ATN atn) LookaheadEventInfo(int decision, SimulatorState state, int predictedAlt, TokenStream input, int startIndex, int stopIndex, boolean fullCtx) Constructs a new instance of theLookaheadEventInfoclass with the specified detailed lookahead information.NotSetTransition(ATNState target, IntervalSet set) ParserATNSimulator(Parser parser, ATN atn) SemanticContextATNConfig(SemanticContext semanticContext, ATNConfig c, ATNState state, PredictionContext context) SemanticContextATNConfig(SemanticContext semanticContext, ATNState state, int alt, PredictionContext context) SetTransition(ATNState target, IntervalSet set) -
Uses of Nullable in org.antlr.v4.runtime.dfa
Fields in org.antlr.v4.runtime.dfa with annotations of type NullableModifier and TypeFieldDescriptionprivate DFAState[]DFAState.asciiEdgesASCII lexer edges (0..127), ornulluntil the first such edge is installed.(package private) final ATNDFASerializer.atnprivate BitSetDFAState.contextSymbolsSymbols that require a global context transition before the symbol edge.private Object[]DFAState.directValuesIdentity-indexed lexer edges for code points outside the ASCII table, ornullwhenDFAState.edgesis not that layout.DFAState.predicates(package private) final String[]DFASerializer.ruleNamesMethods in org.antlr.v4.runtime.dfa with annotations of type NullableMethod parameters in org.antlr.v4.runtime.dfa with annotations of type NullableModifier and TypeMethodDescriptionDeprecated.Deprecated.UseDFA.toString(Vocabulary, String[])instead.Deprecated.UseDFA.toString(Vocabulary, String[])instead.DFA.toString(Vocabulary vocabulary, String[] ruleNames) Constructor parameters in org.antlr.v4.runtime.dfa with annotations of type NullableModifierConstructorDescriptionDFASerializer(DFA dfa, String[] tokenNames) Deprecated.UseDFASerializer(DFA, Vocabulary)instead.DFASerializer(DFA dfa, String[] tokenNames, String[] ruleNames, ATN atn) Deprecated.UseDFASerializer(DFA, Vocabulary, String[], ATN)instead.DFASerializer(DFA dfa, String[] tokenNames, String[] ruleNames, ATN atn) Deprecated.UseDFASerializer(DFA, Vocabulary, String[], ATN)instead.DFASerializer(DFA dfa, String[] tokenNames, String[] ruleNames, ATN atn) Deprecated.UseDFASerializer(DFA, Vocabulary, String[], ATN)instead.DFASerializer(DFA dfa, Recognizer<?, ?> parser) DFASerializer(DFA dfa, Vocabulary vocabulary, String[] ruleNames, ATN atn) DFASerializer(DFA dfa, Vocabulary vocabulary, String[] ruleNames, ATN atn) -
Uses of Nullable in org.antlr.v4.runtime.misc
Methods in org.antlr.v4.runtime.misc with annotations of type NullableModifier and TypeMethodDescriptionReturn a newIntSetobject containing all elements that are present in both the current set and the specified seta.IntSet.complement(IntSet elements) Return a newIntSetobject containing all elements that are present inelementsbut not present in the current set.private AnnotationValueRuleDependencyProcessor.findRuleDependencyProperty(Tuple2<RuleDependency, Element> dependency, AnnotationMirror annotationMirror, RuleDependencyProcessor.RuleDependencyProperty property) private Tuple2<AnnotationMirror,AnnotationValue> RuleDependencyProcessor.findRuleDependencyProperty(Tuple2<RuleDependency, Element> dependency, RuleDependencyProcessor.RuleDependencyProperty property) Return a newIntSetobject containing all elements that are present in the current set, the specified seta, or both.Return a newIntSetobject containing all elements that are present in the current set but not present in the input seta.Method parameters in org.antlr.v4.runtime.misc with annotations of type NullableModifier and TypeMethodDescriptionModify the currentIntSetobject to contain all elements that are present in itself, the specifiedset, or both.Return a newIntSetobject containing all elements that are present in both the current set and the specified seta.IntSet.complement(IntSet elements) Return a newIntSetobject containing all elements that are present inelementsbut not present in the current set.booleanArray2DHashSet.containsFast(T obj) voidReturn a newIntSetobject containing all elements that are present in the current set, the specified seta, or both.static char[]booleanArray2DHashSet.removeFast(T obj) static IntervalSetIntervalSet.subtract(IntervalSet left, IntervalSet right) Compute the set difference between two interval sets.static IntervalSetIntervalSet.subtract(IntervalSet left, IntervalSet right) Compute the set difference between two interval sets.Return a newIntSetobject containing all elements that are present in the current set but not present in the input seta.static voidConstructor parameters in org.antlr.v4.runtime.misc with annotations of type NullableModifierConstructorDescriptionArray2DHashSet(AbstractEqualityComparator<? super T> comparator) Array2DHashSet(AbstractEqualityComparator<? super T> comparator, int initialCapacity, int initialBucketCapacity) FlexibleHashMap(AbstractEqualityComparator<? super K> comparator) FlexibleHashMap(AbstractEqualityComparator<? super K> comparator, int initialCapacity, int initialBucketCapacity) -
Uses of Nullable in org.antlr.v4.runtime.tree
Methods in org.antlr.v4.runtime.tree with annotations of type NullableModifier and TypeMethodDescriptionstatic ParserRuleContextTrees.getRootOfSubtreeEnclosingRegion(ParseTree t, int startTokenIndex, int stopTokenIndex) Find smallest subtree of t enclosing range startTokenIndex..stopTokenIndex inclusively using postorder traversal.Method parameters in org.antlr.v4.runtime.tree with annotations of type NullableModifier and TypeMethodDescriptionstatic StringTrees.getNodeText(Tree t, List<String> ruleNames) static StringTrees.getNodeText(Tree t, Parser recog) static StringTrees.toStringTree(Tree t, List<String> ruleNames) Print out a whole tree in LISP form.static StringTrees.toStringTree(Tree t, Parser recog) Print out a whole tree in LISP form. -
Uses of Nullable in org.antlr.v4.runtime.tree.pattern
Fields in org.antlr.v4.runtime.tree.pattern with annotations of type NullableModifier and TypeFieldDescriptionprivate final StringTokenTagToken.labelThis is the backing field forTokenTagToken.getLabel().Methods in org.antlr.v4.runtime.tree.pattern with annotations of type NullableModifier and TypeMethodDescriptionGet the last node associated with a specificlabel.final StringRuleTagToken.getLabel()Gets the label associated with the rule tag.final StringTagChunk.getLabel()Get the label, if any, assigned to this chunk.final StringTokenTagToken.getLabel()Gets the label associated with the rule tag.ParseTreeMatch.getMismatchedNode()Get the node at which we first detected a mismatch.protected ParseTreeParseTreePatternMatcher.matchImpl(ParseTree tree, ParseTree patternTree, MultiMap<String, ParseTree> labels) Constructor parameters in org.antlr.v4.runtime.tree.pattern with annotations of type NullableModifierConstructorDescriptionParseTreeMatch(ParseTree tree, ParseTreePattern pattern, MultiMap<String, ParseTree> labels, ParseTree mismatchedNode) Constructs a new instance ofParseTreeMatchfrom the specified parse tree and pattern.RuleTagToken(String ruleName, int bypassTokenType, String label) Constructs a new instance ofRuleTagTokenwith the specified rule name, bypass token type, and label.TokenTagToken(String tokenName, int type, String label) Constructs a new instance ofTokenTagTokenwith the specified token name, type, and label. -
Uses of Nullable in org.antlr.v4.semantics
Method parameters in org.antlr.v4.semantics with annotations of type NullableModifier and TypeMethodDescriptionprotected voidSymbolChecks.checkDeclarationRuleConflicts(Rule r, AttributeDict attributes, Set<String> ruleNames, ErrorType errorType) protected voidSymbolChecks.checkLocalConflictingDeclarations(Rule r, AttributeDict attributes, AttributeDict referenceAttributes, ErrorType errorType) protected voidSymbolChecks.checkLocalConflictingDeclarations(Rule r, AttributeDict attributes, AttributeDict referenceAttributes, ErrorType errorType) -
Uses of Nullable in org.antlr.v4.test.runtime.java.api
Method parameters in org.antlr.v4.test.runtime.java.api with annotations of type NullableModifier and TypeMethodDescriptionprivate FailedPredicateExceptionGroovyLikeParser.createFailedPredicateException(String predicate) protected FailedPredicateExceptionGroovyLikeParser.createFailedPredicateException(String predicate, String message) protected FailedPredicateExceptionGroovyLikeParser.createFailedPredicateException(String predicate, String message) private FailedPredicateExceptionJavaParser.createFailedPredicateException(String predicate) protected FailedPredicateExceptionJavaParser.createFailedPredicateException(String predicate, String message) protected FailedPredicateExceptionJavaParser.createFailedPredicateException(String predicate, String message) -
Uses of Nullable in org.antlr.v4.test.runtime.java.api.perf
Method parameters in org.antlr.v4.test.runtime.java.api.perf with annotations of type NullableModifier and TypeMethodDescriptionprivate FailedPredicateExceptiongraphemesParser.createFailedPredicateException(String predicate) protected FailedPredicateExceptiongraphemesParser.createFailedPredicateException(String predicate, String message) protected FailedPredicateExceptiongraphemesParser.createFailedPredicateException(String predicate, String message) -
Uses of Nullable in org.antlr.v4.tool
Fields in org.antlr.v4.tool with annotations of type NullableModifier and TypeFieldDescriptionprivate final Object[]ANTLRMessage.argsprivate final ThrowableANTLRMessage.eMethods in org.antlr.v4.tool with annotations of type NullableMethod parameters in org.antlr.v4.tool with annotations of type NullableModifier and TypeMethodDescriptionAttributeDict.intersection(AttributeDict other) Return the set of keys that collide fromthisandother.Constructor parameters in org.antlr.v4.tool with annotations of type NullableModifierConstructorDescriptionANTLRMessage(ErrorType errorType, Throwable e, org.antlr.runtime.Token offendingToken, Object... args) Grammar(String fileName, String grammarText, ANTLRToolListener listener) For testing; builds trees, does sem analGrammar(String fileName, String grammarText, Grammar tokenVocabSource, ANTLRToolListener listener) For testing; builds trees, does sem anal
DFA.toString(Vocabulary)instead.