Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class StructOrUnion extends GenASTNode { protected StructOrUnion(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } protected StructOrUnion(Pro...
99
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class CastExpression extends GenASTNode { protected CastExpression(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } protected CastExpression(...
96
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class AssignmentOperator1 extends AssignmentOperator { public AssignmentOperator1(ASTStringNode eq, Token firstToken, Token lastToken) { super(new Property[] { new PropertyOne<A...
171
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class TypeSpecifier4 extends TypeSpecifier { public TypeSpecifier4(ASTStringNode int_kw, Token firstToken, Token lastToken) { super(new Property[] { new PropertyOne<ASTStringNod...
175
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class AssignmentOperator10 extends AssignmentOperator { public AssignmentOperator10(ASTStringNode asstil, Token firstToken, Token lastToken) { super(new Property[] { new Propert...
181
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class StorageClassSpecifier3 extends StorageClassSpecifier { public StorageClassSpecifier3(ASTStringNode static_kw, Token firstToken, Token lastToken) { super(new Property[] { n...
181
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class UnaryOperator extends GenASTNode { protected UnaryOperator(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } protected UnaryOperator(Pro...
96
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class StorageClassSpecifier2 extends StorageClassSpecifier { public StorageClassSpecifier2(ASTStringNode register, Token firstToken, Token lastToken) { super(new Property[] { ne...
176
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class DirectAbstractDeclaratorP1 extends GenASTNode { protected DirectAbstractDeclaratorP1(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } p...
111
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class IterationStatement1 extends IterationStatement { public IterationStatement1(ASTStringNode while_kw, Expression expression, Statement statement, Token firstToken, Token lastToken) { ...
253
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class MultiplicativeExpression extends GenASTNode { public MultiplicativeExpression(CastExpression castExpression, MultiplicativeExpressionInt multiplicativeExpressionInt, Token firstToken...
241
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class AssignmentOperator7 extends AssignmentOperator { public AssignmentOperator7(ASTStringNode asssl, Token firstToken, Token lastToken) { super(new Property[] { new PropertyOn...
176
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class RelationalExpressionInt extends GenASTNode { protected RelationalExpressionInt(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } protect...
102
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class PostfixExpression extends GenASTNode { public PostfixExpression(PrimaryExpression primaryExpression, ArrayList<PostfixExpressionInternal> postfixExpressionInternal, Token firstToken,...
241
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class TypeSpecifier extends GenASTNode { protected TypeSpecifier(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } protected TypeSpecifier(Pro...
96
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class Constant3 extends Constant { public Constant3(ASTStringNode character_literal, Token firstToken, Token lastToken) { super(new Property[] { new PropertyOne<ASTStringNode>("...
171
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class StatementList extends GenASTNode { public StatementList(Statement statement, ArrayList<Statement> statement1, Token firstToken, Token lastToken) { super(new Property[] { n...
212
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class UnaryExpressionSizeOf extends GenASTNode { protected UnaryExpressionSizeOf(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } protected U...
102
github-java-corpus
2,012
/* Generated By:JavaCC: Do not edit this line. CParserTokenManager.java */ package tmp.generated_c; import java.io.*; import java.util.*; import cide.gast.*; import cide.gparser.*; import cide.gparser.*; public class CParserTokenManager implements CParserConstants { public java.io.PrintStream debugStream = ...
13,282
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class UnaryOperator6 extends UnaryOperator { public UnaryOperator6(ASTStringNode not, Token firstToken, Token lastToken) { super(new Property[] { new PropertyOne<ASTStringNode>(...
171
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class ExternalDeclaration2 extends ExternalDeclaration { public ExternalDeclaration2(Declaration declaration, Token firstToken, Token lastToken) { super(new Property[] { new Pro...
163
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class ShiftExpressionInt extends GenASTNode { protected ShiftExpressionInt(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } protected ShiftEx...
99
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class SelectionStatement extends GenASTNode { protected SelectionStatement(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } protected Selecti...
96
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class TypedefName extends GenASTNode { public TypedefName(ASTStringNode identifier, Token firstToken, Token lastToken) { super(new Property[] { new PropertyOne<ASTStringNode>("i...
172
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class DirectDeclaratorP2 extends GenASTNode { protected DirectDeclaratorP2(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } protected DirectD...
108
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class FunctionDefinition extends GenASTNode { public FunctionDefinition(DeclarationSpecifiers declarationSpecifiers, Declarator declarator, DeclarationList declarationList, CompoundStateme...
329
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class MultiplicativeExpressionInt3 extends MultiplicativeExpressionInt { public MultiplicativeExpressionInt3(MultiplicativeExpression multiplicativeExpression2, Token firstToken, Token las...
196
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class StorageClassSpecifier1 extends StorageClassSpecifier { public StorageClassSpecifier1(ASTStringNode auto, Token firstToken, Token lastToken) { super(new Property[] { new Pr...
176
github-java-corpus
2,012
package tmp.generated_c; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public abstract class DirectAbstractDeclaratorP2 extends GenASTNode { protected DirectAbstractDeclaratorP2(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); } p...
111
github-java-corpus
2,012
package de.ovgu.cide.language.c; import java.io.InputStream; import tmp.generated_c.CParser; import cide.gast.ISourceFile; import cide.gparser.OffsetCharStream; import cide.gparser.ParseException; import cide.languages.ILanguageExtension; import cide.languages.ILanguageParser; public class CLanguageExtens...
197
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
1,461
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
351
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
594
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
880
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
693
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
913
github-java-corpus
2,012
package de.ovgu.cide.typing.internal; import java.util.List; import junit.framework.Assert; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.Resource...
546
github-java-corpus
2,012
package de.ovgu.cide.typing.model; import static org.junit.Assert.*; import org.junit.Before; public class ITypingCheckTest { @Before public void setUp() throws Exception { } }
42
github-java-corpus
2,012
package de.ovgu.cide.typing; import junit.framework.JUnit4TestAdapter; import junit.framework.Test; import org.junit.runner.RunWith; import org.junit.runners.Suite; import de.ovgu.cide.typing.internal.ValidateProjectActionTest; @RunWith(Suite.class) @Suite.SuiteClasses({ ValidateProjectActionTes...
97
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
369
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
1,482
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
715
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
568
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
520
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
479
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
1,017
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
501
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
595
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
681
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
528
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
364
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
368
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
403
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
614
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
1,716
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
412
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
387
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
621
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
2,495
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
319
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
694
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
613
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
740
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
682
github-java-corpus
2,012
/** Copyright 2010 Christian K�stner This file is part of CIDE. CIDE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. CIDE is distributed in the hope th...
584
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; import java.util.*; /** Represents a sequence in an element's content. * A sequence is declared in the DTD as (value1,value2,value3,etc.) * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDSequence exten...
251
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents the possible values for an attribute declaration * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDDecl implements DTDOutput { public static final DTDDecl FIXED = new DTDDecl(0, "FIXED...
345
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; import java.util.*; /** Represents a choice of items. * A choice in a DTD looks like (option1 | option2 | option3) * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDChoice extends DTDContainer { pub...
250
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents the various cardinality values for a DTD item. * <bl> * <li>NONE indicates no cardinality</li> * <li>OPTIONAL indicates an optional value (specified by ?)</li> * <li>ZEROMANY indicates zero-to-many values (specified by *)</li> * <li>ONEMANY indicates an one...
506
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents the EMPTY keyword in an Element's content spec * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDEmpty extends DTDItem { public DTDEmpty() { } /** Writes out the keyword "EMPT...
169
github-java-corpus
2,012
package com.wutka.dtd; import java.util.*; import java.io.*; /** Represents an enumeration of attribute values * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDEnumeration implements DTDOutput { protected Vector items; /** Creates a new e...
510
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; import java.util.*; /** Lexical scanner for DTD's * * @author Mark Wutka * @version $Revision: 1.19 $ $Date: 2002/07/31 00:19:10 $ by $Author: wutka $ */ class Scanner { public static final TokenType LTQUES = new TokenType(0, "LTQUES"); public static final...
9,913
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents a DTD Attribute in an ATTLIST declaration * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDAttribute implements DTDOutput { /** The name of the attribute */ public String name; /** ...
829
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents any item in the DTD * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public abstract class DTDItem implements DTDOutput { /** Indicates how often the item may occur */ public DTDCardinal cardinal; ...
317
github-java-corpus
2,012
package com.wutka.dtd; import java.util.*; import java.io.*; /** Represents a parsed Document Type Definition * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTD implements DTDOutput { /** Contains all the elements defined in the DTD */ pu...
637
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents a Notation defined in a DTD * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDNotation implements DTDOutput { public String name; public DTDExternalID externalID; public DTDNo...
416
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents an external Public ID in an entity declaration * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDPublic extends DTDExternalID { public String pub; public DTDPublic() { } ...
310
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; import java.util.*; import java.net.URL; /** Example program to read a DTD and print out its object model * * @author Mark Wutka * @version $Revision: 1.17 $ $Date: 2002/07/28 13:33:12 $ by $Author: wutka $ */ class Tokenize { public static void main(String[...
1,631
github-java-corpus
2,012
package com.wutka.dtd; /** Enumerated value representing the type of a token * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ class TokenType { public int value; public String name; public TokenType(int aValue, String aName) { value = aVal...
170
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents a named item in the DTD * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDName extends DTDItem { public String value; public DTDName() { } public DTDName(String aValu...
286
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents an external ID in an entity declaration * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public abstract class DTDExternalID implements DTDOutput { public String system; public DTDExternalID() ...
258
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; import java.util.*; /** Represents an item that may contain other items (such as a * DTDChoice or a DTDSequence) * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public abstract class DTDContainer extends DTDItem { ...
503
github-java-corpus
2,012
package com.wutka.dtd; import java.util.*; import java.io.*; /** Represents an ATTLIST declaration in the DTD. Although attributes are * associated with elements, the ATTLIST is here to allow the DTD object * to write out the DTD in roughly the original form. Because the ATTLIST * may appear somewhere other tha...
638
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; import java.util.*; /** Represents a mixed Element content (PCDATA + choice/sequence). * Mixed Element can contain #PCDATA, or it can contain * #PCDATA followed by a list of pipe-separated names. * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:...
264
github-java-corpus
2,012
package com.wutka.dtd; import java.util.*; import java.io.*; import java.net.*; /** Parses a DTD file and returns a DTD object * * @author Mark Wutka * @version $Revision: 1.19 $ $Date: 2002/10/01 12:48:47 $ by $Author: wutka $ */ public class DTDParser implements EntityExpansion { protected Scanner scanner; ...
5,623
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents a comment in the DTD * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDComment implements DTDOutput { /** The comment text */ public String text; public DTDComment() { } ...
289
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents the ANY keyword in an Element's content spec * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDAny extends DTDItem { public DTDAny() { } /** Writes "ANY" to a print writer */ ...
167
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Defines the method used for writing DTD information to a PrintWriter * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public interface DTDOutput { public void write(PrintWriter out) throws IOException; }
90
github-java-corpus
2,012
package com.wutka.dtd; public class DTDParseException extends java.io.IOException { public String uriID = ""; public int lineNumber; public int column; public DTDParseException() { lineNumber=-1; column=-1; } public DTDParseException(String message) { super(mes...
253
github-java-corpus
2,012
package com.wutka.dtd; public interface EntityExpansion { public DTDEntity expandEntity(String name); }
24
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents a processing instruction in the DTD * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDProcessingInstruction implements DTDOutput { /** The processing instruction text */ public String ...
303
github-java-corpus
2,012
package com.wutka.dtd; import java.util.*; import java.io.*; /** Represents a notation declaration for an attribute * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDNotationList implements DTDOutput { protected Vector items; /** Creates a...
523
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents an external System ID in an entity declaration * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDSystem extends DTDExternalID { public DTDSystem() { } /** Writes out a declar...
180
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; /** Represents the #PCDATA keyword in an Element's content spec * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDPCData extends DTDItem { public DTDPCData() { } /** Writes out the #PCDATA k...
172
github-java-corpus
2,012
package com.wutka.dtd; import java.util.*; import java.io.*; /** Represents an element defined with the ELEMENT DTD tag * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ public class DTDElement implements DTDOutput { /** The name of the element */ public S...
694
github-java-corpus
2,012
package com.wutka.dtd; import java.io.*; import java.net.*; /** Represents an Entity defined in a DTD * * @author Mark Wutka * @version $Revision: 1.18 $ $Date: 2002/07/31 00:19:10 $ by $Author: wutka $ */ public class DTDEntity implements DTDOutput { public String name; public boolean isParsed; publi...
1,162
github-java-corpus
2,012
package com.wutka.dtd; /** Token returned by the lexical scanner * * @author Mark Wutka * @version $Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $ */ class Token { public TokenType type; public String value; public Token(TokenType aType) { type = aType; value = null; } ...
119
github-java-corpus
2,012
package cide.dtdgen; import java.io.FileInputStream; import java.io.FileNotFoundException; import org.junit.Test; import tmp.generated_dtd.DTDParser; import cide.gparser.OffsetCharStream; import cide.gparser.ParseException; public class TestDTDParser { @Test public void dtdTestFile() throws FileNotFo...
99
github-java-corpus
2,012
package cide.dtdgen; import junit.framework.Assert; public class WhiteSpaceTest { protected void assertWhiteSpaceEqual(String expected, String actual) { String ashort = removeWhiteSpace(expected); String bshort = removeWhiteSpace(actual); Assert.assertEquals(actual + "\n\nexpected:\n" + expected, ash...
98
github-java-corpus
2,012
package cide.dtdgen; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import tmp.generated_dtd.DTDParser; import tmp.generated_dtd.ElementDecl; impo...
1,654