Skip to content

Commit

Permalink
comment cleanup in context
Browse files Browse the repository at this point in the history
  • Loading branch information
drewwells committed Aug 1, 2015
1 parent ed38f15 commit 058924f
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,31 @@ import (
// Context handles the interactions with libsass. Context
// exposes libsass options that are available.
type Context struct {
//Parser Parser
// Options
OutputStyle int
Precision int
Comments bool
IncludePaths []string

// Input directories
FontDir, ImageDir string
FontDir string
ImageDir string
// Output/build directories
BuildDir, GenImgDir string
BuildDir string
GenImgDir string

// HTTP supporting code
HTTPPath string
In, Src, Out, Map, MainFile string
Status int
libsassError string
errorString string
errors lErrors

in io.Reader
out io.Writer
Errors SassError
Status int //libsass status code

// many error parameters some are unnecessary and should be removed
libsassError string
errorString string
errors lErrors
Errors SassError

in io.Reader
out io.Writer
// Place to keep cookies, so Go doesn't garbage collect them before C
// is done with them
Cookies []Cookie
Expand All @@ -47,8 +51,10 @@ type Context struct {
Headers Headers
// Has list of compiler included files
ResolvedImports []string

// Used for callbacks to retrieve sprite information, etc.
Imgs, Sprites spritewell.SafeImageMap
Imgs spritewell.SafeImageMap
Sprites spritewell.SafeImageMap
}

// Constants/enums for the output style.
Expand Down

0 comments on commit 058924f

Please sign in to comment.