Uses of Interface
org.codehaus.janino.Java.BlockStatement
-
Packages that use Java.BlockStatement Package Description org.codehaus.janino The classes in this package pose the core of the Janino JavaTM compiler. -
-
Uses of Java.BlockStatement in org.codehaus.janino
Classes in org.codehaus.janino that implement Java.BlockStatement Modifier and Type Class Description static classJava.AlternateConstructorInvocationRepresentation of a JLS7 8.8.7.1.static classJava.AssertStatementRepresentation of the JLS7 14.10 ASSERT statement.static classJava.BlockRepresentation of a Java™ "block" (JLS7 14.2).static classJava.BreakableStatementBase class for statements that can be terminated abnormally with a "break" statement.static classJava.BreakStatementRepresentation of the JLS7 14.15 BREAK statement.static classJava.ConstructorInvocationAbstract bas class forJava.SuperConstructorInvocationandJava.AlternateConstructorInvocation.static classJava.ContinuableStatementBase class for statements that support the 'continue' statement.static classJava.ContinueStatementRepresentation of the JLS7 14.16 CONTINUE statement.static classJava.DoStatementRepresentation of a JLS7 14.13 DO statement.static classJava.EmptyStatementRepresentation of the "empty statement", i.e.static classJava.ExpressionStatementRepresentation of the JLS7 14.8 'expression statement'.static classJava.FieldDeclarationThis class is derived from "Statement", because it provides for the initialization of the field.static classJava.ForEachStatementRepresentation of a JLS7 14.14.2 'enhanced FOR statement'.static classJava.ForStatementRepresentation of a JLS7 14.14.1 'basic FOR statement'.static classJava.IfStatementRepresentation of a JLS7 14.9 IF statement.static classJava.InitializerRepresentation of an 'instance initializer' (JLS7 8.6) or 'static initializer' (JLS7 8.7).static classJava.LabeledStatementRepresentation of a JLS7 14.7 'labeled statement'.static classJava.LocalClassDeclarationStatementRepresentation of the JLS7 14.3 'local class declaration statement'.static classJava.LocalVariableDeclarationStatementRepresentation of a JLS7 14.4 'local variable declaration statement'.static classJava.ReturnStatementRepresentation of the JLS7 14.17 RETURN statement.static classJava.StatementEverything that can occur in the body of a method or in a block.static classJava.SuperConstructorInvocationRepresentation of a JLS7 8.8.7.1.static classJava.SwitchStatementThe JLS7 14.10 "switch" Statement.static classJava.SynchronizedStatementRepresentation of a JLS7 14.9 SYNCHRONIZED statement.static classJava.ThrowStatementRepresentation of a JLS7 14.18 THROW statement.static classJava.TryStatementRepresentation of a JLS7 14.20 TRY statement.static classJava.WhileStatementRepresentation of the JLS7 14.2 WHILE statement.Fields in org.codehaus.janino declared as Java.BlockStatement Modifier and Type Field Description Java.BlockStatementJava.ContinuableStatement. bodyThe body of this continuable statement.Java.BlockStatementJava.SynchronizedStatement. bodyThe body of this SYNCHRONIZED statement.Java.BlockStatementJava.TryStatement. bodyThe body of the TRY statement.Java.BlockStatementJava.IfStatement. optionalElseStatementThe optional ELSE statement, which is executed iff the condition evaluates to FALSE.Java.BlockStatementJava.ForStatement. optionalInitThe optional 'init' part of the 'basic FOR statement'.Java.BlockStatementJava.IfStatement. thenStatementThe 'then statement', which is executed iff the condition evaluates to TRUE.Fields in org.codehaus.janino with type parameters of type Java.BlockStatement Modifier and Type Field Description List<Java.BlockStatement>Java.SwitchStatement.SwitchBlockStatementGroup. blockStatementsThe statements following the CASE labels.List<? extends Java.BlockStatement>Java.FunctionDeclarator. optionalStatementsThe statements that comprise the function;nullfor abstract method declarations.List<Java.BlockStatement>Java.Block. statementsThe list of statements that comprise the body of the block.List<Java.BlockStatement>Java.ClassDeclaration. variableDeclaratorsAndInitializersList ofJava.TypeBodyDeclarations of this class: Field declarations (both static and non-static), (static and non-static) initializers (a.k.a.Methods in org.codehaus.janino that return Java.BlockStatement Modifier and Type Method Description Java.BlockStatementJava.Rvalue. getEnclosingBlockStatement()Java.BlockStatement[]Java.Block. getStatements()Java.BlockStatementParser. parseBlockStatement()BlockStatement := { Identifier ':' } ( ( Modifiers Type | ModifiersOpt BasicType ) VariableDeclarators ';' | 'class' ...Methods in org.codehaus.janino that return types with arguments of type Java.BlockStatement Modifier and Type Method Description protected List<Java.BlockStatement>ExpressionEvaluator. makeStatements(int idx, Parser parser)protected List<Java.BlockStatement>ScriptEvaluator. makeStatements(int idx, Parser parser)Fills the givenblockby parsing statements until EOF and adding them to the block.List<Java.BlockStatement>Parser. parseBlockStatements()BlockStatements := { BlockStatement }Methods in org.codehaus.janino with parameters of type Java.BlockStatement Modifier and Type Method Description voidJava.Block. addStatement(Java.BlockStatement statement)Adds one statement to the end of the block.voidJava.Rvalue. setEnclosingBlockStatement(Java.BlockStatement enclosingBlockStatement)Sets enclosing block statement for this object and all subordinateJava.Rvalueobjects.Method parameters in org.codehaus.janino with type arguments of type Java.BlockStatement Modifier and Type Method Description voidJava.Block. addStatements(List<Java.BlockStatement> statements)Adds a list of statements to the end of the block.protected Java.MethodDeclaratorScriptEvaluator. makeMethodDeclaration(Location location, Java.Annotation[] annotations, boolean staticMethod, Class returnType, String methodName, Class[] parameterTypes, String[] parameterNames, Class[] thrownExceptions, List<Java.BlockStatement> statements)To the givenJava.ClassDeclaration, add A public method declaration with the given return type, name, parameter names and values and thrown exceptions A blockConstructor parameters in org.codehaus.janino with type arguments of type Java.BlockStatement Constructor Description ConstructorDeclarator(Location location, String optionalDocComment, Java.Modifiers modifiers, Java.FunctionDeclarator.FormalParameters parameters, Java.Type[] thrownExceptions, Java.ConstructorInvocation optionalConstructorInvocation, List<Java.BlockStatement> statements)FunctionDeclarator(Location location, String optionalDocComment, Java.Modifiers modifiers, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters parameters, Java.Type[] thrownExceptions, List<? extends Java.BlockStatement> optionalStatements)MethodDeclarator(Location location, String optionalDocComment, Java.Modifiers modifiers, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters parameters, Java.Type[] thrownExceptions, List<? extends Java.BlockStatement> optionalStatements)
-