mjc

Uses of Class
org.multijava.util.compiler.JavaStyleComment

Packages that use JavaStyleComment
org.multijava.mjc Implements mjc, a MultiJava compiler. 
org.multijava.util.compiler Provides utilities and superclasses for the compilers in MultiJava and the Java Modeling Language
 

Uses of JavaStyleComment in org.multijava.mjc
 

Fields in org.multijava.mjc declared as JavaStyleComment
private  JavaStyleComment[] JMemberDeclaration.comments
           
private  JavaStyleComment[] JStatement.comments
           
private  JavaStyleComment[] JPackageName.comments
           
private  JavaStyleComment[] JClassOrGFImport.comments
           
private  JavaStyleComment[] JPackageImport.comments
           
 

Methods in org.multijava.mjc that return JavaStyleComment
 JavaStyleComment[] JStatement.getComments()
          Returns the comments
 JavaStyleComment[] ParserUtility.getStatementComment()
          Returns the non-Javadoc comments preceding the current lookahead token.
 

Methods in org.multijava.mjc with parameters of type JavaStyleComment
protected  void MjcPrettyPrinter.visitComments(JavaStyleComment[] comments)
          prints an array length expression
protected  void MjcPrettyPrinter.visitComment(JavaStyleComment comment)
          prints an array length expression
 

Constructors in org.multijava.mjc with parameters of type JavaStyleComment
JMemberDeclaration(TokenReference where, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree This method is directly called by the parser
JMethodDeclaration(TokenReference where, long modifiers, CTypeVariable[] typevariables, CType returnType, String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree This method is directly called by the parser
JTypeDeclaration(TokenReference where, long modifiers, String ident, CTypeVariable[] typevariables, CClassType[] interfaces, ArrayList methods, ArrayList inners, JPhylum[] fieldsAndInits, JavadocComment javadoc, JavaStyleComment[] comments)
          Constructs a type declaration in the parsing tree.
JStatement(TokenReference where, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JLabeledStatement(TokenReference where, String label, JStatement stmt, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JLoopStatement(TokenReference where, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JSwitchStatement(TokenReference where, JExpression expr, JSwitchGroup[] groups, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JReturnStatement(TokenReference where, JExpression expr, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JBlock(TokenReference where, JStatement[] body, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JPackageName(TokenReference where, String name, JavaStyleComment[] comments)
          construct a package name
MJTopLevelMethodDeclaration(TokenReference where, long modifiers, CTypeVariable[] typevariables, CType returnType, CType openClassType, String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          This class represents a MultiJava external method in the syntax tree Construct a node in the parsing tree This method is directly called by the parser
JAssertStatement(TokenReference where, JExpression predicate, JavaStyleComment[] comments)
           
JAssertStatement(TokenReference where, JExpression predicate, JExpression throwMessage, JavaStyleComment[] comments)
           
JIfStatement(TokenReference where, JExpression cond, JStatement thenClause, JStatement elseClause, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JBreakStatement(TokenReference where, String label, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JClassDeclaration(TokenReference where, long modifiers, String ident, CTypeVariable[] typevariables, CClassType superType, CClassType[] interfaces, ArrayList methods, ArrayList inners, JPhylum[] fieldsAndInits, JavadocComment javadoc, JavaStyleComment[] comment)
          Constructs a class declaration in the parsing tree.
JClassOrGFImport(TokenReference where, String name, JavaStyleComment[] comments)
          Constructs an AST node for a class or external member import statement.
JConstructorDeclaration(TokenReference where, long modifiers, String ident, JFormalParameter[] parameters, CClassType[] exceptions, JConstructorBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree This method is directly called by the parser
JContinueStatement(TokenReference where, String label, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JDoStatement(TokenReference where, JExpression cond, JStatement body, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JEmptyStatement(TokenReference where, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JExpressionListStatement(TokenReference where, JExpression[] exprs, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JExpressionStatement(TokenReference where, JExpression expr, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JFieldDeclaration(TokenReference where, JVariableDefinition variable, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree This method is directly called by the parser
JForStatement(TokenReference where, JStatement init, JExpression cond, JStatement incr, JStatement body, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JInterfaceDeclaration(TokenReference where, long modifiers, String ident, CTypeVariable[] typevariables, CClassType[] interfaces, ArrayList methods, ArrayList inners, JPhylum[] fieldsAndInits, JavadocComment javadoc, JavaStyleComment[] comments)
          Constructs an interface declaration in the parsing tree.
JPackageImport(TokenReference where, String name, JavaStyleComment[] comments)
           
JSynchronizedStatement(TokenReference where, JExpression cond, JBlock body, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JThrowStatement(TokenReference where, JExpression expr, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JTryCatchStatement(TokenReference where, JBlock tryClause, JCatchClause[] catchClauses, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JTryFinallyStatement(TokenReference where, JBlock tryClause, JBlock finallyClause, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JVariableDeclarationStatement(TokenReference where, JVariableDefinition[] vars, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JVariableDeclarationStatement(TokenReference where, JVariableDefinition var, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JWhileStatement(TokenReference where, JExpression cond, JStatement body, JavaStyleComment[] comments)
          Construct a node in the parsing tree
MJTopLevelAbstractMethodDeclaration(TokenReference where, long modifiers, CType returnType, CType openClassType, String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          This class represents an abstract MultiJava external method in the syntax tree.
 

Uses of JavaStyleComment in org.multijava.util.compiler
 

Subclasses of JavaStyleComment in org.multijava.util.compiler
 class JavadocComment
          A simple character constant
 

Fields in org.multijava.util.compiler declared as JavaStyleComment
static JavaStyleComment[] JavaStyleComment.EMPTY
           
 


mjc

mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.