tracking-code-which-will-go-to-the-HEAD ParserLog

Class

ParserLog

ParserLog(propsopt)

Log of parser.
Constructor

# new ParserLog(propsopt)

Default constructor.
Parameters:
Name Type Attributes Description
props object <optional>
Object that contains all properties to set.
path string <optional>
File path.
severity number <optional>
Log severity.
startLineNumber number <optional>
The starting line of the error.
startColumn number <optional>
The starting column of the error.
endLineNumber number <optional>
The ending line of the error.
endColumn number <optional>
The ending column of the error.
message string <optional>
The i18n key used in leto.
initialErrorMessage string <optional>
The initial message from error.
componentId string <optional>
The component id where the error appears.
attribute string <optional>
The attribute name where the error appears, if null error is on the component.
extraData string <optional>
Extra data for adding information in translation.

View Source models/ParserLog.js, line 4

Members

number

# SEVERITY_ERROR

Error severity value.

View Source models/ParserLog.js, line 27

number

# SEVERITY_HINT

Hint severity value.

View Source models/ParserLog.js, line 9

number

# SEVERITY_INFO

Info severity value.

View Source models/ParserLog.js, line 15

number

# SEVERITY_WARNING

Warning severity value.

View Source models/ParserLog.js, line 21

string

# attribute

The attribute name where the error appears, if null error is on the component.

View Source models/ParserLog.js, line 133

string

# componentId

The component id where the error appears.

View Source models/ParserLog.js, line 126

number

# endColumn

The ending column of the error.

View Source models/ParserLog.js, line 108

number

# endLineNumber

The ending line of the error.

View Source models/ParserLog.js, line 102

string

# extraData

Extra data for adding information in translation.

View Source models/ParserLog.js, line 139

string

# initialErrorMessage

The initial message from error.

View Source models/ParserLog.js, line 120

string

# message

The i18n key used in leto.

View Source models/ParserLog.js, line 114

string

# path

Path of the file.
Default Value:
  • null

View Source models/ParserLog.js, line 77

number

# severity

Log everity.
Default Value:
  • 0

View Source models/ParserLog.js, line 84

number

# startColumn

The starting column of the error.

View Source models/ParserLog.js, line 96

number

# startLineNumber

The starting line of the error.

View Source models/ParserLog.js, line 90