Uses of Class
org.glassfish.rmic.tools.java.SyntaxError
Packages that use SyntaxError
-
Uses of SyntaxError in org.glassfish.rmic.tools.java
Methods in org.glassfish.rmic.tools.java that throw SyntaxErrorModifier and TypeMethodDescriptionprotected void
Parser.expect
(int t) Expect a token, return its value, scan the next token or throw an exception.protected Type
Parser.parseArrayBrackets
(Type t) Parse the tail of a type expression, which might be array brackets.protected Expression
Parser.parseBinaryExpression
(Expression e) Given a left-hand term, parse an operator and right-hand term.protected Statement
Parser.parseBlockStatement()
protected void
Parser.parseClass()
Parse a top-level class or interface declaration.protected ClassDefinition
Parser.parseClassBody
(IdentifierToken nm, int mod, int ctx, String doc, Vector<IdentifierToken> ext, Vector<IdentifierToken> impl, long p) Parse the body of a class or interface declaration, starting at the left brace.protected Statement
Parser.parseDeclaration
(long p, int mod, Expression type) Parse declaration, called after the type expression has been parsed and the current token is IDENT.protected Expression
Parser.parseExpression()
Parse an expression.protected void
Parser.parseField()
Parse a field.protected Identifier
Parser.parseIdentifier
(boolean star) Deprecated.protected void
Parser.parseInheritance
(Vector<IdentifierToken> ext, Vector<IdentifierToken> impl) protected Statement
Parser.parseLocalClass
(int mod) Parse a block-local class or interface declaration.protected Expression
Parser.parseMethodExpression
(Expression e, Identifier id) Parse a method invocation.protected IdentifierToken
Parser.parseName
(boolean star) Parse an identifier.protected ClassDefinition
Parser.parseNamedClass
(int mod, int ctx, String doc) Parse a named class or interface declaration, starting at "class" or "interface".protected Expression
Parser.parseNewInstanceExpression
(long p, Expression outerArg, Expression type) Parse a new instance expression.protected Statement
Parser.parseStatement()
Parse a statement.protected Expression
Parser.parseTerm()
Parse a primary expression.protected Type
Parser.parseType()
Parse a type expression, this results in a Type.protected Expression
Parser.parseTypeExpression()
Parse a type expression.protected void
Parser.recoverField
(ClassDefinition newClass) Recover after a syntax error in a field.protected boolean
Parser.recoverStatement()
Recover after a syntax error in a statement.