|
|
node * | getSubPack () |
| |
|
const node * | getSubPack () const BY_CONST_FUNC(getSubPack()) srcSupplies &getSrcSupplies() |
| |
|
const srcSupplies & | getSrcSupplies () const BY_CONST_FUNC(getSrcSupplies()) me &addSupply(const srcSupply &new 1) |
| |
|
me & | relSupplies () |
| |
|
tokenDispatcher & | getDispatcher () |
| |
|
std::vector< ncnt > & | getIndents () |
| |
|
nbool | isInit () const |
| |
|
template<typename T > |
| void | setScan () |
| |
|
void | rel () override |
| |
|
int | pushState (int newState) |
| |
|
int | popState () |
| |
| nint | onScan (parser &ps, YYSTYPE *val, YYLTYPE *loc, yyscan_t scanner, nbool &isBypass) override |
| |
|
nint | onTokenEndOfFile () |
| |
|
nint | onTokenColon (nint tok) |
| |
|
nint | onTokenNewLine (nint tok) |
| |
|
nint | onTokenLParan (nint tok) |
| |
|
nint | onTokenRParan (nint tok) |
| |
|
nint | onTokenComma (nint tok) |
| |
|
nbool | onTokenEndOfBraces () |
| |
|
void | onTokenStartOfStrTemplateBrace () |
| |
|
nint | onIndent (ncnt col, nint tok) |
| |
|
nint | onDedent (ncnt col, nint tok) |
| |
|
nint | onIgnoreIndent (nint tok) |
| |
|
nchar | onScanUnexpected (const nchar *token) |
| |
|
void | onSrcArea (const area &area) |
| |
|
node * | onGet (const std::string &name) |
| |
|
node * | onGet (const std::string &name, const narr &args) |
| |
|
node * | onGet (node &from, const std::string &name) |
| |
|
node * | onGet (node &from, node &it) |
| |
|
node * | onGet (const std::string &name, const std::string &name2) |
| |
|
node * | onCallAccess (node &it, const narr &args) |
| |
|
FBOExpr * | onUnaryMinus (const node &it) |
| |
|
FBOExpr * | onUnaryNot (const node &it) |
| |
|
FUOExpr * | onUnaryBitwiseNot (const node &it) |
| |
|
node * | onUnaryDoublePlus (node &it) |
| |
|
node * | onUnaryDoubleMinus (node &it) |
| |
|
FUOExpr * | onUnaryPostfixDoublePlus (const node &it) |
| |
|
FUOExpr * | onUnaryPostfixDoubleMinus (const node &it) |
| |
|
FBOExpr * | onAdd (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onSub (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onMul (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onDiv (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onMod (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onBitwiseAnd (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onBitwiseXor (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onBitwiseOr (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onLShift (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onRShift (const node &lhs, const node &rhs) |
| |
|
node * | onAssign (node &lhs, node &rhs) |
| |
|
node * | onAddAssign (node &lhs, node &rhs) |
| |
|
node * | onSubAssign (node &lhs, node &rhs) |
| |
|
node * | onMulAssign (node &lhs, node &rhs) |
| |
|
node * | onDivAssign (node &lhs, node &rhs) |
| |
|
node * | onModAssign (node &lhs, node &rhs) |
| |
|
FBOExpr * | onGt (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onGe (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onLt (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onLe (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onEq (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onNe (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onAnd (const node &lhs, const node &rhs) |
| |
|
FBOExpr * | onOr (const node &lhs, const node &rhs) |
| |
|
node * | onGetGeneric (const std::string &orgName, const args &typeParams) |
| |
|
node * | onGetElem (const node &arr, const node &idx) |
| |
|
node * | onGetArray (node &elemType) |
| |
|
obj * | onPack (const node &path) |
| |
|
obj * | onPack (const std::string &path) |
| |
|
obj * | onPack () |
| |
|
obj * | onSubPack (obj &subpack) |
| |
|
endExpr * | onEnd (const blockExpr &blk) |
| |
|
blockExpr * | onBlock (const node *stmt) |
| |
|
blockExpr * | onBlock (blockExpr *blk, const node *stmt) |
| |
|
blockExpr * | onBlock () |
| |
|
defBlock * | onDefBlock (node *stmt) |
| |
|
defBlock * | onDefBlock (defBlock *blk, node *stmt) |
| |
|
defBlock * | onDefBlock () |
| |
|
node * | onFor (const std::string &iterName, const node &expr, const blockExpr &blk) |
| |
|
node * | onWhile (const node &condition, const blockExpr &blk) |
| |
|
node * | onParanthesisAsTuple (narr &tuple) |
| |
|
args * | onTuple () |
| |
|
args * | onTuple (const node &elem) |
| |
|
args * | onTuple (args &as, const node &elem) |
| |
|
args * | onFuncCallTuple () |
| |
|
args * | onFuncCallTuple (const node &elem) |
| |
|
args * | onFuncCallTuple (args &as, const node &elem) |
| |
|
args * | onTypeNames (const node ¶m) |
| |
|
args * | onTypeNames (args ¶ms, const node ¶m) |
| |
|
template<typename T , typename Arg > |
| T * | onPrimitive (const Arg &arg) |
| |
|
template<typename T > |
| T * | onPrimitive () |
| |
|
node * | onDefProp (const modifier &mod, const std::string &name, const node &rhs) |
| |
|
node * | onDefProp (const std::string &name, const node &rhs) |
| |
|
node * | onDefProp (const node &rhs) |
| |
|
node * | onDefProp (const modifier &mod, const node &rhs) |
| |
|
node * | onDefAssign (const modifier &mod, const std::string &name, const node *rhs) |
| |
|
node * | onDefAssign (const defPropExpr *prop, const node *rhs) |
| |
|
node * | onDefAssign (const std::string &name, const node *rhs) |
| |
|
obj * | onDefOrigin (const std::string &name, defBlock &blk) |
| |
|
obj * | onDefOrigin (const std::string &name, const narr &args, defBlock &blk) |
| |
|
genericOrigin * | onDefObjGeneric (const std::string &name, const args &typeParams, defBlock &blk) |
| |
|
genericOrigin * | onDefObjGeneric (const std::string &name, const args &typeParams, const narr &args, defBlock &blk) |
| |
|
node * | onDefArray (const narr &items) |
| |
|
node * | onDefSeq (const node &start, const node &end) |
| |
|
void | onCompilationUnit (obj *subpack) |
| |
|
void | onCompilationUnit (obj *subpack, defBlock *blk) |
| |
|
func * | onFuncSignature (const modifier &mod, const getExpr &access, const node *retType) |
| |
|
func * | onFuncSignature (const getExpr &access, const node *retType) |
| |
|
func * | onFuncSignature (const modifier &mod, node &it, const node *retType) |
| |
|
func * | onFuncSignature (node &it, const node *retType) |
| |
|
func * | onAbstractFunc (func &f) |
| |
|
node * | onFunc (func &func, const blockExpr &blk) |
| |
|
defNestedFuncExpr * | onLambda (const narr ¶ms, const node &retType, const blockExpr &blk) |
| |
|
ctor * | onCtor (const modifier &mod, const narr &args, const blockExpr &blk) |
| |
|
ctor * | onCtor (const narr &args, const blockExpr &blk) |
| |
|
ctor * | onCtor (const modifier &mod, const blockExpr &blk) |
| |
|
ctor * | onCtor (const blockExpr &blk) |
| |
|
narr * | onParams () |
| |
|
narr * | onParams (const defPropExpr *elem) |
| |
|
narr * | onParams (narr &it, const defPropExpr *elem) |
| |
|
modifier * | onModifier (nbool isPublic, nbool isOverriden) |
| |
|
node * | onDeclStmt (const narr &dotnames) |
| |
|
retExpr * | onRet () |
| |
|
retExpr * | onRet (node &exp) |
| |
|
breakExpr * | onBreak () |
| |
|
nextExpr * | onNext () |
| |
|
runExpr * | onFillFromOfFuncCall (const node &me, runExpr &to) |
| |
|
runExpr * | onRunExpr (node &type, const narr &a) |
| |
|
runExpr * | onRunExpr (node &type, const args &a) |
| |
|
isExpr * | onIs (const node &me, const node &to) |
| |
|
asExpr * | onAs (const node &me, const node &as) |
| |
|
ifExpr * | onIf (const node &condition, const blockExpr &then) |
| |
|
ifExpr * | onIf (const node &condition, const blockExpr &then, const blockExpr &elseBlk) |
| |
|
ifExpr * | onIf (const node &condition, const blockExpr &then, const ifExpr &elseIf) |
| |
|
runExpr * | onIn (const node &it, const node &container) |
| |
|
void | onEndFunc () |
| |
|
void | onParseErr (const std::string &msg, const nchar *symbolName) |
| |
|
nint | onScan (parser &ps, YYSTYPE *val, YYLTYPE *loc, yyscan_t scanner) |
| |
| virtual nint | onScan (parser &ps, YYSTYPE *yylval, YYLTYPE *loc, yyscan_t yyscanner, nbool &isBypass)=0 |
| |
|
errReport & | getReport () |
| |
|
const errReport & | getReport () const BY_CONST_FUNC(getReport()) me &setReport(errReport &rpt) |
| |
|
me & | setFlag (nint newFlag) |
| |
|
me & | addFlag (nint flag) |
| |
|
me & | delFlag (nint clear) |
| |
|
nbool | isFlag (nint flag) const |
| |
|
nint | getFlag () const |
| |
|
me & | setTask (const slot &root) |
| |
|
me & | setTask (const slot *it) BY_SIDE_FUNC(it |
| |
|
slot * | getTask () |
| |
|
const slot * | getTask () const BY_CONST_FUNC(getTask()) virtual void rel() |
| |
|
str | work () |
| |
|
const area & | getArea () const BY_CONST_FUNC(_getArea()) nbool isOk() const |
| |
|
nbool | operator== (const me &rhs) const |
| |
|
nbool | operator!= (const me &rhs) const |
| |
|
virtual const type & | getType () const =0 |
| |
|
nbool | isSub (const type &it) const |
| |
|
nbool | isSub (const type *it) const BY_SIDE_FUNC(isSub) |
| |
|
nbool | isSub (const me &it) const |
| |
|
nbool | isSub (const me *it) const BY_SIDE_FUNC(isSub) |
| |
|
nbool | isSuper (const type &it) const |
| |
|
nbool | isSuper (const type *it) const BY_SIDE_FUNC(isSuper) |
| |
|
nbool | isSuper (const me &it) const |
| |
|
nbool | isSuper (const me *it) const BY_SIDE_FUNC(isSuper) |
| |
|
template<typename T > |
| nint | isSub () const |
| |
|
template<typename T > |
| nint | isSuper () const |
| |
|
template<typename T > |
| T * | cast () |
| |
|
template<typename T > |
| const T * | cast () const BY_CONST_FUNC(cast< T >()) virtual void *cast(const type &to) |
| |
|
const void * | cast (const type &to) const BY_CONST_FUNC(cast(to)) void *cast(const type *it) BY_SIDE_FUNC(cast) |
| |
|
virtual me * | clone () const =0 |
| |
|
virtual me * | cloneDeep () const |
| |
|
virtual void | onCloneDeep (const me &from) |
| |
|
nint | onScan (parser &ps, YYSTYPE *val, YYLTYPE *loc, yyscan_t scanner) |
| |
Parser for byeol language source code.
Main parser class that converts source code into abstract syntax trees. Handles tokenization, syntax analysis, and AST construction for the byeol language.