Serialized Form


Package org.antlr.analysis

Class org.antlr.analysis.AnalysisRecursionOverflowException extends java.lang.RuntimeException implements Serializable

Serialized Fields

ovfState

DFAState ovfState

proposedNFAConfiguration

NFAConfiguration proposedNFAConfiguration

Class org.antlr.analysis.AnalysisTimeoutException extends java.lang.RuntimeException implements Serializable

Serialized Fields

abortedDFA

DFA abortedDFA

Class org.antlr.analysis.NonLLStarDecisionException extends java.lang.RuntimeException implements Serializable

Serialized Fields

abortedDFA

DFA abortedDFA

Package org.antlr.gunit

Class org.antlr.gunit.InvalidInputException extends java.lang.Exception implements Serializable

serialVersionUID: 1L


Package org.antlr.gunit.swingui

Class org.antlr.gunit.swingui.RunnerController.RunnerView extends javax.swing.JPanel implements Serializable

Serialized Fields

textArea

javax.swing.JTextArea textArea

tree

javax.swing.JTree tree

scroll

javax.swing.JScrollPane scroll

Class org.antlr.gunit.swingui.TestCaseEditController.AbstractEditorPane extends javax.swing.JPanel implements Serializable

Serialized Fields

combo

javax.swing.JComboBox combo

editor

javax.swing.JComponent editor

title

java.lang.String title

placeHolder

javax.swing.JLabel placeHolder

Class org.antlr.gunit.swingui.TestCaseEditController.InputEditorPane extends TestCaseEditController.AbstractEditorPane implements Serializable

Class org.antlr.gunit.swingui.TestCaseEditController.InputFileEditor extends TestCaseEditController.InputStringEditor implements Serializable

Class org.antlr.gunit.swingui.TestCaseEditController.InputStringEditor extends javax.swing.JTextField implements Serializable

Class org.antlr.gunit.swingui.TestCaseEditController.OutputEditorPane extends TestCaseEditController.AbstractEditorPane implements Serializable

Class org.antlr.gunit.swingui.TestCaseEditController.OutputResultEditor extends javax.swing.JPanel implements Serializable

Serialized Fields

tbFail

javax.swing.JToggleButton tbFail

tbOk

javax.swing.JToggleButton tbOk

Class org.antlr.gunit.swingui.WorkSpaceView extends javax.swing.JFrame implements Serializable

Serialized Fields

splitListClient

javax.swing.JSplitPane splitListClient

tabEditors

javax.swing.JTabbedPane tabEditors

paneToolBar

javax.swing.JPanel paneToolBar

paneStatus

StatusBarController paneStatus

paneEditor

TestCaseEditController paneEditor

toolbar

javax.swing.JToolBar toolbar

txtEditor

javax.swing.JTextArea txtEditor

listRules

RuleListController listRules

menuBar

javax.swing.JMenuBar menuBar

scrollCode

javax.swing.JScrollPane scrollCode

resultPane

javax.swing.JPanel resultPane

btnOpenGrammar

javax.swing.JButton btnOpenGrammar

Package org.antlr.gunit.swingui.model

Class org.antlr.gunit.swingui.model.Rule extends javax.swing.DefaultListModel implements Serializable

Serialized Fields

name

java.lang.String name

Package org.antlr.misc

Class org.antlr.misc.MultiMap extends java.util.HashMap<K,java.util.List<V>> implements Serializable

Class org.antlr.misc.OrderedHashSet extends java.util.HashSet implements Serializable

Serialized Fields

elements

java.util.List<E> elements
Track the elements as they are added to the set


Package org.antlr.runtime

Class org.antlr.runtime.CommonToken extends java.lang.Object implements Serializable

Serialized Fields

type

int type

line

int line

charPositionInLine

int charPositionInLine

channel

int channel

text

java.lang.String text
We need to be able to change the text once in a while. If this is non-null, then getText should return this. Note that start/stop are not affected by changing this.


index

int index
What token number is this from 0..n-1 tokens; < 0 implies invalid index


start

int start
The char position into the input buffer where this token starts


stop

int stop
The char position into the input buffer where this token stops

Class org.antlr.runtime.EarlyExitException extends RecognitionException implements Serializable

Serialized Fields

decisionNumber

int decisionNumber

Class org.antlr.runtime.FailedPredicateException extends RecognitionException implements Serializable

Serialized Fields

ruleName

java.lang.String ruleName

predicateText

java.lang.String predicateText

Class org.antlr.runtime.MismatchedNotSetException extends MismatchedSetException implements Serializable

Class org.antlr.runtime.MismatchedRangeException extends RecognitionException implements Serializable

Serialized Fields

a

int a

b

int b

Class org.antlr.runtime.MismatchedSetException extends RecognitionException implements Serializable

Serialized Fields

expecting

BitSet expecting

Class org.antlr.runtime.MismatchedTokenException extends RecognitionException implements Serializable

Serialized Fields

expecting

int expecting

Class org.antlr.runtime.MismatchedTreeNodeException extends RecognitionException implements Serializable

Serialized Fields

expecting

int expecting

Class org.antlr.runtime.MissingTokenException extends MismatchedTokenException implements Serializable

Serialized Fields

inserted

java.lang.Object inserted

Class org.antlr.runtime.NoViableAltException extends RecognitionException implements Serializable

Serialized Fields

grammarDecisionDescription

java.lang.String grammarDecisionDescription

decisionNumber

int decisionNumber

stateNumber

int stateNumber

Class org.antlr.runtime.RecognitionException extends java.lang.Exception implements Serializable

Serialized Fields

index

int index
What is index of token/char were we looking at when the error occurred?


token

Token token
The current Token when an error occurred. Since not all streams can retrieve the ith Token, we have to track the Token object. For parsers. Even when it's a tree parser, token might be set.


node

java.lang.Object node
If this is a tree parser exception, node is set to the node with the problem.


c

int c
The current char when an error occurred. For lexers.


line

int line
Track the line at which the error occurred in case this is generated from a lexer. We need to track this since the unexpected char doesn't carry the line info.


charPositionInLine

int charPositionInLine

approximateLineInfo

boolean approximateLineInfo
If you are parsing a tree node stream, you will encounter som imaginary nodes w/o line/col info. We now search backwards looking for most recent token with line/col info, but notify getErrorHeader() that info is approximate.

Class org.antlr.runtime.UnwantedTokenException extends MismatchedTokenException implements Serializable


Package org.antlr.runtime.tree

Class org.antlr.runtime.tree.RewriteCardinalityException extends java.lang.RuntimeException implements Serializable

Serialized Fields

elementDescription

java.lang.String elementDescription

Class org.antlr.runtime.tree.RewriteEarlyExitException extends RewriteCardinalityException implements Serializable

Class org.antlr.runtime.tree.RewriteEmptyStreamException extends RewriteCardinalityException implements Serializable


Package org.antlr.tool

Class org.antlr.tool.GrammarAST extends antlr.BaseAST implements Serializable

Serialized Fields

ID

int ID

token

antlr.Token token
This AST node was created from what token?


enclosingRuleName

java.lang.String enclosingRuleName

ruleStartTokenIndex

int ruleStartTokenIndex
If this is a RULE node then track rule's start, stop tokens' index.


ruleStopTokenIndex

int ruleStopTokenIndex

lookaheadDFA

DFA lookaheadDFA
If this is a decision node, what is the lookahead DFA?


NFAStartState

NFAState NFAStartState
What NFA start state was built from this node?


NFATreeDownState

NFAState NFATreeDownState
This is used for TREE_BEGIN nodes to point into the NFA. TREE_BEGINs point at left edge of DOWN for LOOK computation purposes (Nullable tree child list needs special code gen when matching).


followingNFAState

NFAState followingNFAState
Rule ref nodes, token refs, set, and NOT set refs need to track their location in the generated NFA so that local FOLLOW sets can be computed during code gen for automatic error recovery.


setValue

IntSet setValue
If this is a SET node, what are the elements?


blockOptions

java.util.Map<K,V> blockOptions
If this is a BLOCK node, track options here


rewriteRefsShallow

java.util.Set<E> rewriteRefsShallow
If this is a BLOCK node for a rewrite rule, track referenced elements here. Don't track elements in nested subrules.


rewriteRefsDeep

java.util.Set<E> rewriteRefsDeep

terminalOptions

java.util.Map<K,V> terminalOptions

outerAltNum

int outerAltNum
if this is an ACTION node, this is the outermost enclosing alt num in rule. For actions, define.g sets these (used to be codegen.g). We need these set so we can examine actions early, before code gen, for refs to rule predefined properties and rule labels. For most part define.g sets outerAltNum, but codegen.g does the ones for %foo(a={$ID.text}) type refs as the {$ID...} is not seen as an action until code gen pulls apart.


code

org.antlr.stringtemplate.StringTemplate code
if this is a TOKEN_REF or RULE_REF node, this is the code StringTemplate generated for this node. We need to update it later to add a label if someone does $tokenref or $ruleref in an action.



Copyright © 2013. All Rights Reserved.