atlantis · Views
class Parser
since 0.1.0-alpha.1linux
Constructors
new
new(string file, string src)Fields
errors
Array<ParseError> errorsfile
string filelastStop
string lastStoplastTextRun
string lastTextRunline
int linelintAllowLine
int lintAllowLinepos
int posscriptOpen
int scriptOpensrc
string srcstyleOpen
int styleOpenMethods
classifyOutput
classifyOutput(string exprText, int atLine, bool raw) -> TagInfodequote
dequote(string s) -> string | NoneendsWithOpenEventAttr
endsWithOpenEventAttr(string t) -> boolendsWithQuotePair
endsWithQuotePair(string s) -> boolendsWithUnquotedAttr
endsWithUnquotedAttr(string t) -> boolerr
err(int atLine, string msg) -> voidlintPrecedingContext
lintPrecedingContext(string precedingText, int tagLine) -> voidparseIf
parsePathOnly
parsePathOnly(string s) -> Array<string> | NoneparseSequence
parseTemplate
parseTemplate(string name, string filePath, int mtime, int size) -> TemplatereadTag
readTag() -> TagInforeportLint
reportLint(int atLine, string msg, bool allowed) -> voidtrackScriptStyle
trackScriptStyle(string text) -> voidwarn
warn(int atLine, string msg) -> void