Package org.allspice.structured

Examples of org.allspice.structured.FieldAttrs


* @param parser
* @param state
* @return The object
**/
private static final FieldAttrs reduce7(PositionRange range,Parser parser,ParserState state) {
      FieldAttrs fieldattrs = (FieldAttrs)state.reductions.head.o ;
{
    return fieldattrs.setVisibility(Visibility.PRIVATE) ;
}
}
View Full Code Here


* @param parser
* @param state
* @return The object
**/
private static final FieldAttrs reduce8(PositionRange range,Parser parser,ParserState state) {
      FieldAttrs fieldattrs = (FieldAttrs)state.reductions.head.o ;
{
    return fieldattrs.setVisibility(Visibility.PROTECTED) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final FieldAttrs reduce9(PositionRange range,Parser parser,ParserState state) {
      FieldAttrs fieldattrs = (FieldAttrs)state.reductions.head.o ;
{
    return fieldattrs.setSynchronized(true) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final ClassDecl reduce23(PositionRange range,Parser parser,ParserState state) {
      FieldAttrs fieldattrs = (FieldAttrs)state.reductions.tail.tail.tail.tail.head.o ;
      String ID = (String)state.reductions.tail.tail.head.o ;
      ImmutableCollection<String> superinterfaces_opt = (ImmutableCollection<String>)state.reductions.tail.head.o ;
      ImmutableCollection<FieldOrMethod> classitems = (ImmutableCollection<FieldOrMethod>)state.reductions.head.o ;
{
  return new ClassDecl(fieldattrs.visibility,ClassType.INTERFACE,ID,"java.lang.Object",
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final ClassDecl reduce26(PositionRange range,Parser parser,ParserState state) {
      FieldAttrs fieldattrs = (FieldAttrs)state.reductions.tail.tail.tail.tail.tail.head.o ;
      String ID = (String)state.reductions.tail.tail.tail.head.o ;
      String superclass_opt = (String)state.reductions.tail.tail.head.o ;
      ImmutableCollection<String> implements_opt = (ImmutableCollection<String>)state.reductions.tail.head.o ;
      ImmutableCollection<FieldOrMethod> classitems = (ImmutableCollection<FieldOrMethod>)state.reductions.head.o ;
{
View Full Code Here

* @return The object
**/
private static final ImmutableCollection<FieldOrMethod> reduce30(PositionRange range,Parser parser,ParserState state) {
      ImmutableCollection<Statement> compoundstatement = (ImmutableCollection<Statement>)state.reductions.head.o ;
{
  FieldAttrs fa = new FieldAttrs().setStatic(true) ;
  MethodDecl decl = new MethodDecl(fa,"void","<clinit>",new FIFO<VarDecl>(), new FIFO<String>(), compoundstatement) ;
  return new FIFO<FieldOrMethod>(decl) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final ImmutableCollection<FieldOrMethod> reduce31(PositionRange range,Parser parser,ParserState state) {
      FieldAttrs fieldattrs = (FieldAttrs)state.reductions.tail.tail.tail.tail.tail.tail.head.o ;
      String ID = (String)state.reductions.tail.tail.tail.tail.tail.head.o ;
      ImmutableCollection<VarDecl> parameterlist_opt = (ImmutableCollection<VarDecl>)state.reductions.tail.tail.tail.head.o ;
      ImmutableCollection<String> throws_opt = (ImmutableCollection<String>)state.reductions.tail.head.o ;
      ImmutableCollection<Statement> compoundstatement = (ImmutableCollection<Statement>)state.reductions.head.o ;
{
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final ImmutableCollection<FieldOrMethod> reduce41(PositionRange range,Parser parser,ParserState state) {
      FieldAttrs fieldattrs = (FieldAttrs)state.reductions.tail.tail.tail.tail.tail.tail.tail.head.o ;
      String type = (String)state.reductions.tail.tail.tail.tail.tail.tail.head.o ;
      String ID = (String)state.reductions.tail.tail.tail.tail.tail.head.o ;
      ImmutableCollection<VarDecl> parameterlist_opt = (ImmutableCollection<VarDecl>)state.reductions.tail.tail.tail.head.o ;
      ImmutableCollection<String> throws_opt = (ImmutableCollection<String>)state.reductions.tail.head.o ;
      ImmutableCollection<Statement> compoundstatement = (ImmutableCollection<Statement>)state.reductions.head.o ;
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final ImmutableCollection<FieldOrMethod> reduce42(PositionRange range,Parser parser,ParserState state) {
      FieldAttrs fieldattrs = (FieldAttrs)state.reductions.tail.tail.tail.tail.tail.tail.tail.head.o ;
      String type = (String)state.reductions.tail.tail.tail.tail.tail.tail.head.o ;
      String ID = (String)state.reductions.tail.tail.tail.tail.tail.head.o ;
      ImmutableCollection<VarDecl> parameterlist_opt = (ImmutableCollection<VarDecl>)state.reductions.tail.tail.tail.head.o ;
      ImmutableCollection<String> throws_opt = (ImmutableCollection<String>)state.reductions.tail.head.o ;
{
  MethodDecl methodDecl = new MethodDecl(fieldattrs.setAbstract(true),type,ID,parameterlist_opt, throws_opt, new FIFO<Statement>());
  return new FIFO<FieldOrMethod>(methodDecl) ;
}
}
View Full Code Here

* @param parser
* @param state
* @return The object
**/
private static final ImmutableCollection<FieldOrMethod> reduce43(PositionRange range,Parser parser,ParserState state) {
      FieldAttrs fieldattrs = (FieldAttrs)state.reductions.tail.tail.tail.head.o ;
      String type = (String)state.reductions.tail.tail.head.o ;
      ImmutableCollection<VarRec> declarationlist = (ImmutableCollection<VarRec>)state.reductions.tail.head.o ;
{
    return org.allspice.javacompiler.JavaGrammarUtils.createFields(fieldattrs,type,declarationlist) ;
}
View Full Code Here

TOP

Related Classes of org.allspice.structured.FieldAttrs

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.