gecko-dev/js2
rogerl%netscape.com 8ef1772c5d Cleaning up all over. New Operator enumeration. 2001-02-14 23:54:27 +00:00
..
jsc First cut a xml code generation. 2001-01-26 23:55:32 +00:00
semantics A few new semantics 2001-02-09 05:00:28 +00:00
src Cleaning up all over. New Operator enumeration. 2001-02-14 23:54:27 +00:00
tests Fixed crashing bugs by using PowerPC struct alignment. Reorganized project to link against Mac libraries, rather than having JS2.lib bring them in. 2001-02-14 18:38:12 +00:00
tools Cleaning up all over. New Operator enumeration. 2001-02-14 23:54:27 +00:00
AUTHORS initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
COPYING initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
ChangeLog initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
INSTALL initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
Makefile.am initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
NEWS initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
README initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
TODO initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
aclocal.m4 initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
common.mk add some directories to the common makefile 2001-02-08 06:08:42 +00:00
config.h.in initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
configure initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
configure.in initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
install-sh initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
missing initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00
mkinstalldirs initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics 2001-02-07 21:21:22 +00:00

README

parse functions
    parseIdentifierQualifiers(ExprNode *e, bool &foundQualifiers,
    parseParenthesesAndIdentifierQualifiers(const Token &tParen,
    parseQualifiedIdentifier(const Token &t, bool preferRegExp)
    parseArrayLiteral(const Token &initialToken)
    parseObjectLiteral(const Token &initialToken)
    parsePrimaryExpression()
    parseMember(ExprNode *target, const Token &tOperator,
    parseInvoke(ExprNode *target, uint32 pos,
    parsePostfixExpression(bool newExpression)
    parseUnaryExpression()
    parseExpression(bool noIn, bool noAssignment, bool noComma)
    parseParenthesizedExpression()
    parseTypeExpression(bool noIn)
    parseTypedIdentifier(ExprNode *&type)
    parseTypeBinding(Token::Kind kind, bool noIn)
    parseTypeListBinding(Token::Kind kind)
    parseVariableBinding(bool noQualifiers, bool noIn)
    parseFunctionName(FunctionName &fn)
    parseFunctionSignature(FunctionDefinition &fd)
    parseBlock(bool inSwitch, bool noCloseBrace)
    parseBody(SemicolonState *semicolonState)
    parseAttributeStatement(uint32 pos, IdentifierList *attributes,
    parseAttributesAndStatement(const Token *t, AttributeStatement as,
    parseAnnotatedBlock()
    parseFor(uint32 pos, SemicolonState &semicolonState)
    parseTry(uint32 pos)
    parseStatement(bool /*topLevel*/, bool inSwitch,
    parseStatementAndSemicolon(SemicolonState &semicolonState)
    parseIdentifier()
    parseLiteralField()
    parseFieldName()
    parseArgumentList(NodeQueue<ExprPairList> &args)
    parseArgumentListPrime(NodeQueue<ExprPairList> &args)
    parseNamedArgumentListPrime(NodeQueue<ExprPairList> &args)
    parseAllParameters(FunctionDefinition &fd,
    parseOptionalNamedRestParameters (FunctionDefinition &fd,
    parseNamedRestParameters(FunctionDefinition &fd,
    parseNamedParameters(FunctionDefinition &fd,
    parseRestParameter()
    parseParameter()
    parseOptionalParameter()
    parseOptionalParameterPrime(VariableBinding *first)
    parseNamedParameter(NodeQueue<IdentifierList> &aliases)
    parseResultSignature()


1/28/01

Files:

cpucfg.h

formatter.cpp formatter.h
"Formatter" class, iostream like wrapper around stdio.

gc_allocator.h, gc_container.h
boehm gc stuff.

hash.cpp hash.h
a hash

lexer.cpp lexer.h
main lexer.

mem.cpp mem.h
zone, arena, and pool classes for memory management.

nodefactory.h
parse node factory.

numerics.cpp numerics.h
numbers and stuff.

parser.cpp parser.h
main parser source.
tables in parser.h: 
    enum ExprNode::Kind; types of expressions
    enum StmtNode::Kind; types of statements


reader.cpp reader.h
"Reader" class, feeds source to the parser/lexer.

stlcfg.h
stupid stl tricks
.
systemtypes.h
basic typedefs.

token.cpp token.h
token class.

utilities.cpp utilities.h
random things.

world.cpp world.h
the whole world.