lombok.ast.grammar
Class StatementsParser
java.lang.Object
org.parboiled.BaseActions<V>
org.parboiled.BaseParser<Node>
lombok.ast.grammar.StatementsParser
- All Implemented Interfaces:
- org.parboiled.ContextAware<Node>
public class StatementsParser
- extends org.parboiled.BaseParser<Node>
Methods inherited from class org.parboiled.BaseParser |
ACTION, Any, CAPTURE, Ch, CharIgnoreCase, CharRange, CharSet, CharSet, CharSet, DOWN, DOWN2, DOWN3, DOWN4, DOWN5, DOWN6, Empty, Eoi, FirstOf, FirstOf, FromCharArray, FromCharLiteral, FromStringLiteral, newInstance, OneOrMore, Optional, Sequence, Sequence, String, String, StringIgnoreCase, StringIgnoreCase, Test, TestNot, ToRule, ToRules, UP, UP2, UP3, UP4, UP5, UP6, ZeroOrMore |
Methods inherited from class org.parboiled.BaseActions |
character, character, chars, chars, currentChar, getContext, hasError, inPredicate, lastChar, lastNode, lastText, lastValue, node, nodeByLabel, nodes, nodesByLabel, nodeSuppressed, prevChar, prevEnd, prevStart, prevText, prevValue, set, set, setContext, text, text, texts, texts, value, value, value, values, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatementsParser
public StatementsParser(ParserGroup group)
anyStatement
public org.parboiled.Rule anyStatement()
blockStatement
public org.parboiled.Rule blockStatement()
- See Also:
- JLS section 14.2
localClassDeclaration
public org.parboiled.Rule localClassDeclaration()
- See Also:
- JLS section 14.3
variableDefinition
public org.parboiled.Rule variableDefinition()
- See Also:
- JLS section 14.4
localVariableDeclaration
public org.parboiled.Rule localVariableDeclaration()
explicitAlternateConstructorInvocation
public org.parboiled.Rule explicitAlternateConstructorInvocation()
explicitSuperConstructorInvocation
public org.parboiled.Rule explicitSuperConstructorInvocation()
labelledStatement
public org.parboiled.Rule labelledStatement()
- Labels aren't statements; instead they can prefix any statement. Something like
if (1 == 1) foo: a();
is legal.
Multiple labels for the same statement is also legal.
- See Also:
- JLS section 14.7
expressionStatement
public org.parboiled.Rule expressionStatement()
- See Also:
- JLS section 14.8
ifStatement
public org.parboiled.Rule ifStatement()
- See Also:
- JLS section 14.9
assertStatement
public org.parboiled.Rule assertStatement()
- See Also:
- JLS section 14.10
switchStatement
public org.parboiled.Rule switchStatement()
- See Also:
- JLS section 14.11
caseStatement
public org.parboiled.Rule caseStatement()
- See Also:
- JLS section 14.11
defaultStatement
public org.parboiled.Rule defaultStatement()
- See Also:
- JLS section 14.11
whileStatement
public org.parboiled.Rule whileStatement()
- See Also:
- JLS section 14.12
doWhileStatement
public org.parboiled.Rule doWhileStatement()
- See Also:
- JLS section 14.13
basicForStatement
public org.parboiled.Rule basicForStatement()
- See Also:
- JLS section 14.14.1.1
enhancedForStatement
public org.parboiled.Rule enhancedForStatement()
- See Also:
- JLS section 14.14.2,
Bug 1699917
breakStatement
public org.parboiled.Rule breakStatement()
- See Also:
- JLS section 14.15
continueStatement
public org.parboiled.Rule continueStatement()
- See Also:
- JLS section 14.16
returnStatement
public org.parboiled.Rule returnStatement()
- See Also:
- JLS section 14.17
throwStatement
public org.parboiled.Rule throwStatement()
- See Also:
- JLS section 14.18
synchronizedStatement
public org.parboiled.Rule synchronizedStatement()
- See Also:
- JLS section 14.19
tryStatement
public org.parboiled.Rule tryStatement()
- See Also:
- JLS section 14.20
Copyright © 2010-2011 The Project Lombok Authors, licensed under the MIT licence.